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
e858d229a0
Examples: update all examples with same comment ( #389 )
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)
omar
2e5b81627f
Examples: DirectX11: moved shader to be close to its usage location,
ago%!(EXTRA string=11 years)
omar
52b5376d9b
Examples: OpenGL3: cleaned up to match features of OpenGL2 example
ago%!(EXTRA string=11 years)
omar
b02eed3e49
Examples: adding title to the top of each examples. Cleaning up file headers.
ago%!(EXTRA string=11 years)
ocornut
0730ec7577
Example apps: accumulate mouse wheel to accodomate for slow framerate.
ago%!(EXTRA string=11 years)
ocornut
0e6f288a2f
DirectX11 example: further tweaks/massaging (-15 lines). Syncing example.
ago%!(EXTRA string=11 years)