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
...
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.
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.
...
Other examples will follow.
ago%!(EXTRA string=10 years)
ocornut
be9fe9489c
Examples: DirectX examples uses WM_KEYDOWN/WM_KEYUP
...
Fixes pressing Enter in IME being caught by application right after
validating an IME input.
ago%!(EXTRA string=10 years)
ocornut
e269125c3a
Windows: setup a default handler for ImeSetInputScreenPosFn so IME (Japanese/Chinese) inputs are positioned correctly.
...
User need to set io.ImeWindowHandle
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
...
..and to reduce sample code size a little.
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
...
Examples: OpenGL3 and DirectX11 back to using 32-bits texture solely for
ease of integration.
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)
ocornut
5ca563b5a5
Speculative fix for warnings for GCC/Clang
ago%!(EXTRA string=10 years)
ocornut
20bb6270bc
Examples: all supports TextureID in renderer, added LoadFontTexture() function.
ago%!(EXTRA string=10 years)
ocornut
b3a208901a
Loading TTF file with stb_truetype. Broke setup API slightly. Font baked, packed with space for custom data. Embeds compressed ProggyClean.
ago%!(EXTRA string=10 years)
ocornut
c1251d2994
Examples: Fixed warnings for Clang
ago%!(EXTRA string=10 years)
ocornut
1c657564ac
Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to #109
ago%!(EXTRA string=10 years)
omar
e9e0e36f98
New and better Set[Next]Window(Pos|Size|Collapsed) API.
...
Removed rarely useful SetNewWindowDefaultPos() in favor of new API.
ago%!(EXTRA string=11 years)
omar
09bacfbe18
OpenGL example: allow resizing window.
ago%!(EXTRA string=11 years)
ocornut
987188d437
Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
ago%!(EXTRA string=11 years)