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
Emil Segerås
e65907488c
Fixed keyboard shortcuts on linux.
2015-07-26 09:57:44 +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
a2cabbb731
Make the demo find resources on os x.
2015-06-26 20:06:50 +02:00
l0calh05t
79723345bc
64-bit build fix
2015-04-29 23:15:36 +02:00
Emil Segerås
4105bc5aec
Cleanup linux ifdef in glfw port
2014-12-30 13:25:00 -08:00
Emil Segerås
41e7dcc5bc
Added some more predefined keyboard shortcuts.
2014-11-02 18:54:15 +01:00
Emil Segerås
97b3fcce0e
Fix for starting demo on osx.
2014-11-01 17:03:28 +01:00
Emil Segerås
d591064627
Refixed #10 .
...
LINUX isn't defined anymore.
2014-11-01 13:04:31 +01:00
nsf
5156739fe6
Silence unused function warning in glfw portion of the demo app.
...
This function needs to be defined only starting from a certain version of the
GLFW, where it can actually be used. It's the drag'n'drop functionality.
2014-10-01 15:55:55 +06:00
Michel Paulissen
18d06ca00b
Handling the keypad enter in port_glfw
...
Support for horizontal mouse scroll in tb_scroll_container
2014-09-16 10:59:14 +02:00
Emil Segerås
9fc99185ff
Simplify include directories for demo.
2014-08-19 21:05:22 +02:00
Emil Segerås
8cac9c9eb8
Added configuration defines for default platform implementations.
...
Makes it easier to control stuff using a shared build system.
2014-07-25 21:26:11 +02:00
Emil Segerås
45de1c3be0
Fix for broken rendering after minimizing window in Demo on windows.
2014-05-20 21:56:28 +02:00
Emil Segerås
29f0f68b45
Workaround for glfw keyboard issue on linux.
...
Fixed issue #10
2014-05-18 21:46:55 +02:00
Emil Segerås
3d8843acd7
Fixed shortcut keys on osx.
2014-04-26 20:18:45 +02:00
Emil Segerås
ebd3d111f0
Added EVENT_TYPE_FILE_DROP, and CUSTOM.
...
Extend TBWidgetEvent by making it a TBTypedObject instead of adding even
more to it. Should perhaps refactorize it, but that will require lots of changes.
Implemented EVENT_TYPE_FILE_DROP for upcoming version of glfw (not used yet).
2014-04-21 13:48:08 +02:00
Emil Segerås
dcff225d04
Worked around bad scheduling in windows demo backend.
2014-03-02 21:45:58 +01:00
Emil Segerås
47636e061a
Fix timer reschedule bug in demo app.
...
When non-delayed messages where fired repeatedly, the
reschedule method didn't schedule after the first time.
2014-03-02 21:45:07 +01:00
Emil Segerås
bc3d360b03
Renamed project namespace.
2014-01-16 21:03:56 +01:00
Emil Segerås
c711425946
Renamed project in resources & documentation.
2014-01-16 21:03:10 +01:00
Emil Segerås
d17cf8e661
Renamed methods for core init/shutdown.
2014-01-16 21:03:07 +01:00
Emil Segerås
2dcc17500a
Make TBAnimationManager the entry point for animation methods.
2014-01-08 21:19:51 +01:00
Emil Segerås
c3b3b3fe0c
Moved animation files to tinkerbell core.
2014-01-07 21:26:01 +01:00
Emil Segerås
cb26d88c9f
Renamed widget animation objects.
...
Should be preceeded with TB.
2014-01-07 21:00:16 +01:00
Emil Segerås
62c1265a89
Fixed some incorrect data type conversions.
2013-12-09 20:39:28 +01:00
Emil Segerås
aa28bfb27a
Avoid glfw typing bug on osx.
...
There's several bugs left though.
Hopefully fixed in upcoming glfw releases.
2013-08-09 10:27:19 +02:00
Emil Segerås
a54be1bc5a
Removed compilation warning.
2013-08-08 11:02:21 +02:00
Emil Segerås
961164d261
Fixed key combinations for linux & mac.
...
GLFW is now consistent across platforms and the WIN32 ifdef can be removed.
Also use the new window user pointer instead of global backend pointer.
2013-08-08 10:07:32 +02:00
Emil Segerås
a836d60619
Fixed key press repeat.
2013-08-07 20:24:29 +02:00
Emil Segerås
1660f57197
Updated to glfw 3.0.1 and fixed compilation errors.
2013-08-07 20:24:29 +02:00
Emil Segerås
c0241d173e
Added touch event emulation to glfw demo app to make testing easier.
2013-07-10 21:05:56 +02:00
Emil Segerås
8c25e04e39
Major improvements to pointer/touch input:
...
List of changes:
-Refactorized virtual scroll methods and introduced virtual GetScrollInfo.
-Added TBScroller to do slow down scroll after panning.
-Added TBScrollerSnapListener for snapped smooth scrolling.
-Added keyboard scroll support in TBScrollContainer and TBSelectList.
-Added possibility to cancel EVENT_TYPE_CLICK for current touch (stopping scroll should not cause click)
-Added flag to TBWidgetEvent to distinguish cursor base pointer events from touch events (Fixes issue #2 ).
--Pan TBEditField on touch pointer events instead of doing selection scroll.
--Touch events should not result in setting the hover state automatically.
2013-07-10 21:03:44 +02:00
Emil Segerås
9e854aea21
Fixed gcc compile warning and issue reported by valgrind.
2013-01-19 10:59:38 +01:00
Emil Segerås
9c4f472ea4
Added EVENT_TYPE_SHORTCUT and moved shortcut keybindings to platform code.
2012-11-28 20:45:58 +01:00
Emil Segerås
bd306a80a7
Init animation manager automatically from Application integration and added AnimationBlocker.
2012-11-13 22:04:32 +01:00
Emil Segerås
9a7968cc07
Move demo & integration files to more suitable folders.
2012-11-13 18:25:41 +01:00