16 Commits (cb38caeda402e5b32c67b1c61ffe3e0b123b5651)

Author SHA1 Message Date
omar cb38caeda4 Examples: Added more comments near the fonts loading section, to catch common questions and errors (e.g. #1397, #1366, #1341, #1222, #1193, #1115, #951, etc.) ago%!(EXTRA string=8 years)
omar b3099d650c Examples: Adding Roboto to the commented-out font list, and removing the unnecessary ProggyClean from there. ago%!(EXTRA string=8 years)
omar 842e88a8e3 Examples: Avoid using ImColor() to not tempt newcomers into looking at it ago%!(EXTRA string=8 years)
omar b8ade0b94f Examples: Main: Removed call to SetNextWindowSize() ago%!(EXTRA string=8 years)
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS ago%!(EXTRA string=8 years)
ocornut a68ac96bc4 Examples: GL3: Comments about gl3w (#880) ago%!(EXTRA string=9 years)
ocornut 1612ca071b Examples: SDL: Initialize video+timer subsystem only. ago%!(EXTRA string=9 years)
ocornut 7661b1e778 Trim trailing spaces ago%!(EXTRA string=9 years)
ocornut fdc4299c6c Examples: SDL: Made ImGui_ImplSdlGL3_NewFrame() signature match GL2 one ago%!(EXTRA string=9 years)
ocornut 9e86d0e225 Examples: SDL/OpenGL: Tabs to spaces ago%!(EXTRA string=9 years)
ocornut 49fb7364b5 Examples: SDL2+OpenGL3: Fix context creation options (#468, #463) ago%!(EXTRA string=9 years)
ocornut 94ec3d534e Examples: Header comments. ago%!(EXTRA string=10 years)
ocornut 5c52e9ec0d Examples: Clarified comments. Removed font merging example from comments. ago%!(EXTRA string=10 years)
ocornut ab7e91b65e Examples: SDL+OpenGL3: Various fixes to example to make it matches current GL3 example (#356) ago%!(EXTRA string=10 years)
ocornut 9d0caa2e66 Examples: SDL+OpenGL3: Using glew like existing example + renaming (#356) ago%!(EXTRA string=10 years)
Zach Toogood e130b09d91 Previous SDL implementation didn't work with my OpenGL 3.3 project, spliced the GLFW OpenGL examples on top of the SDL example to create an option that works for me. Could be useful for others. ago%!(EXTRA string=10 years)
ocornut 11d91a27a4 Carriage return (#289) ago%!(EXTRA string=10 years)
Jonathan Adamczewski f158617551 Show SDL error message on init failure ago%!(EXTRA string=10 years)
Daniel Gibson 02a0967243 Fix SDL2-example for Linux ago%!(EXTRA string=10 years)
ocornut 4842ac3bc6 Fonts: added Cousine-Regular.ttf ago%!(EXTRA string=10 years)
ocornut 0224d29a35 Examples: comments. ago%!(EXTRA string=10 years)
ocornut 1845ff4690 SDL example: tweaks (#233 #226) ago%!(EXTRA string=10 years)
ocornut 22e099366f SDL example: further cleanup to match other examples (#233 #226) ago%!(EXTRA string=10 years)
ocornut 4167528001 SDL example: moved event loop to main.cpp , adding page up/page down. (#226) ago%!(EXTRA string=10 years)
ocornut b7a2a6b23f SDL example: renamed folder, added in README ago%!(EXTRA string=10 years)
ocornut b3ae2976c5 SDL example: tweaks and fixes. ago%!(EXTRA string=10 years)
Cedric Guillemet 2acdafe4f2 imgui_impl_sdl and main sample ago%!(EXTRA string=10 years)
ocornut d25578efd8 Examples: initializing float + missing comment. ago%!(EXTRA string=10 years)
ocornut 3abfb85613 Comments on font loading, fixed commented out paths and added DroidSans in the list ago%!(EXTRA string=10 years)
ocornut cb285c4d35 Examples: uses SetNextWindowPos/SetNextWindowSize when applicable ago%!(EXTRA string=10 years)
ocornut 7c9bd71512 Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples ago%!(EXTRA string=10 years)
ocornut 5879f3f5ac Examples: OpenGL 2/3 examples cleanup to match DirectX9/11 structure. ago%!(EXTRA string=10 years)
ocornut b87ec205a9 Examples: shallow tweaks to match upcoming other examples. ago%!(EXTRA string=10 years)
ocornut 545a57d253 Examples: Refactored opengl_example into a glfw specific file that can be copied and pasted. ago%!(EXTRA string=10 years)
ocornut be9fe9489c Examples: DirectX examples uses WM_KEYDOWN/WM_KEYUP ago%!(EXTRA string=10 years)
ocornut e269125c3a Windows: setup a default handler for ImeSetInputScreenPosFn so IME (Japanese/Chinese) inputs are positioned correctly. ago%!(EXTRA string=10 years)
ocornut 37d8d5c5be Examples: OpenGL2 example doesn't need Glew ago%!(EXTRA string=10 years)
ocornut 40b04a3701 Renamed ImGuiSetCondition_*** to ImGuiSetCond_*** and ImGuiCondition_FirstUseThisSession to ImGuiCond_Once ago%!(EXTRA string=10 years)
ocornut cb0a4db048 Calculate frame-rate for the user, as a purely luxurious feature ago%!(EXTRA string=10 years)
ocornut d65e051a07 Minor formatting tweaks, comments ago%!(EXTRA string=10 years)
ocornut 381c7428c1 Examples: changed default background color. ago%!(EXTRA string=10 years)
ocornut edcf2d3bf6 Examples: more comments on loading fonts. ago%!(EXTRA string=10 years)
ocornut 1916a0c78c Renamed FontAtlas to Fonts. Further cleanup/comments. ago%!(EXTRA string=10 years)
ocornut 2c31599bcc ImFontAtlas allows loading multiple fonts into same texture. Revamped new init API for 1.30 ago%!(EXTRA string=10 years)
ocornut cb9a3235be Removed PixelCenterOffset, uncesssary ago%!(EXTRA string=10 years)
ocornut 62ecdd21a5 Examples: Added a color slider for the background color + tweak first example use of button.s ago%!(EXTRA string=10 years)
ocornut 0f4d74d614 ImFont::GetTextureData API allow to retrieve 8/32 bits data + lazily load defaults font ago%!(EXTRA string=10 years)
ocornut 241e8086fa Mde it optional to new() io.Font - however it stills needs to be loaded. ago%!(EXTRA string=10 years)
ocornut 51df5874a6 Examples' Says "OpenGL2" vs "OpenGL3" in title bar. ago%!(EXTRA string=10 years)
ocornut a09f426b89 TAB to spaces ago%!(EXTRA string=10 years)