Commit Graph

89 Commits

Author SHA1 Message Date
Crypto City
8ceb7f9d70 make this build on windows 2020-06-07 17:21:18 +00:00
Crypto City
65ad6ede62 Add simple support for separate mouse buttons 2020-02-09 04:04:05 +00:00
Crypto City
76de76b4e9 build integration and lumak's urho3d tweaks 2020-01-11 15:09:23 +00:00
Michael Tesch
1579a1f1e1 fix last commit - for plain GL renderer too. 2020-01-03 15:21:51 +01:00
Michael Tesch
a8d64fcc91 cleanup for llvm emscripten, cleanup resources 2019-12-18 15:14:46 +01:00
michael tesch
b0d04f93ef Merge branch 'hastybadger' of github.com:tesch1/turbobadger into hastybadger 2019-11-22 21:22:23 +01:00
michael tesch
e6d65448d6 cleanup some compiler warnings 2019-11-22 21:22:19 +01:00
Michael Tesch
b950317192
Hb skin (#15)
* HB documentation, fixed an nsvg bug

* fix emscripten demo builds

* fix func sig for win/glfw TBDebutOut()
2019-11-22 17:36:17 +01:00
Michael Tesch
ee287b481b
minor code tweak (#13) 2019-11-19 10:50:34 +01:00
Michael Tesch
c23159df2b
Hb cmake2 (#11)
* remove TBSystem::GetRoot.  fix glew header

* make runtime debug info an indepedent setting

* windows build on travis

* fix IOS and macos high-dpi

* fix win+sdl2 combo

* try to auto detect what can be make-all'd
2019-11-14 16:59:54 +01:00
michael tesch
f2e78ccc56 make sure to include glew.h on windows before gl.h 2019-11-14 10:07:19 +01:00
michael tesch
5ef40edf14 use TB_BACKEND_GLFW to identify glfw 2019-11-14 00:01:16 +01:00
michael tesch
486445ce60 stuff for msvc 2019-11-13 21:22:10 +01:00
michael tesch
4e881f2ac7 apparently MSVC doesnt like this 2019-11-13 21:10:59 +01:00
michael tesch
e4d66f9454 get Demo working on iOS 2019-11-13 21:04:29 +01:00
Michael Tesch
00933a86e9
Hb cmake cleanup (#10)
* cleanup build system, modernize cmake

* build glfw and sdl2, w/ or w/o freetype

* fix android demo build

* win32 with CPack has PACKAGE target now

* added GLEW for windows

* bump to SDL2.0.10. fixes for building as subdir

* constexpr is always available these days.

* cleanup getwd() warning. add rpm to ubuntu packages

* dont use add_compile_definitions() for cmake, too new

* add rpm package to travis

* gh release packages

* build demo target on windows

* see if defines not working on winsodw
2019-11-12 15:45:00 +01:00
Michael Tesch
63608b34c6 packaging for hb 2019-11-07 18:23:47 +01:00
Michael Tesch
5ff2f27581 rework glfw and sdl2 libraries, add glfw emscripten build option 2019-11-07 15:35:46 +01:00
Michael Tesch
cd1161c4cf
handle timer interrupt correctly - call processesmessages (#7) 2019-03-29 15:34:55 +01:00
Michael Tesch
ab219147b1 cleanup cmake build & dependency situation 2019-01-30 16:43:32 +01:00
Michael Tesch
06116752c3 fixed emscripten demo 2019-01-25 11:03:26 +01:00
Michael Tesch
ee308dcfb3 emscripben builds 2019-01-24 23:12:45 +01:00
Michael Tesch
7516b95e11 glfw turns q into Q if ctrl is down :-/ 2019-01-24 18:26:32 +01:00
Michael Tesch
00cbaa8781 more build flags, main.cpp 2019-01-24 18:08:53 +01:00
Michael Tesch
b647ebfe5b glfw demo working again 2019-01-24 17:58:54 +01:00
Michael Tesch
558d86d4e1 abstracting backend more 2019-01-24 12:36:21 +01:00
Michael Tesch
86f876d450 cleanup sdl when quitting 2019-01-24 11:46:23 +01:00
Michael Tesch
c050dd78f7 handle control-q as quit in demo, comments 2019-01-24 11:19:18 +01:00
Michael Tesch
1050b6bbd2 fix some types 2019-01-23 14:58:52 +01:00
Michael Tesch
71456eea3e fix demo 2017-10-17 18:44:03 +02:00
michael tesch
50859e14bd handle SDL_TEXTINPUT 2016-09-02 17:50:06 +02:00
Michael Tesch
e88393ce16 redraw on SDL window exposed event 2016-06-22 11:13:48 +02:00
Michael Tesch
77a03fea93 cleanup tabs in sdl port, check if got requested window size 2016-06-16 18:07:56 +02:00
Michael Tesch
50086f3228 remove dependency on c++ stdlib 2016-06-16 17:06:37 +02:00
michael tesch
41c3b0b52f Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-16 12:59:54 +02:00
michael tesch
0e179e4257 let window resize 2016-06-16 12:59:51 +02:00
Michael Tesch
d7bb6ad083 remove emacs file vars 2016-06-16 11:59:25 +02:00
Michael Tesch
e908f6dfb6 enable double buffer 2016-06-14 17:29:21 +02:00
michael tesch
a5552c08ba Merge branch 'master' of github.com:fruxo/turbobadger into demo_sdl2 2016-06-13 19:44:20 +02:00
Emil Segerås
483ec58f5c Use ibeam cursor for edit fields. Fixes #77 2016-06-12 16:36:47 +02:00
michael tesch
7dc22d774b cleanup sdl port, move timer stuff into tb_system_sdl
update some configuration options so that tb can be configured
as a git submodule from an external CMakeLists.txt
2016-06-10 01:05:50 +02:00
michael tesch
6980aaa02c added config options for gl3 and gles renderers 2016-06-08 22:14:28 +02:00
michael tesch
3ccd635824 Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-07 21:18:31 +02:00
michael tesch
39c9984774 fixed continuous update by moving redraw into SDL_USEREVENT handling 2016-06-07 20:17:31 +02:00
Michael Tesch
ec03727f51 comment out debug stmts 2016-06-07 19:27:23 +02:00
michael tesch
fdb86e550d change to fruxo formatting style 2016-06-04 16:55:27 +02:00
michael tesch
7e7d23034c working gl3 render 2016-06-04 16:39:38 +02:00
michael tesch
c4b3301baa start try to add gles2/gl3 render 2016-06-04 04:51:46 +02:00
michael tesch
70b1cc89f4 request correct gl version 2016-06-03 18:33:12 +02:00
Michael Tesch
466e81902a remove some gl stuff from port_sdl2 2016-06-03 18:16:09 +02:00