18 Commits (35085a448069df015d48a8d2c7179876f0f5f934)

Author SHA1 Message Date
ocornut 217a6c875a Examples: OpenGL: Tentative fix for miscaled call to glViewport on high-DPI screens (#441)
Fix for 980ca286fe
9 years ago
ocornut 6cee2fca94 Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway). Effectively fix resizing in DX examples.
+ Standardized comments.
9 years ago
ocornut 6800939e73 Examples: Header comments. 9 years ago
zryan3 aa6cb32bd4 fixed text referencing GLFW library in SDL examples 9 years ago
ocornut e46c7b70eb Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16 9 years ago
ocornut 980ca286fe Examples: OpenGL2/3: Save/setup/restore viewport as part of render function. Update SDL example to match GL2 one. (fix #392) 9 years ago
ocornut 5d53f37a5d Examples: Possibly clarified the intent of imgui_impl_* files. 9 years ago
ocornut 7d6ddbe5c8 Examples: comment on setting the RenderDrawListsFn function. 9 years ago
Thomas Pöchtrager 3604aecf8f Minor Windows adjustments 9 years ago
Daniel Gibson b7d1b91e4b Use ImGuiIO::AddInputCharactersUTF8() in SDL2 example
Now Unicode text input works in this example.
9 years ago
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.
9 years ago
ocornut 60dd221737 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives 9 years ago
ocornut 1845ff4690 SDL example: tweaks (#233 #226) 9 years ago
ocornut b7e63c163c SDL example: update for indexed rendering. 9 years ago
ocornut a14f6696a3 SDL example: more cleanup to match other examples (#233 #226) 9 years ago
ocornut 22e099366f SDL example: further cleanup to match other examples (#233 #226) 9 years ago
ocornut 4167528001 SDL example: moved event loop to main.cpp , adding page up/page down. (#226) 9 years ago
ocornut b7a2a6b23f SDL example: renamed folder, added in README 9 years ago