michael tesch
222924aefd
comment out debug code
2016-06-04 17:43:41 +02:00
michael tesch
2abaf66743
remove debugging stmts, fixed rsync for resources
2016-06-04 17:36:26 +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
Emil Segerås
7501b4fbfd
Run FileOptimizer on default skin & font bitmaps.
2016-06-03 21:04:17 +02:00
Emil Segerås
3060857345
Merge pull request #73 from mgerhardy/patch-1
...
fixed compilation with gcc 6.1.1
2016-06-03 21:02:49 +02:00
michael tesch
70b1cc89f4
request correct gl version
2016-06-03 18:33:12 +02:00
michael tesch
8e66c06239
Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2
2016-06-03 18:16:19 +02:00
Michael Tesch
466e81902a
remove some gl stuff from port_sdl2
2016-06-03 18:16:09 +02:00
michael tesch
658b80b69e
Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2
2016-06-03 18:08:48 +02:00
michael tesch
1606beb3ff
fixed glfw build
2016-06-03 18:07:46 +02:00
Michael Tesch
fa07e3ec1b
compiles, doesnt draw
2016-06-03 18:07:23 +02:00
michael tesch
85ebe8b584
start of sdl2 demo app port
2016-06-03 12:12:05 +02:00
Martin Gerhardy
edc090368e
fixed compilation with gcc 6.1.1
...
```
from /home/mgerhardy/turbobadger/tb/tb_image_loader_stb.cpp:30:
/usr/include/c++/6/cstdlib:124:11: error: ‘::div_t’ has not been declared
using ::div_t;
^~~~~
/usr/include/c++/6/cstdlib:125:11: error: ‘::ldiv_t’ has not been declared
using ::ldiv_t;
^~~~~~
/usr/include/c++/6/cstdlib:127:11: error: ‘::abort’ has not been declared
using ::abort;
^~~~~
/usr/include/c++/6/cstdlib:128:11: error: ‘::abs’ has not been declared
using ::abs;
^~~
/usr/include/c++/6/cstdlib:129:11: error: ‘::atexit’ has not been declared
using ::atexit;
^~~~~~
/usr/include/c++/6/cstdlib:132:11: error: ‘::at_quick_exit’ has not been declared
using ::at_quick_exit;
^~~~~~~~~~~~~
/usr/include/c++/6/cstdlib:135:11: error: ‘::atof’ has not been declared
using ::atof;
^~~~
/usr/include/c++/6/cstdlib:136:11: error: ‘::atoi’ has not been declared
using ::atoi;
^~~~
/usr/include/c++/6/cstdlib:137:11: error: ‘::atol’ has not been declared
using ::atol;
```
2016-06-02 14:07:28 +02:00
Emil Segerås
0d02f3a3ad
Merge pull request #55 from jaynus/master
...
Initial implementation of "modern" CMake system
2016-03-07 09:24:09 +01:00
Emil Segerås
037c8aed9b
Merge pull request #64 from fungos/master
...
Fixes cross-compilation with Google's Native Client toolchain
2016-02-21 20:03:34 +01:00
Danny Angelo Carminati Grein
442eea2d9b
Fixes compilation for cross-compilation with Google's Native Client
...
toolchain.
2016-02-20 20:31:13 -05:00
Emil Segerås
d1aff4af9a
Added missing TB_RENDERER_GL ifdef. Fixes #61
2016-02-13 14:34:51 +01:00
Emil Segerås
97059bb2cb
Merge pull request #59 from Cleroth/pull_requests
...
Use constexpr in MSVC2015+
Macros need to use namespace as they're not actually in the namespace
2016-02-07 14:18:59 +01:00
Cleroth Sun
e4dbfdeef3
Use constexpr in MSVC2015+; Macros need to use namespace as they're not actually in the namespace
2016-02-06 18:27:41 +01:00
Walter Pearce
e6e9bd6af9
Initial implementation of "modern" CMake system.
...
- the option of configuring tb_config.h via the Cmake options, optionally setting some
- Fixed TB overriding target paths and made it optional for demo. Building in source dir is bad.
- Provides proper install targets
2016-01-10 22:24:30 -08:00
Emil Segerås
084a3f3ab8
Fixed endless focus loop. Fixes #52
2016-01-08 20:36:17 +01:00
Emil Segerås
487dd0f248
Fixed typo in SetVisibility. Fixes #51 .
2015-12-16 19:14:34 +01:00
Emil Segerås
10c7361c68
Merge pull request #48 from rongzhou/master
...
Cleanup unnecessary comma
2015-11-02 17:26:15 +01:00
rongzhou
ccc8b310d2
Cleanup unnecessary comma
2015-11-01 16:45:09 -08:00
Emil Segerås
e65907488c
Fixed keyboard shortcuts on linux.
2015-07-26 09:57:44 +02:00
Emil Segerås
78f44600fc
Merge branch 'glfw_3_1_1'
2015-07-26 09:40:54 +02:00
Emil Segerås
ec844e8cc7
Fixed keyboard shortcuts on osx.
...
Something changed once again in the new glfw version.
2015-07-26 09:32:45 +02:00
Emil Segerås
2f51f25369
Refactorized demo platform integration to better suit game loops.
...
Makes it easier to reuse the demo platform glue for other projects.
Especially game loops or platforms where rendering is set up in a
different order.
TB API change: Removed language file path from tb_core_init.
g_tb_lng->Load should be called manually after tb_core_init instead.
2015-07-02 14:27:53 +02:00
Emil Segerås
3e6464d1db
Compile fixes for new toolchains on Android
2015-07-02 14:12:00 +02:00
Emil Segerås
5596f37f84
Modified and moved comment.
2015-07-01 14:10:56 +02:00
Emil Segerås
91912d3ffe
Merge pull request #36 from LittleCodingFox/master
...
Added PointerUp/Down consume support
2015-07-01 13:50:40 +02:00
Emil Segerås
b82514cc34
Use TBTempBuffer instead of manual deallocation. Fixes #33
...
Also cleaned up unused code.
2015-07-01 13:47:30 +02:00
Emil Segerås
a2cabbb731
Make the demo find resources on os x.
2015-06-26 20:06:50 +02:00
Emil Segerås
e1100986d7
If no group root is found, use absolute root.
2015-06-25 19:48:07 +02:00
Emil Segerås
26af4e9aca
Added group-id support for TBButton.
2015-06-25 19:48:06 +02:00
Emil Segerås
18edf36e7c
Renamed & made ToggleGroup public as UpdateGroupWidgets.
2015-06-25 19:48:06 +02:00
Emil Segerås
31aa2f1359
Upgraded to glfw 3.1.1 for demo
2015-06-25 19:48:00 +02:00
Emil Segerås
101ec6731f
Added getter for skin fragment manager.
...
So external code can add more fragments in the same fragment
manager (and improve batching).
2015-05-14 09:21:26 +02:00
Emil Segerås
36c1f30b81
Merge pull request #38 from l0calh05t/master
...
64-bit build fix
2015-05-02 09:34:31 +02:00
l0calh05t
79723345bc
64-bit build fix
2015-04-29 23:15:36 +02:00
Nuno Silva
08062f0227
Added PointerUp/Down consume support;
2015-02-02 16:30:17 +00:00
Emil Segerås
4105bc5aec
Cleanup linux ifdef in glfw port
2014-12-30 13:25:00 -08:00
Emil Segerås
60f387eec9
Added support for local node value references.
...
It's sometimes much more convenient to be able to look up
values locally instead of from other trees or including local
node branches.
2014-12-18 14:18:24 -08:00
Emil Segerås
41e7dcc5bc
Added some more predefined keyboard shortcuts.
2014-11-02 18:54:15 +01:00
Emil Segerås
305fc9e76d
Moved child index methods to TBWidget from TBTabContainer.
2014-11-02 18:26:46 +01:00
Emil Segerås
f2eb845f72
Use visibility for pages in TBTabContainer.
...
Instead of using opacity.
Also implement SetValue/GetValue for current page.
2014-11-01 21:32:29 +01:00
Emil Segerås
579174ef5f
Added OnVisibilityChanged
2014-11-01 21:32:28 +01:00
Emil Segerås
97b3fcce0e
Fix for starting demo on osx.
2014-11-01 17:03:28 +01:00