Branimir Karadžić
b57dadc1b1
Cleanup.
2015-12-30 12:21:28 -08:00
Stephen Hill
e5c2de3d07
Modified imguiBool to return 'changed' state
...
This is useful for logically or-ing the state of several UI elements together to know if any have changed (e.g. because some common action needs to be taken):
uiChanged |= imguiBool(...)
uiChanged |= imguiSlider(...)
...
2015-12-30 14:44:18 -05:00
Branimir Karadžić
fac71e9e35
Fixed issue #569 .
2015-12-08 16:09:30 -08:00
Branimir Karadžić
46822b242a
Updated NanoVG.
2015-12-05 11:00:11 -08:00
Branimir Karadžić
1a3ca7d8ac
ImGui docking fixes.
2015-11-11 16:43:32 -08:00
Branimir Karadžić
822caa88dd
Call ImGui::NewFrame after init.
2015-11-04 11:04:47 -08:00
Branimir Karadžić
69fd07a590
Rebuilt shaders.
2015-10-24 22:47:24 -07:00
Branimir Karadžić
d19ef51930
Fixed VS2008 build.
2015-10-18 19:35:37 -07:00
Branimir Karadžić
44eacd0859
Added ImGui image flags.
2015-10-09 15:37:22 -07:00
Branimir Karadžić
183ed6b73a
Disable debug code.
2015-10-08 23:01:11 -07:00
Branimir Karadžić
6e98bd17b3
ImGui: Docking WIP.
2015-10-08 22:46:17 -07:00
Branimir Karadžić
2ec8cb802b
Cleanup.
2015-10-05 11:36:14 -07:00
Branimir Karadžić
9bf22e0a24
Cleanup.
2015-10-02 21:10:18 -07:00
Branimir Karadžić
5bb5049cf4
Added imgui dock debug code.
2015-10-01 23:00:45 -07:00
Branimir Karadžić
066bf7ced7
Cleanup.
2015-09-30 22:36:56 -07:00
Branimir Karadžić
8ed1052779
Cleanup.
2015-09-30 20:02:59 -07:00
Jonathan Howard
5893fdf20b
fixed segfault in imgui with default allocator
2015-09-30 20:20:04 -04:00
Branimir Karadžić
b220d85bc0
Added ImGui docking.
2015-09-30 16:22:51 -07:00
Branimir Karadžić
d1f99896ec
Moved public header files into bgfx subdirectory.
...
grep -rl '<bgfx.h>' . | xargs sed -i 's@<bgfx.h>@<bgfx/bgfx.h>@g'
2015-09-18 20:19:12 -07:00
Dario Manesku
5086338088
Fixing imgui visible() function.
2015-09-18 11:40:15 +02:00
Branimir Karadžić
96dea0ebfa
Cleanup.
2015-09-10 10:59:19 -07:00
Branimir Karadžić
6e9ed09d19
Rebuilt shaders.
2015-09-03 20:00:15 -07:00
Branimir Karadžić
86ec6b5f90
Cleanup.
2015-09-03 18:33:41 -07:00
Dario Manesku
761a0d5cda
Doing scissor test on CPU to avoid lots of draw calls when elements are in a long list.
2015-09-02 20:21:16 +02:00
Branimir Karadžić
4470f7097c
Fixed HLSL reflection for samplers.
2015-09-01 16:44:11 -07:00
Branimir Karadžić
4018a4b690
imgui: Added handling middle mouse button.
2015-08-25 22:59:20 -07:00
Branimir Karadžić
06624bb7c2
Updated imgui.
2015-08-25 20:44:36 -07:00
Branimir Karadžić
839ef0bcce
asmjs: Building Scintilla.
2015-08-20 21:55:53 -07:00
Branimir Karadžić
cf2cbf61c1
Updated imgui.
2015-08-19 21:51:25 -07:00
Kocsis Attila
5d5df77318
Metal backend: initial commit
2015-08-14 15:12:44 +02:00
Branimir Karadžić
1fa85ccf27
Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats.
2015-07-22 18:05:11 -07:00
Branimir Karadžić
d168bd88f6
Scintilla: Added scroll bar.
2015-07-20 22:08:08 -07:00
Branimir Karadžić
0d6b83055f
Scintilla: Added PageUp/Down support.
2015-07-18 00:30:46 -07:00
Branimir Karadžić
c7ea0a6a97
Scintilla: Fixed char advance.
2015-07-17 20:57:43 -07:00
Branimir Karadžić
a0b2250395
Removed debug code.
2015-07-17 20:20:10 -07:00
Branimir Karadžić
753d6cfe66
Fixed imgui delta time.
2015-07-17 19:57:24 -07:00
Branimir Karadžić
1211286691
Updated imgui.
2015-07-17 19:20:10 -07:00
Branimir Karadžić
ebc5a13ac5
Merge branch 'dev'
2015-07-16 20:38:29 -07:00
Branimir Karadžić
6645401876
Cleanup.
2015-07-16 20:38:22 -07:00
Branimir Karadžić
921a315c4d
Cleanup.
2015-07-16 20:28:43 -07:00
Branimir Karadžić
1cf4f92152
Cleanup.
2015-07-15 10:53:37 -07:00
Branimir Karadžić
af2bb3874d
Manually merged #449 .
2015-07-15 09:52:17 -07:00
Branimir Karadžić
67f7d0a3d6
Cleanup.
2015-06-15 13:12:22 -07:00
ocornut
d9b0daa0bc
Scintilla/imgui: removed getFontInfo(), using data exposed by imgui
2015-06-14 17:31:44 -06:00
Branimir Karadžić
5cbc5d55f4
Cleanup.
2015-06-10 13:21:59 -07:00
Branimir Karadžić
a2716a3fe6
Cleanup.
2015-06-10 09:53:09 -07:00
Branimir Karadžić
cf6bcfa307
Merge pull request #432 from ocornut/imgui_scintilla_fixes
...
ocornut-imgui integrations: mouse wheel, render callbacks, keyboard
2015-06-10 09:20:57 -07:00
ocornut
a3fd7b7132
Fixes for ocornut-imgui integration: keyboard keys, modifiers
2015-06-10 09:03:17 -06:00
ocornut
eccbae09b1
Fixes for ocornut-imgui integrations: mouse wheel, render callbacks
2015-06-10 08:53:50 -06:00
Branimir Karadžić
f0b76697c5
Fixing GCC warnings.
2015-06-09 23:56:30 -07:00
ocornut
4f19cdc436
Fixes for ocornut-imgui integration, handling negative scissor inputs, removed unnecessary vertex count calculation
2015-06-09 15:31:53 -06:00
Branimir Karadžić
a510b8f347
Added Scintilla imgui.
2015-06-08 17:07:35 -07:00
Matthew Endsley
1e604e8f38
VR: Add device resolution to HMD. Init at startup.
...
BREAKING: bgfx::getHMD() now returns a valid pointer
if the VR runtime was initialized. This is different
from existing behavior where getHMD returned NULL until
a bgfx::reset(... BGFX_RESET_HMD) was issued. Applications
must now check HMD::flags for the current state of the VR
runtime. The following code has the code change required:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd)`
becomes:
`const bgfx::HMD* hmd = bgfx::getHMD()
if (NULL != hmd && 0 != (hmd->flags & BGFX_HMD_RENDRERING))
{
// rendering logic
}`
See the updated examples for details.
This allows applications to create the appropriately
sized back buffer for the HMD device by using the new device
resolution fields HMD::deviceHeight and HMD::deviceWidth.
These values report the pixel resolution of the attached
HMD hardware.
This also allows applications to query the reported HMD
resolution immediately after bgfx::init. This prevents
the device from being cycled which generates rendring
artifacts on startup - namely flashing back to a black
screen and reseting the Health+Warning disaply.
This involves initialization the ovrHmd device on
initialization, but deferring rendering until
postReset has been called. This adds an addiional
memory overhead of 32k to builds defining BGFX_CONFIG_USE_OVR.
The overhead for current builds is ~1.9MB for calls to
ovr_Initialize, so the additional overhead is pretty
trivial (+1.8%)
2015-06-03 15:39:09 -07:00
Branimir Karadžić
ce3eded6a3
Fixed imgui font pixel center.
2015-06-03 14:38:00 -07:00
Branimir Karadžić
32750a6824
Removed imgui dependency on input.
2015-06-02 19:25:37 -07:00
Branimir Karadžić
aa99fe1313
Added ocornut-imgui key mapping.
2015-06-02 14:28:22 -07:00
Branimir Karadžić
ff01992cb7
Refactored uniform types.
2015-05-28 15:27:00 -07:00
Branimir Karadžić
f42cee24a6
Rebuilt shaders.
2015-05-25 18:59:39 -07:00
Branimir Karadžić
2e56304280
Fixed leak in single-threaded mode.
2015-05-19 15:52:47 -07:00
Branimir Karadžić
e706260793
Added texture handle passing to ocornut-imgui.
2015-04-23 17:14:29 -07:00
Branimir Karadžić
4098dbb8fb
Fixed GCC warnings.
2015-04-15 20:05:18 -07:00
Branimir Karadžić
5e5a0a8a9e
Added custom allocator to imgui.
2015-04-15 20:00:15 -07:00
Branimir Karadžić
cea3815dff
Fixed HLSL shader stripping.
2015-04-13 12:54:45 -07:00
Branimir Karadžić
dedf75a89b
Rebuilt shaders.
2015-04-12 22:26:40 -07:00
Branimir Karadžić
57cfeffb8d
Rebuilt shaders.
2015-04-11 18:18:43 -07:00
Branimir Karadžić
c7eb016ae0
Rebuilt shaders.
2015-04-10 21:09:46 -07:00
Mike Popoloski
5f4bd7700e
Recompiling shaders. Shouldn't have any effect on runtime behavior.
2015-04-10 22:49:39 -04:00
Branimir Karadžić
1824a3f5bd
Cleanup.
2015-04-08 14:16:02 -07:00
Branimir Karadžić
c85c12b5cd
Fixed variable narrowing warnings.
2015-04-07 17:58:14 -07:00
Dario Manesku
8f31098c40
Fixup for previous commit. This is a better way to do it.
2015-04-05 09:04:16 +02:00
Branimir Karadžić
584baba7d7
Rebuilt embedded shaders.
2015-04-02 23:36:53 -07:00
Branimir Karadžić
85bf5493c3
Updated shaders.
2015-04-02 10:49:41 -07:00
Miodrag Milanovic
5b0fea0052
Reorder warning fix
2015-03-17 11:28:30 +01:00
Dario Manesku
f3c300980d
Imgui separator line can be now aligned.
2015-03-16 14:20:45 +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ć
dd9188e475
Updated ocornut-imgui 1.35.
2015-03-09 11:30:08 -07: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
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
Branimir Karadžić
8790649495
Moved imgui to last view.
2015-02-21 15:51:03 -08:00
Branimir Karadžić
13ac805085
Cleanup.
2015-02-16 21:58:13 -08:00
Dario Manesku
f57c3a3516
Added latlong display type for imguiCube().
2015-02-12 02:50:18 +01:00
Dario Manesku
18307976c8
Added possibility to override imgui malloc/free.
2015-02-08 12:34:06 +01:00
Branimir Karadžić
de81071969
Cleanup.
2015-01-31 22:28:51 -08:00
Branimir Karadžić
a8accf4f98
Removed test window.
2015-01-31 19:28:10 -08:00
Branimir Karadžić
0c77794e24
Updated to ocornut-imgui v1.30.
2015-01-31 19:08:13 -08:00
Branimir Karadžić
6506add5a9
Added embedded font to imgui.
2015-01-23 23:02:56 -08:00
Branimir Karadžić
bbeb0a3ffe
Updated to latest ocornut imgui.
2015-01-22 21:01:09 -08:00
Branimir Karadžić
f6fe2de941
Cleanup.
2015-01-20 21:41:51 -08:00
Branimir Karadžić
76b317256e
Fixed compile warning.
2015-01-19 23:35:49 -08:00
Branimir Karadžić
d5bea0e7fd
Cleanup.
2015-01-19 22:15:50 -08:00
Branimir Karadžić
501d260c3f
Added scissor for ocornut-imgui.
2015-01-19 20:34:54 -08:00
Branimir Karadžić
9e52b1d6d9
imgui: Added ocornut imgui initialization into existing imgui.
2015-01-19 17:16:59 -08:00
Branimir Karadžić
8cd9ecfd18
Cleanup.
2015-01-18 12:58:56 -08:00
Branimir Karadžić
9e34736c49
Moved ocornut-imgui from ProDBG source to examples-common.
2015-01-16 22:41:37 -08:00
Branimir Karadžić
649d7f74d2
Updated copyright year.
2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00
Dario Manesku
5c77bc941f
Changed imguiTabs() active color to be consistent with imguiButton().
2014-12-29 08:48:43 +01:00
Dario Manesku
7b03d93336
Added 1px offset to imguiBorderButton() to fix DX9 drawing problem.
2014-12-29 08:48:43 +01:00
Dario Manesku
528756610b
Added imguiGetWidgetW().
2014-12-24 02:34:06 +01:00
Dario Manesku
67c69d3ba2
Fixing scissor for nvg elements.
2014-12-24 02:34:05 +01:00
Dario Manesku
6ad5c8eb2c
Preventing mouse scroll multiple areas at once and scroll bar scissor problem fixed.
2014-12-14 03:02:32 +01:00
Dario Manesku
a9a2895132
Added 1px to scissor area.
2014-12-14 03:02:31 +01:00
Dario Manesku
815312466c
Draging scroll bars with mouse now behaves more properly.
2014-12-14 03:02:31 +01:00
Dario Manesku
f448f18ae4
Removed code duplication by merging drawRect() and drawRoundedRect().
2014-12-14 03:02:31 +01:00
Branimir Karadžić
878cbd41bd
shaderc: Added shader strip.
2014-12-05 20:28:15 -08:00
Branimir Karadzic
38f340b540
Fixed issue #197 .
2014-12-01 08:21:13 -08:00
Dario Manesku
8777b44e59
NVG now flushes on imguiEndArea().
2014-11-23 01:17:51 +01:00
Dario Manesku
eb2fd71664
Added imguiSetCurrentScissor().
2014-11-23 01:07:58 +01:00
Dario Manesku
116f2179a4
Adding _size parameter for imguiColorWheel.
2014-11-23 00:44:38 +01:00
Dario Manesku
5c5464c381
Making imguiTabs look better when disabled.
2014-11-23 00:13:38 +01:00
Dario Manesku
07b9760583
Turning on nvg scissor in imguiScroll.
2014-11-23 00:12:31 +01:00
Dario Manesku
0d19fe5750
Making imguiCollapse more aesthetically pleasing.
2014-11-22 21:11:31 +01:00
Dario Manesku
1e2bdaf13a
Making imguiImageChannel properly handle newly introduced _enabled parameter.
2014-11-22 20:26:34 +01:00
Dario Manesku
dd06ab01e1
Added _enabled parameter for imguiImage.
2014-11-22 19:51:20 +01:00
Dario Manesku
e126781412
Making imgui scroll behave properly.
2014-11-22 19:51:19 +01:00
Dario Manesku
b9bd605edc
Added overload for imguiTabs() and fixed va_arg warning.
2014-11-20 18:43:27 +01:00
Dario Manesku
950ceee749
Fixing drawing problem.
2014-11-20 18:25:22 +01:00
Branimir Karadzic
00d5f1adcb
Fixed clang warning.
2014-11-19 21:07:32 -08:00
Dario Manesku
7d2ef49435
Changed imguiTabs() api. Now you can set additional 'enabled' flag per tab.
2014-11-19 16:21:02 +01:00
Branimir Karadžić
ff44d73480
Updated NanoVG and Blendish.
2014-11-16 18:59:17 -08:00
Dario Manesku
8e578b3d37
Fixing imgui mouse scroll.
2014-11-14 11:27:17 +01:00
Dario Manesku
c7bd2c5e67
Making imguiCube() align better.
2014-11-10 22:36:38 +01:00
Dario Manesku
be0ec20d79
Cleanup.
2014-11-10 22:36:37 +01:00
Dario Manesku
ea4d52ff46
Added click event for imguiImage().
2014-11-10 22:36:36 +01:00
Dario Manesku
9605583491
Collapse switch for imguiColorWheel() is now always enabeld.
2014-11-10 22:36:36 +01:00
Branimir Karadžić
31efb2991f
Updated to OVR 0.4.3. Added support for event char to read keyboard text input.
2014-11-08 20:57:47 -08:00
Branimir Karadžić
3576434c2b
Fixed cubemap shader.
2014-11-03 22:52:36 -08:00
Branimir Karadžić
c400562d61
HMD fixes.
2014-11-03 19:11:08 -08:00
Branimir Karadžić
62abe9db5e
Cleanup.
2014-10-25 19:16:24 -07:00
Branimir Karadzic
7a829583ce
Removed _USE_MATH_DEFINES.
2014-10-23 21:10:44 -07:00
Branimir Karadžić
4a1a31b538
Updated glsl-optimizer.
2014-10-11 12:32:43 -07:00
Branimir Karadžić
7dd004b82b
NaCl: Fixed compile error due to quad
define in sys/types.h.
2014-10-10 23:36:03 -07:00
Dario Manesku
d25990487e
Added return value for imguiCube().
2014-10-06 07:25:31 +02:00
Branimir Karadžić
cc16fa3aa3
Fixed imguiCube scissor.
2014-10-04 18:11:10 -07:00
Branimir Karadžić
c9614914fd
Rebuilt imgui cubemap shader.
2014-10-03 20:07:38 -07:00
Branimir Karadzic
51268e11a0
Added lod to imgui cubemap shader.
2014-10-03 14:19:39 -07:00
Branimir Karadžić
096f9d2bf9
Cleanup.
2014-10-02 21:35:32 -07:00
Branimir Karadžić
e037b7cc7b
Added missing shader.
2014-10-02 21:29:14 -07:00
Dario Manesku
45a54db6f5
Added imguiCube().
2014-10-03 05:32:22 +02:00
Dario Manesku
9a42955f6e
Added _originBottomLeft parameter for imguiImage().
2014-09-27 20:43:28 +02:00
Dario Manesku
651b5b6fb5
Reordering imgui functions.
2014-09-27 20:43:27 +02:00
Dario Manesku
60f3b73d01
Fixing scroll bug that was introduced with the previous imgui commit.
2014-09-21 12:28:11 +02:00
Dario Manesku
3a1b16f8a5
Major imgui update. Imgui area and scroll are now separated. Also there are other minor aditions and improvements.
2014-09-20 21:39:12 +02:00
Branimir Karadžić
eec4ae9847
Fixing paths.
2014-09-10 21:48:08 -07:00
Branimir Karadžić
66890595b9
Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders.
2014-08-17 17:20:15 -07:00