Commit Graph

1163 Commits

Author SHA1 Message Date
Crypto City
b8578179dc tb_widgets_reader: add text-color property to TBTextField 2020-01-16 13:29:42 +00:00
Crypto City
289bbae20b default_skin: fix invisible caret 2020-01-15 00:01:51 +00:00
Crypto City
37c2b8e330 add text color and italic to TBTextField and TBButton 2020-01-14 22:54:05 +00:00
Crypto City
ddbf594368 switch to freetype renderer 2020-01-14 22:53:41 +00:00
Crypto City
58bdd9eda0 tb_widgets_common: add a text color to TBTextField 2020-01-14 21:03:33 +00:00
Crypto City
725e786a9c tb_select: fast special case for appending a widget when unsorted 2020-01-14 17:46:25 +00:00
Crypto City
d3b11341eb tb_font_renderer_stb: fix Create prototype 2020-01-14 17:46:00 +00:00
Crypto City
efcda08f42 tb_window: allow setting window settings on creation
This bypasses a layout bug when removing the title bar
2020-01-14 12:00:22 +00:00
Crypto City
323ee5179a tb_window: add OnCloseRequest virtual function 2020-01-13 18:46:31 +00:00
Crypto City
889d3dd333 tb_select: pass click count in mouse event 2020-01-13 14:22:35 +00:00
Crypto City
83f231bfe4 remove glfw dependency 2020-01-13 14:09:29 +00:00
Crypto City
be59a1e10a CMakeLists.txt: configure tweaks 2020-01-13 10:44:36 +00:00
Crypto City
76de76b4e9 build integration and lumak's urho3d tweaks 2020-01-11 15:09:23 +00:00
Michael Tesch
557b7f8cd0 detect right GLEW library fro either Win32 or x64 2020-01-09 14:58:51 +01:00
Michael Tesch
5c9842a7d6 update GLEW wrapper to use x64, not Win32 2020-01-09 14:51:01 +01:00
Michael Tesch
13a1ce24cd look for GLEW, then use it. use vs2019. 2020-01-09 14:39:24 +01:00
Michael Tesch
6f52e6e6c7 dont use m_renderer if null 2020-01-03 16:18:51 +01:00
Michael Tesch
1579a1f1e1 fix last commit - for plain GL renderer too. 2020-01-03 15:21:51 +01:00
Michael Tesch
cefb66be99 moved globals in GL renderer into class 2020-01-03 15:11:01 +01:00
Michael Tesch
34e884b375 dont need EVAL_CTORS when using llvm wasm backend 2019-12-18 17:44:35 +01:00
Michael Tesch
4c5aa0dee0 minor CMake cleanup 2019-12-18 15:48:06 +01:00
Michael Tesch
a8d64fcc91 cleanup for llvm emscripten, cleanup resources 2019-12-18 15:14:46 +01:00
Michael Tesch
b9581b4535 fix for emscripten 2019-12-16 19:38:47 +01:00
michael tesch
ae9c28ebab more const-ification. introduce DEFLATE_INFO. 2019-12-09 19:39:57 +01:00
Michael Tesch
444a90b41f added an sdl2 filesystem wrapper 2019-12-05 20:01:14 +01:00
michael tesch
3bd664ec76 turn extra debug messages off 2019-12-02 15:41:20 +01:00
Michael Tesch
4a07ce6f0e compiler warning unused var 2019-11-29 17:27:21 +01:00
michael tesch
f8a24665a8 return the item pointer from TBSelectItem::AddItem, not just bool 2019-11-29 13:05:28 +01:00
Michael Tesch
b72ccfb283 Merge branch 'hastybadger' of github.com:tesch1/turbobadger into hastybadger 2019-11-28 13:27:43 +01:00
Michael Tesch
658d20162c
add TB_LIBSTD, const char * -> TBStr &, fix lib build (#16)
- added an option and some code for better libc++ interoperability,
  mainly auto-conversion of TBStr <-> std::string.
- changed some function args from (const char *) to (const TBStr &)
- be clear about TBID vs CTBID
- fix some build stuff, working toward eliminating build.sh
2019-11-28 13:25:48 +01:00
Michael Tesch
f4223d11f4 remove old comment 2019-11-28 12:23:40 +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
e4a76d4054 minor stuff, include tb_config.h in sources for TurboBadgerLib 2019-11-22 12:30:29 +01:00
michael tesch
604eba58bb cleanup cmake warnings 2019-11-22 01:10:25 +01:00
Michael Tesch
dbbe8a8d1c dont make CMAKE_CXX_FLAGS a CACHE variable 2019-11-21 21:18:02 +01:00
Michael Tesch
3031a49419
mojo to build SDL2 for android as a shared lib (#14)
* mojo to build SDL2 for android as a shared lib

* remove debug junk from thirdparty SDL2 build

* ignore android build dirs
2019-11-21 13:28:12 +01:00
Michael Tesch
7a856c3b53 android: link sdl2 against ndks cpufeatures 2019-11-19 17:33:13 +01:00
Michael Tesch
ee287b481b
minor code tweak (#13) 2019-11-19 10:50:34 +01:00
michael tesch
99f031964b build cleanup, warning cleanup 2019-11-16 21:35:52 +01:00
michael tesch
e0b325a4c5 Merge branch 'hastybadger' of github.com:tesch1/turbobadger into hastybadger 2019-11-16 18:53:23 +01:00
michael tesch
1eff8c5c9f let CMAKE_BUILD_TYPE be empty 2019-11-16 18:52:46 +01:00
michael tesch
9bc35b8e0e cache the glfw download 2019-11-16 14:05:00 +01:00
Michael Tesch
780229467a make SDL2 on android build ok 2019-11-15 17:50:06 +01:00
Michael Tesch
a6a69bc911 Merge branch 'hastybadger' of github.com:tesch1/turbobadger into hastybadger 2019-11-15 17:49:12 +01:00
Michael Tesch
4e11f79905 make SDL2 on android build ok 2019-11-15 17:48:43 +01:00
Michael Tesch
a6271374b4 cleanup config messages, add a line to show how to get SDL hg repo 2019-11-15 17:29:15 +01:00
Michael Tesch
82a123fd7d minor fixes 2019-11-15 15:48:05 +01:00
michael tesch
c68e4ed7bb fix add_resources() to work on directories too 2019-11-15 14:12:35 +01:00