Commit Graph

69 Commits (10b4fa44c16c990ec7f55fe11f23aaca84fb56bc)

Author SHA1 Message Date
ocornut 4b94454fb4 OpenGL/DirectX examples: support for international text input in UTF-8 + implement ImeSetInputScreenPosFn on Windows.
ocornut df1c056c88 OpenGL example: added commented code to load custom font from filesystem
ocornut da2ccf0a78 OpenGL example: comments on glfw window size vs frame buffer size.
Yaroslav Bunyak 0e0cd5e705 Add support for Retina displays on MacOSX.
ocornut 88c33ecc29 Fixes to allow clean 1-pixel thick lines in more use cases. PixelCenterOffset not the same as previously!
ocornut b90d0c558d Minor text alignment
ocornut 80dd1e1065 Added comments
Dale Kim 7bd507d266 Disable client state in OpenGL example after rendering.
Using the example code in another application that has other rendering
code can cause rendering bugs or memory access errors if client state
is not disabled.
ocornut 42d4b4be6a Converted all Tabs to Spaces (git diff -w shows an empty diff)
ocornut 46eee0cee4 Tidying up example applications so it looks easier to just grab code
ocornut b6d1d85d86 Fixed scissoring in OpenGL example
ocornut cb3d503941 OpenGL example now use the fixed function-pipeline. Code down by 120 lines.
ocornut ddc7f8b0b0 Simplified ImDrawList system (samples are 20 lines shorter) + merged title bar draw bar.
ocornut 8825545653 Portability fixes to OpenGL example application (courtesy of djoshea)
ocornut 98a000055e Tidying up example applications
ocornut 4020ef7b58 Tidying up example applications
ocornut 86d2c9d232 Commented samples and shuffled bits of the initialisation based on user's feedback.
ocornut 8ab2942716 Added PixelCenterOffset for OpenGL/DirectX compatibility.
ocornut 26f54c7364 Added OpenGL and DirectX9 example applications