Commit Graph

7696 Commits (9b59455184194c63d70a065c58b8204a98801847)
 

Author SHA1 Message Date
ocornut 1266e4a181 Added a gratuitous About window
ocornut f7f71043ca InputText: stb_textedit.h tentative fix for End key on multi-line fields ()
omar 98047b1b65 Update README.txt
omar f53d5da0f8 Update README.txt
ocornut d6117e33d0 AddInputCharactersUTF8: shallow tweaks ()
omar bc4ede656b Merge pull request from DanielGibson/utf8-char-input
ImGuiIO::AddInputCharactersUTF8(utf8str), use it in SDL2 example
Daniel Gibson b7d1b91e4b Use ImGuiIO::AddInputCharactersUTF8() in SDL2 example
Now Unicode text input works in this example.
Daniel Gibson be8fb858cc Add ImGuiIO::AddInputCharactersUTF8(char* utf8str)
It'll convert the utf8 string to ImWchar's and passes each of them
to AddInputCharacter().

Very handy for SDL2 SDL_TEXTINPUT events, which provide a buffer with an
UTF-8 string.
omar b4ac413868 Merge pull request from DanielGibson/fix-sdl2-linux
Examples: Fix SDL2 example for Linux.
Daniel Gibson 02a0967243 Fix SDL2-example for Linux
The header is called "SDL_opengl.h" - case matters on Linux.

The main() function must indeed be called main(), on Windows it'll be
renamed to SDL_main (for SDL2main.lib) by #define in SDL_main.h
(which is included by SDL.h)

I added an entry to the example's README that describes how to build
it on Linux.
ocornut 3ff04c95d5 Minor tweaks
omar 52dd99915b Update README.md
ocornut 0f25885b3d Merge branch 'master' of https://github.com/ocornut/imgui
omar 9d4d7f3381 Update README.md
omar 298118fccc New screenshots
ocornut d19d8f40ba Removed web screenshots (moved to wiki repository)
ocornut d170620816 Comments
ocornut 4842ac3bc6 Fonts: added Cousine-Regular.ttf
ocornut 5e846612d3 ImFont: tweaks
ocornut 80276ef07b Fixed ClearInputData()
ocornut 6c3ab6fc9b ImFont: fixed minor bug with CPU-side vertical clipping of text.
ocornut a56768463a Examples: moved demo bits around.
ocornut d750df9189 Fix for Shutdown()
ocornut baa2328b99 Tweak to RenderCheckMark()
ocornut d7a2a23457 Updated to stb_truetype 1.06 ()
ocornut 8081e81e55 Fixed warnings + label
ocornut 1a3ef63132 Fixed parameters array size declaration (wouldn't have a side-effect but weird and misleading)
Thanks Coverity
ocornut 368d2c3568 OverlayDrawList readier for pushing elements (not exposed yet)
ocornut 0224d29a35 Examples: comments.
ocornut 035ff302d2 ImFontAtlas: moved application of FontDataOwnedByAtlas to AddFont()
ocornut 95f489ac1f Merged AA branch in master! ()
ocornut 3e3d9f9a69 ImFontAtlas: allow AddFontDefault to take a config
ocornut 7ad4843f57 Fixed comments
ocornut 99a92ee7c5 Comments (fixed old comments)
ocornut 8952b93b2f Include for alloca()
ocornut fcec337061 Examples: Simplified font examples comments.
ocornut 815168c7ef ImFontAtlas: new AddFont() API, oversampling, subpositiong, merging fonts, etc. (, , , )
ocornut 6ae8062ca0 ImFont: comments, minor bits
ocornut c02f9b58ef ImFont: Cleanup to be compatible with over-sampling (not enabled)
ocornut fc6545830b Examples: displaying more font information.
ocornut faec745438 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut 8cfd963fda Popups: removed an apparently unnecessary test in CloseInactivePopups() that broke Combo boxes inside menus ()
ocornut 355cbf6326 Examples: added tests for Combo box in sub-menu test and MenuItem in a normal window ()
ocornut 52c820e7b0 Metrics: more details in popup stack ()
ocornut ba9317b924 ImFont: storing offsets as X0/Y0/X1/Y1 analoguous to examples for stb_truetype
ocornut 5b053dd350 Fix for OverlayDrawList being ready to append commands (not exposed publicly yet anyway)
ocornut 7eca4e2a7f Merge bits
ocornut fbb9113118 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
Conflicts:
	imgui.cpp
ocornut 4565bf9813 Demo: custom rendering example uses AddRectFilledMultiColor()
ocornut 6520b6c458 ImDrawList: added AddRectFilledMultiColor() helper + minor optimisation.