Commit Graph

763 Commits (7e297945c3b3d2c742cfb3b30f0d46c262a265f7)
 

Author SHA1 Message Date
omar e19f0d370a Added dummy IMGUI_API definition in front of entry-points for silly DLL action
omar 6c192f3221 Added GetContentRegionMax() supporting columns. Some bug fixes with using columns.
omar 78645a7dba Added word-wrapping API TextWrapped(), PushTextWrapPos(), PopTextWrapPos()
Added word-wrapping sample in the test window.
Added IsItemFocused() to tell if last widget is being focused for keyboard input.
ocornut 74363c5a43 Fixed column using a "funny scale factor" (non power of two)
ocornut 0b10cf4bd7 Fixed some typos in comments
ocornut 3d84858755 Made with the NoResize flag can still use auto-fitting. Added SetWindowSize().
ocornut fad5e45d2c Minor tweaks
omar 05a3a9b962 Merge pull request from JarrettBillingsley/master
Added callback versions of PlotLines/PlotHistogram
Jarrett Billingsley 85eee4a4c5 Added overloads of ImGui::PlotLines and ImGui::PlotHistogram which take a value getter function instead of raw value data, and changed the implementation of the original overloads to use this new implementation.
Jarrett Billingsley 4c4798546e Merge pull request from ocornut/master
GCC warning fix
ocornut f768579377 GCC warning fix
ocornut e6eafd6fa8 Fixed warnings for GCC -Wpedantic
omar 1037bacc4b Version number
omar 89a412690c Added comment on return value of Begin()
omar af37fb1ee7 Added GetWindowFont(), GetWindowFontSize() + comments following user's feedback
ocornut 9f05a2bb16 Fixed unlikely buffer overrun in InputCharacters (thanks Daniel Collin)
ocornut 48a944813c Moved UserData
ocornut 1d9a4748de Added a UserData void *pointer so that the callback functions can access user state
"Just in case a project has adverse reactions to adding globals or
statics in their own code."
omar 36212b9ad9 Merge pull request from seanmiddleditch/master
64-bit fixes
Sean Middleditch bebadb9012 64-bit fixes
`int` values are not the same thing as `size_t` nor `ptrdiff_t`. Convert incorrect uses of `int` to more appropriate types.

Fixes warnings for 64-bit compilations.
ocornut 530e746daa Renamed IMGUI_INCLUDE_IMGUI_USER_CPP to IMGUI_INCLUDE_IMGUI_USER_INL (more IDE friendly)
ocornut ce481ec702 SetKeyboardFocusHere() allow for an offset to access sub components + comments
ocornut f1ea630dd0 SetKeyboardFocusHere() sets focus on next widget instead of previous + works on tabbing-disabled widgets
ocornut ffc8264e9d Added SetKeyboardFocusHere() to set focus from code. Fixed tabbing through tab-disabled fields.
ocornut ec625b7c49 OpenGL/DirextX examples: comments and tweaks.
ocornut f86286548e OpenGL example: Tentative fix for missed tap-to-click events on MacBook trackpad
omar 7751ce0a69 Merge pull request from TS-RTX1911/master
opengl_example shared makefile for Linux and MacOSX
Tomoki SHISHIKURA (RTX-M7) 9bb95db68a opengl_example makefile cross platform supported.
omar 0a8acf241c Update README.md
omar c388c7e6eb Update README.md
omar 088df3d1ba Update README.md
omar 09fae1c209 Update README.md
ocornut 016dbb7472 Added screenshot for website
ocornut 6ec65c46aa Added M+ font extra_fonts/ for Japanese text
ocornut 0fa3d6e25f Version number and font documentation
ocornut f898e658bb Added IO.FontFallbackGlyph (default to '?') + UTF-8 test in demo window
ocornut 22fe7f23b1 OpenGL example: minor tweak for non-default font.
ocornut b756510f21 Fix stb_image to load 1/2/4 bpp PNG (unofficial fix, submitted as PR)
ocornut b6ac371496 Warning fix
ocornut 81b9480413 Speculative warning fixes
ocornut b9d9f62ae3 OpenGL example: updated stb_image to 1.46
ocornut 4b94454fb4 OpenGL/DirectX examples: support for international text input in UTF-8 + implement ImeSetInputScreenPosFn on Windows.
ocornut b86505bf2f Support for international text input in UTF-8. Added ImeSetInputScreenPosFn(). Removed text_end parameter from SetClipboardTextF
ocornut df1c056c88 OpenGL example: added commented code to load custom font from filesystem
ocornut eb1b9d4521 Revert erroneous commit
ocornut d35ceb793e OpenGL example: added commented code to load custom font from filesystem
ocornut a61b92f362 Merge branch 'master' of https://github.com/ocornut/imgui
ocornut 51bbe1d961 Handle UTF-8 decoding for rendering and text size calculation
omar e4d4dae3bf Merge pull request from ybunyak/master
Fix build errors
Yaroslav Bunyak bd3c53754d Fix build errors.