Commit Graph

44 Commits (d9d6b0e629118aff7c11a78405de7b261c1d180a)

Author SHA1 Message Date
ocornut d8dacd729b Examples: SDL+OpenGL: explicitly setting GL_UNPACK_ROW_LENGTH to reduce issues because SDL changes it ()
ocornut c1da3e354e Examples: SDL: Fixed unused variable warning on non-Windows platforms ()
ocornut 79ad22e1f2 Fixed various Clang -Weverything warnings ()
ocornut 1612ca071b Examples: SDL: Initialize video+timer subsystem only.
ocornut a6399f120f IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) ()
NB: Value not used.
ocornut 7661b1e778 Trim trailing spaces
ocornut fdc4299c6c Examples: SDL: Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one
ocornut e6c2c1fcfd Examples: SDL: Minor fixes to follow syntax of other examples ()
Nick Gravelyn 8a61c0afea Applying same fix to OpenGL 3 example. Fixing spaces/tabs.
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.
ocornut 04396ed7a9 FAQ and comments about the use of ImTextureID (, , , , , ...)
ocornut 1dcb9c877d Examples: OpenGL: Fix early return on zero-sized framebuffer breaking GL state (, )
ocornut 2813a44dcc Examples: OpenGL: skip rendering and calling glViewport() if we have a zero-fixed buffer ()
ocornut 9e86d0e225 Examples: SDL/OpenGL: Tabs to spaces
ocornut 217a6c875a Examples: OpenGL: Tentative fix for miscaled call to glViewport on high-DPI screens ()
Fix for 980ca286fe
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.
ocornut 94ec3d534e Examples: Header comments.
ocornut 6800939e73 Examples: Header comments.
ocornut 5c52e9ec0d Examples: Clarified comments. Removed font merging example from comments.
zryan3 aa6cb32bd4 fixed text referencing GLFW library in SDL examples
ocornut 624adb1b23 Tweak build batch files and readmes
ocornut e46c7b70eb Examples: Most examples apps detect if ImDrawIdx was changed to 32-bits instead of 16
ocornut 980ca286fe Examples: OpenGL2/3: Save/setup/restore viewport as part of render function. Update SDL example to match GL2 one. (fix )
ocornut e858d229a0 Examples: update all examples with same comment ()
ocornut 5d53f37a5d Examples: Possibly clarified the intent of imgui_impl_* files.
ocornut 7d6ddbe5c8 Examples: comment on setting the RenderDrawListsFn function.
ocornut 9a0650dbd0 Examples: imgui_impl* functions declared with IMGUI_API to ease copy & pasting into projects using DLL
Andres Vahter ccbc72e98b add mac os x build instructions for sdl_opengl_example
Thomas Pöchtrager 3604aecf8f Minor Windows adjustments
ocornut 85dab1a680 Fixed documentation
ocornut 11d91a27a4 Carriage return ()
Jonathan Adamczewski f158617551 Show SDL error message on init failure
Daniel Gibson b7d1b91e4b Use ImGuiIO::AddInputCharactersUTF8() in SDL2 example
Now Unicode text input works in this example.
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 4842ac3bc6 Fonts: added Cousine-Regular.ttf
ocornut 0224d29a35 Examples: comments.
ocornut 60dd221737 Merge remote-tracking branch 'origin' into 2015-03-antialiased-primitives
ocornut 1845ff4690 SDL example: tweaks ( )
ocornut e49977a913 SDL example: hasty readme.
ocornut b7e63c163c SDL example: update for indexed rendering.
ocornut a14f6696a3 SDL example: more cleanup to match other examples ( )
ocornut 22e099366f SDL example: further cleanup to match other examples ( )
ocornut 4167528001 SDL example: moved event loop to main.cpp , adding page up/page down. ()
ocornut b7a2a6b23f SDL example: renamed folder, added in README