ocornut
|
edcf2d3bf6
|
Examples: more comments on loading fonts.
|
10 years ago |
ocornut
|
1916a0c78c
|
Renamed FontAtlas to Fonts. Further cleanup/comments.
|
10 years ago |
ocornut
|
2c31599bcc
|
ImFontAtlas allows loading multiple fonts into same texture. Revamped new init API for 1.30
|
10 years ago |
ocornut
|
cb9a3235be
|
Removed PixelCenterOffset, uncesssary
|
10 years ago |
ocornut
|
43c8b5e0d2
|
Examples: DirectX11: use linear sampler to be in sync with other examples.
|
10 years ago |
ocornut
|
62ecdd21a5
|
Examples: Added a color slider for the background color + tweak first example use of button.s
|
10 years ago |
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.
|
10 years ago |
ocornut
|
241e8086fa
|
Mde it optional to new() io.Font - however it stills needs to be loaded.
|
10 years ago |
ocornut
|
51df5874a6
|
Examples' Says "OpenGL2" vs "OpenGL3" in title bar.
|
10 years ago |
ocornut
|
a09f426b89
|
TAB to spaces
|
10 years ago |
ocornut
|
5ca563b5a5
|
Speculative fix for warnings for GCC/Clang
|
10 years ago |
ocornut
|
20bb6270bc
|
Examples: all supports TextureID in renderer, added LoadFontTexture() function.
|
10 years ago |
ocornut
|
f77490cb2d
|
Cleanup extra_fonts/ folder
|
10 years ago |
ocornut
|
b3a208901a
|
Loading TTF file with stb_truetype. Broke setup API slightly. Font baked, packed with space for custom data. Embeds compressed ProggyClean.
|
10 years ago |
ocornut
|
dd8a7655f5
|
Fixed DirectX11 example.
|
10 years ago |
ocornut
|
c1251d2994
|
Examples: Fixed warnings for Clang
|
10 years ago |
ocornut
|
1c657564ac
|
Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to #109
|
10 years ago |
ocornut
|
b3febabc30
|
OpenGL3 example: fix growing of VBO
|
10 years ago |
omar
|
e9e0e36f98
|
New and better Set[Next]Window(Pos|Size|Collapsed) API.
Removed rarely useful SetNewWindowDefaultPos() in favor of new API.
|
10 years ago |
omar
|
09bacfbe18
|
OpenGL example: allow resizing window.
|
10 years ago |
omar
|
6523fb263d
|
OpenGL3 example: fixed mouse handling.
|
10 years ago |
ocornut
|
987188d437
|
Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
|
10 years ago |
ocornut
|
71e20680db
|
Setup Travis CI integration with Clang + -Wall in Makefiles
|
10 years ago |
ocornut
|
036ed3ea93
|
OpenGL3 example: unregistered mouse callback for mouse click-release faster than frame interval.
|
10 years ago |
omar
|
2e5b81627f
|
Examples: DirectX11: moved shader to be close to its usage location,
|
10 years ago |
omar
|
52b5376d9b
|
Examples: OpenGL3: cleaned up to match features of OpenGL2 example
|
10 years ago |
omar
|
b02eed3e49
|
Examples: adding title to the top of each examples. Cleaning up file headers.
|
10 years ago |
omar
|
6c9edb6db0
|
Examples: removed LICENSE file from MSVC project.
|
10 years ago |
Olivier Chatry
|
2f176033c6
|
fixed indentation mix, removed some unused code, updated different callback using the example_opengl code.
|
10 years ago |
Olivier Chatry
|
a8d2bc69ed
|
added opengl3 sample, mix from @ocornut and @thelinked
|
10 years ago |
omar
|
63ff0ad0ff
|
Examples: OpenGL: fix accessing libraries via ProjectDir instead of SolutionDir
|
10 years ago |
ocornut
|
bd762b559c
|
DirectX11 example: fixed projection matrix offset.
|
10 years ago |
ocornut
|
b4fd216bd2
|
DirectX9/DirectX11 example: fixed window initially showing an hourglass cursor.
|
10 years ago |
ocornut
|
0730ec7577
|
Example apps: accumulate mouse wheel to accodomate for slow framerate.
|
10 years ago |
ocornut
|
0e6f288a2f
|
DirectX11 example: further tweaks/massaging (-15 lines). Syncing example.
|
10 years ago |
ocornut
|
7f804d3d64
|
Tab->Spaces :( visual studio can't even be trusted for that, oh thanks.
|
10 years ago |
ocornut
|
de44af5227
|
DirectX11 example: closing all handler/resources in Cleanup.
|
10 years ago |
ocornut
|
0f29cd7a14
|
Removed Microsoft IME handler in examples, too confusing. Moved to imgui.cpp instruction block.
|
10 years ago |
ocornut
|
a5a84a9b69
|
Tab->Spaces :(
|
10 years ago |
ocornut
|
197b2763fc
|
Fixed DirectX11 example Release build include
|
10 years ago |
ocornut
|
df00fa8113
|
Fixed DirectX11 example to compile with whatever Visual Studio version user has
|
10 years ago |
ocornut
|
9e16317382
|
Added DirectX11 example application (code is too long!)
|
10 years ago |
ocornut
|
b5acb16378
|
Examples: created single .sln solution for all example projects.
|
10 years ago |
ocornut
|
214c967df8
|
Example code: warning fix + comments.
|
10 years ago |
Mikko Mononen
|
54ea495207
|
Updated example code.
|
10 years ago |
ocornut
|
e4a79e9fc8
|
Moved IO.Font*** options to inside the IO.Font-> structure.. Added IO.FontGlobalScale setting (vs Font->Scale)
|
10 years ago |
ocornut
|
df2ad5e899
|
Renamed ImBitmapFont -> ImFont, removed abstraction-pretend typedef
|
10 years ago |
ocornut
|
2aee4419e3
|
Fixed compatibility with std::vector if user decide to #define ImVector
|
10 years ago |
ocornut
|
616668dac3
|
OpenGL example: uses offsetof() macros for vertice definition instead of hardcoded offsets
|
10 years ago |
ocornut
|
36e52167da
|
OpenGL example: made the render function save/restore OpenGL state properly-ish
|
10 years ago |