Commit Graph

4329 Commits (895647a240bcdd2342fabdb091cf8b0d74517e3d)
 

Author SHA1 Message Date
omar d963ff13ca Update README.md
omar acc87f7f5e Update README.md
ocornut 6b23fca1ff Speculative build fix for using alloca on PS4 & FreeBSD
ocornut 0a23e2c832 Tabs to spaces
ocornut 980ca286fe Examples: OpenGL2/3: Save/setup/restore viewport as part of render function. Update SDL example to match GL2 one. (fix )
ocornut 6ffe0fddbf Examples: Fixed crash when both buttons are held ()
ocornut 1a42a3f91b Refactor internal SliderBehavior() to take flags instead of a bool.
Sorry!
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.
ocornut e858d229a0 Examples: update all examples with same comment ()
omar d0afb23a3f Merge pull request from dougbinks/master
Font merge demo and documentation minor additions.
Doug Binks e1bc0dd7d5 Font merge demo and documentation minor additions.
Clarifies the lifetime requirements for the ranges parameter for AddFont* functions.
omar 0b0c460324 Travis CI: revert, giving up update for now.
omar 7245599f04 Travis CI: test upgrading to container-based build (3)
omar d86dd37091 Travis CI: test upgrading to container-based build
omar f11adc1c08 Travis CI: test upgrading to container-based build
ocornut 217ef444d4 ColorEdit4: Fixed broken tooltip on hovering the color button (actually fixes , )
ocornut 5f0db60a57 Version number 1.47 WIP
omar 42529f1270 Merge pull request from Gargaj/patch-1
Examples: DirectX9: NULL out font texture on Invalidate so NewFrame() can be called directly without ImGui_ImplDX9_CreateDeviceObjects()
Gargaj e4d916a4b3 NULL out font texture on invalidate
If this isn't done, NewFrame won't re-create the font.
ocornut 72dde4d323 Version 1.46
ocornut fbdcb51dde Fix to allow using SetNextWindow* functions with ImGuiSetCond_Appearing on modal windows ()
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.
ocornut 8b9c0b2545 Tweaks (calling inner SetNext* functions directly from Begin)
ocornut 7a61b7dd57 Renamed Window LastFrameDrawn to LastFrameActive, more correct
ocornut 465e6839a4 ColorEdit4: hovering the color button shows correct alpha (fix )
ocornut 5b7a2149fc ColorConvertFloat4ToU32() round the floats instead of truncating them.
ocornut 43ff5a41be InputText(): always use live input data for display in read-only mode (fix )
ocornut a0d24ac03d Scrollbar: background color less translucent in default style (flattened alpha) so it works better on non-WindowBg colored background.
ocornut 64b6e87f54 Scrollbar: fixed vertical alignment with border + no menu bar (following )
ocornut b090d711e2 InputText: removed the need for text_end pointer in the cursor position calculation loop, allows switching buffers
ocornut 214e87d59c InputText: comments.
ocornut bc34ac882f InputText: added comments and somehow clarified the optimized code that calculate text position + updated demo
ocornut 2b3fb5c0f7 Example: Marmalade: shallow tweaks and cleanups to match ImGui coding style ()
omar 81927b073e Merge pull request from gzito/master
Examples: Added example app for the Marmalade platform.
gzito ba9c469ff0 no message
gzito ebf4f1fa02 no message
gzito 79ca203850 Merge branch 'master' of https://github.com/ocornut/imgui
ocornut 5d53f37a5d Examples: Possibly clarified the intent of imgui_impl_* files.
ocornut 1c69b3d0df Tools: binary_to_compressed_c.cpp: added -nocompress option.
ocornut d4d2e5bc62 Added items to Todo list
ocornut a5c895f791 Added SetClipboardText / GetClipboardText helper shortcuts to match MemAlloc / MemFree
omar 59cedca02e Merge pull request from nguillemot/master
Examples: DirectX11: Fix vertex POSITION format (ImDrawVert::pos is 2D, not 4D)
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.
ocornut a5132286b7 ImDrawList: ChannelsSetCurrent() added an extra assert
ocornut 8eb4df0dd6 Added comments ( )
ocornut 8c5c0c41fc ImDrawList: AddImage() uv parameters default to (0.0) and (1.1)
omar b93e787f51 Merge pull request from richardkogelnig/master
InputText: Fix for not being able to enter certain characters in InputText on german keyboard
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
ocornut fae7b34a3f Fixed bug with handling of malformed utf-8 at the end of a non-zero terminated string range.
gzito 50b25b6c75 Added example for the Marmalade platform
ocornut b8281d96bd Fixed mouse release double-triggering (, )