Commit graph

781 commits

Author SHA1 Message Date
Matthew Endsley
79e4695b70 Fix C99 example for MSVC toolchains
The existing code is valid C99, however there only C99
specific feature used that is incompatible with the
MSVC C compiler is the relaxed variable declaration rules.
2015-03-27 21:29:55 -07:00
Branimir Karadžić
095603f6c5 Fixed build. 2015-03-26 15:04:09 -07:00
Branimir Karadžić
a797b00a7f Updated GLFW entry to test for exit. 2015-03-25 19:43:12 -07:00
Branimir Karadžić
0da6c77806 Added glfw entry. 2015-03-24 22:19:21 -07:00
Branimir Karadžić
741a2692e9 Updated .gitignore. 2015-03-22 16:23:17 -07:00
Branimir Karadžić
f5afbffe64 Fixed compiler warning. 2015-03-21 18:14:35 -07:00
Branimir Karadžić
5f29eb480d Fixed issue #296. 2015-03-19 09:31:46 -07:00
Branimir Karadžić
c20ec0449c Added C99 API example. 2015-03-18 16:23:38 -07:00
Miodrag Milanovic
5b0fea0052 Reorder warning fix 2015-03-17 11:28:30 +01:00
Branimir Karadžić
a1400dc590 SDL: WIP text input event. 2015-03-16 22:23:06 -07:00
Branimir Karadžić
cacc99fc63 Fixed texture leak in 08-update example. 2015-03-16 18:49:41 -07:00
Branimir Karadžić
68810fbc8a Merge branch 'master' of github.com:bkaradzic/bgfx 2015-03-16 16:48:54 -07:00
Branimir Karadžić
4c9a0ec240 Added 3D texture test to 08-update example. 2015-03-16 16:48:46 -07:00
Dario Manesku
acd4dedfe1 Added mouse scroll support to entry_sdl. 2015-03-16 15:19:35 +01:00
Dario Manesku
f3c300980d Imgui separator line can be now aligned. 2015-03-16 14:20:45 +01:00
Dario Manesku
7c188f4e0e Fixing EXC_BAD_ACCESS error. 2015-03-16 14:12:37 +01:00
Dario Manesku
4360841989 Imgui can be now downscaled to fit small resolution screens. 2015-03-16 13:59:28 +01:00
Dario Manesku
831682d542 Fixing imgui area stencil problem. ImguiDrawText now also draws outside of imgui area. 2015-03-14 13:33:40 +01:00
Dario Manesku
a7dc166ed1 Don't show imgui test window all the time. 2015-03-12 20:34:19 +01:00
Dario Manesku
5cca4686e2 NVG now uses same viewId as imgui. 2015-03-12 20:28:07 +01:00
Branimir Karadžić
6eafd8b137 Cleanup. 2015-03-11 23:30:41 -07:00
Branimir Karadžić
b8f2b24a82 Fixed VS2013 warnings. 2015-03-11 22:45:34 -07:00
Branimir Karadžić
dd9188e475 Updated ocornut-imgui 1.35. 2015-03-09 11:30:08 -07:00
Dario Manesku
4c2a653de6 Removing minimal window size limit from entry-sdl. 2015-03-09 04:03:15 +01:00
Dario Manesku
9ea92d4a47 Added char events for entry-sdl. 2015-03-09 03:53:08 +01:00
Dario Manesku
205fa041e9 Cleanup. 2015-03-09 03:53:08 +01:00
Dario Manesku
633ea3f211 Added missing toggleFullscreen() in entry_windows.cpp. 2015-03-08 06:36:44 +01:00
Branimir Karadžić
6683df3a8c SDL: Fixed compile error. 2015-03-07 22:25:06 -08:00
Dario Manesku
ccb95fc3d9 Fixup for previous commit. 2015-03-08 03:10:25 +01:00
Dario Manesku
f9750906c0 Fixing mouse input in fullscreen mode. 2015-03-08 03:03:55 +01:00
Dario Manesku
b46aadcaf7 Init window in the center of the screen. 2015-03-08 02:59:16 +01:00
Dario Manesku
2443718b9f Fixup for previous commit. 2015-03-08 01:17:49 +01:00
Dario Manesku
81b9086de5 If some key modifiers are pressed other than shift, send postKeyEvent(). 2015-03-08 01:03:51 +01:00
Dario Manesku
7bc7b9f329 Changed mouse modifier from shift to command. 2015-03-08 00:29:52 +01:00
Dario Manesku
6935ead3e6 Implemented existing OSX window commands + added toggleFullscreen(). 2015-03-07 23:39:04 +01:00
Dario Manesku
52008569ef Get mouse position only once and store it. 2015-03-06 02:35:04 +01:00
Dario Manesku
c5943ded12 Make sure mouse button state is 'up' after window resize. 2015-03-06 02:35:04 +01:00
Dario Manesku
f47bd56d52 Fixing content display on window resize. 2015-03-06 02:35:04 +01:00
Dario Manesku
382c0b685b Calling postExitEvent() for Meta+Q as in other entries. 2015-03-06 02:35:03 +01:00
Dario Manesku
701cd3b3c9 Adding postCharEvent() to OSX entry. 2015-03-06 02:35:03 +01:00
Dario Manesku
a96ba40b03 Imgui input now accepts, and interprets in the same way, 'delete' and 'backspace'. 2015-03-06 02:35:03 +01:00
Dario Manesku
97e9d2db6c Temporary solution for middle click. 2015-03-06 02:35:03 +01:00
Dario Manesku
9a23cf7b42 OSX prefers scroll be implemented this way. 2015-03-06 02:35:03 +01:00
Branimir Karadžić
6b7739660c Removed useless code from example. 2015-03-05 09:19:33 -08:00
Dario Manesku
ef9c989c14 Added mouse scroll support for OSX. 2015-03-05 03:37:20 +01:00
Dario Manesku
5453b2cf40 Fixed mouse scroll value on Windows. 2015-03-02 16:08:01 +01:00
Dario Manesku
2d7b134b3b Added support for mouse scroll. 2015-03-02 16:08:01 +01:00
Dario Manesku
2e9199e365 ImguiBorderButton was one pixel short in height. 2015-02-23 22:11:27 +01:00
Dario Manesku
4e9d06b207 Rotated latlong preview by 90 deg. 2015-02-23 20:52:54 +01:00
Dario Manesku
8351d6dce2 Cleanup 2015-02-23 20:52:54 +01:00