Commit Graph

5259 Commits (4149d22e852a2556865e6ce9cb50a597cc754e14)
 

Author SHA1 Message Date
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 (, )
ocornut a77e534ded Examples: OpenGL2: Add msys2/mingw64 target ()
omar 379079ac42 Merge pull request from fr500/master
Examples: OpenGL3: Add msys2/mingw64 target.
ocornut 80173fec96 Merge branch 'osman-brian-master'
ocornut edf730b672 Missing tidying up ()
ocornut 48bb3c8026 Merge branch 'master' of https://github.com/osman-brian/imgui into osman-brian-master
ocornut de92bc873f Scrollbar: fixed minor rendering offset when borders are enabled (fix )
omar 0298603040 Update README.md
More begging, still in search for a solution..
ocornut bd78892164 Fixed IsKeyReleased() and IsMouseReleased() returning true on the first frame.
Loosely related to 
ocornut e83b529846 BeginChildFrame() helper has the extra_flags parameter.
ocornut d087671369 HoveredId is set via a SetHoveredID() function. Added HoveredIdAllowHoveringOthers not used by default API.
ocornut 06d594e86b Dummy() create an item so functions such as IsItemHovered() can be used.
ocornut 54805fd22a InputText: fixed crash when passing a buf_size==0 (which can be of use for read-only selectable text boxes) ()
radius a465b2b3d8 add msys2/mingw64 target
ocornut 7508d30b83 ImGuiTextBuffer: added c_str() helper.
omar 69678d1ed2 Merge pull request from orthographic-pedant/spell_check/accommodate
Fixed typographical error, changed "accomodate" to "accommodate" in README.
ocornut e031fe484c Added ImGuiWindowFlags_NoBringToFrontOnFocus behavior.
osman-brian 69e6f299f3 Update imgui_draw.cpp
Fix Decode85 on big-endian systems.
ocornut c1983d5c3f Draw: Fixed rectangle rendering glitches with width/height <= 1/2 and rounding enabled.
ocornut f21fda1231 Scrollbar: Tweaked scrollbar inner padding for small scrollbars.
ocornut 6e4d959953 Window: fixed window lower-right clipping limit so it plays more friendly with both OpenGL and DirectX coordinates.
Not sure about this. Hmm.