35 Commits (a9b0abe493d4209660e68d0a1850b413c18fd941)

Author SHA1 Message Date
Nick Gravelyn a9b0abe493 Automatically updating DisplayFrameBufferScale by reading the OpenGL drawable size and comparing with the window size. This fixed dear imgui which was rendering only to 1/4 of my window. 9 years ago
ocornut 04396ed7a9 FAQ and comments about the use of ImTextureID (#562, #561, #521, #510, #497, #475 ...) 9 years ago
ocornut 1dcb9c877d Examples: OpenGL: Fix early return on zero-sized framebuffer breaking GL state (#486, #547) 9 years ago
ocornut 2813a44dcc Examples: OpenGL: skip rendering and calling glViewport() if we have a zero-fixed buffer (#486) 9 years ago
ocornut 9e86d0e225 Examples: SDL/OpenGL: Tabs to spaces 9 years ago
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 94ec3d534e Examples: Header comments. 9 years ago
ocornut 6800939e73 Examples: Header comments. 9 years ago
ocornut 5c52e9ec0d Examples: Clarified comments. Removed font merging example from comments. 9 years ago
zryan3 aa6cb32bd4 fixed text referencing GLFW library in SDL examples 9 years ago
ocornut 624adb1b23 Tweak build batch files and readmes 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 e858d229a0 Examples: update all examples with same comment (#389) 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
ocornut 9a0650dbd0 Examples: imgui_impl* functions declared with IMGUI_API to ease copy & pasting into projects using DLL 9 years ago
Andres Vahter ccbc72e98b add mac os x build instructions for sdl_opengl_example 9 years ago
Thomas Pöchtrager 3604aecf8f Minor Windows adjustments 9 years ago
ocornut 85dab1a680 Fixed documentation 9 years ago
ocornut 11d91a27a4 Carriage return (#289) 9 years ago
Jonathan Adamczewski f158617551 Show SDL error message on init failure 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 4842ac3bc6 Fonts: added Cousine-Regular.ttf 9 years ago
ocornut 0224d29a35 Examples: comments. 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 e49977a913 SDL example: hasty readme. 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