ocornut
1a42a3f91b
Refactor internal SliderBehavior() to take flags instead of a bool.
Sorry!
9 years ago
ocornut
3eabad0321
Refactor - Internal ButtonBehavior() removed unnecessary boolean arg, merged into flags using ImGuiButtonFlags_NoKeyModifiers.
This is quite a risky change frankly but I'd rather refactor sooner than
later. Hopefully few people are using the internal functions.
9 years ago
ocornut
e858d229a0
Examples: update all examples with same comment ( #389 )
9 years ago
omar
d0afb23a3f
Merge pull request #389 from dougbinks/master
Font merge demo and documentation minor additions.
9 years ago
Doug Binks
e1bc0dd7d5
Font merge demo and documentation minor additions.
Clarifies the lifetime requirements for the ranges parameter for AddFont* functions.
9 years ago
omar
0b0c460324
Travis CI: revert, giving up update for now.
9 years ago
omar
7245599f04
Travis CI: test upgrading to container-based build (3)
9 years ago
omar
d86dd37091
Travis CI: test upgrading to container-based build
9 years ago
omar
f11adc1c08
Travis CI: test upgrading to container-based build
9 years ago
ocornut
217ef444d4
ColorEdit4: Fixed broken tooltip on hovering the color button (actually fixes #373 , #380 )
9 years ago
ocornut
5f0db60a57
Version number 1.47 WIP
9 years ago
omar
42529f1270
Merge pull request #378 from Gargaj/patch-1
Examples: DirectX9: NULL out font texture on Invalidate so NewFrame() can be called directly without ImGui_ImplDX9_CreateDeviceObjects()
9 years ago
Gargaj
e4d916a4b3
NULL out font texture on invalidate
If this isn't done, NewFrame won't re-create the font.
9 years ago
ocornut
72dde4d323
Version 1.46
9 years ago
ocornut
fbdcb51dde
Fix to allow using SetNextWindow* functions with ImGuiSetCond_Appearing on modal windows ( #377 )
Also affect other popups which called FindBestPopupWindowPos() on their
second frame but it most often acts as a no-op but it wouldn't be
noticeable.
9 years ago
ocornut
8b9c0b2545
Tweaks (calling inner SetNext* functions directly from Begin)
9 years ago
ocornut
7a61b7dd57
Renamed Window LastFrameDrawn to LastFrameActive, more correct
9 years ago
ocornut
465e6839a4
ColorEdit4: hovering the color button shows correct alpha ( fix #373 )
9 years ago
ocornut
5b7a2149fc
ColorConvertFloat4ToU32() round the floats instead of truncating them.
9 years ago
ocornut
43ff5a41be
InputText(): always use live input data for display in read-only mode ( fix #360 )
9 years ago
ocornut
a0d24ac03d
Scrollbar: background color less translucent in default style (flattened alpha) so it works better on non-WindowBg colored background.
9 years ago
ocornut
64b6e87f54
Scrollbar: fixed vertical alignment with border + no menu bar (following #365 )
9 years ago
ocornut
b090d711e2
InputText: removed the need for text_end pointer in the cursor position calculation loop, allows switching buffers
9 years ago
ocornut
214e87d59c
InputText: comments.
9 years ago
ocornut
bc34ac882f
InputText: added comments and somehow clarified the optimized code that calculate text position + updated demo
9 years ago
ocornut
2b3fb5c0f7
Example: Marmalade: shallow tweaks and cleanups to match ImGui coding style ( #375 )
9 years ago
omar
81927b073e
Merge pull request #375 from gzito/master
Examples: Added example app for the Marmalade platform.
9 years ago
gzito
ba9c469ff0
no message
9 years ago
gzito
ebf4f1fa02
no message
9 years ago
gzito
79ca203850
Merge branch 'master' of https://github.com/ocornut/imgui
9 years ago
ocornut
5d53f37a5d
Examples: Possibly clarified the intent of imgui_impl_* files.
9 years ago
ocornut
1c69b3d0df
Tools: binary_to_compressed_c.cpp: added -nocompress option.
9 years ago
ocornut
d4d2e5bc62
Added items to Todo list
9 years ago
ocornut
a5c895f791
Added SetClipboardText / GetClipboardText helper shortcuts to match MemAlloc / MemFree
9 years ago
omar
59cedca02e
Merge pull request #371 from nguillemot/master
Examples: DirectX11: Fix vertex POSITION format (ImDrawVert::pos is 2D, not 4D)
9 years ago
Nicolas Guillemot
509ac33abe
fix POSITION format (ImDrawVert::pos is 2D, not 4D)
the inputlayout incorrectly described the POSITION attribute as being
4D, while ImDrawVert::pos is 2D. This went unnoticed because the buffer
binding has a stride of sizeof(ImDrawVert) and the POSITION is treated
as a float2 in the vertex shader. If you switch POSITION to float4 in
the vertex shader (and actually use the z/w in the matrix
multiplication) then everything become wacky-looking since it's
interpreting the texture coordinates as z/w. On a similar note: It's
weird that the projection matrix takes z and w into consideration when
those don't exist in the shader due to positions being float2s.
9 years ago
ocornut
a5132286b7
ImDrawList: ChannelsSetCurrent() added an extra assert
9 years ago
ocornut
8eb4df0dd6
Added comments ( #369 #370 )
9 years ago
ocornut
8c5c0c41fc
ImDrawList: AddImage() uv parameters default to (0.0) and (1.1)
9 years ago
omar
b93e787f51
Merge pull request #369 from richardkogelnig/master
InputText: Fix for not being able to enter certain characters in InputText on german keyboard
9 years ago
richardk
8a6bde3527
Fix for AltGR being send as Ctrl&Alt on german keyboards. Don't consume characters if CTRL key press is detected AND ALT key press is detected in Imgui::InputTextEx
9 years ago
ocornut
fae7b34a3f
Fixed bug with handling of malformed utf-8 at the end of a non-zero terminated string range.
9 years ago
gzito
50b25b6c75
Added example for the Marmalade platform
9 years ago
ocornut
b8281d96bd
Fixed mouse release double-triggering ( #359 , #362 )
9 years ago
ocornut
a77e534ded
Examples: OpenGL2: Add msys2/mingw64 target ( #361 )
9 years ago
omar
379079ac42
Merge pull request #361 from fr500/master
Examples: OpenGL3: Add msys2/mingw64 target.
9 years ago
ocornut
80173fec96
Merge branch 'osman-brian-master'
9 years ago
ocornut
edf730b672
Missing tidying up ( #358 )
9 years ago
ocornut
48bb3c8026
Merge branch 'master' of https://github.com/osman-brian/imgui into osman-brian-master
9 years ago
ocornut
de92bc873f
Scrollbar: fixed minor rendering offset when borders are enabled ( fix #365 )
9 years ago