Commit Graph

145 Commits (5148937d4dbcad9e8564375dfb29dce5b8bb6a38)

Author SHA1 Message Date
ocornut 386cfada83 Examples: Windows examples don't link with imm32.lib by default.
ocornut 40b04a3701 Renamed ImGuiSetCondition_*** to ImGuiSetCond_*** and ImGuiCondition_FirstUseThisSession to ImGuiCond_Once
ocornut 9c4972ee9d Examples: msvc: output .exe in project directory (not in solution directory).
ocornut 0d63e0ce60 Examples: DirectX examples applications all have a Console for debugging.
ocornut cb0a4db048 Calculate frame-rate for the user, as a purely luxurious feature
..and to reduce sample code size a little.
ocornut d65e051a07 Minor formatting tweaks, comments
ocornut 381c7428c1 Examples: changed default background color.
ocornut b0eac255ca Warning fixes for 64-bit architectures
ocornut edcf2d3bf6 Examples: more comments on loading fonts.
ocornut 1916a0c78c Renamed FontAtlas to Fonts. Further cleanup/comments.
ocornut 2c31599bcc ImFontAtlas allows loading multiple fonts into same texture. Revamped new init API for 1.30
ocornut cb9a3235be Removed PixelCenterOffset, uncesssary
ocornut ab8d2782c6 Merge remote-tracking branch 'upstream/master' into 2015-01-truetype
Conflicts:
	imgui.cpp
	imgui.h
ocornut 62ecdd21a5 Examples: Added a color slider for the background color + tweak first example use of button.s
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.
ocornut 241e8086fa Mde it optional to new() io.Font - however it stills needs to be loaded.
ocornut a09f426b89 TAB to spaces
ocornut 20bb6270bc Examples: all supports TextureID in renderer, added LoadFontTexture() function.
ocornut f77490cb2d Cleanup extra_fonts/ folder
ocornut b3a208901a Loading TTF file with stb_truetype. Broke setup API slightly. Font baked, packed with space for custom data. Embeds compressed ProggyClean.
omar e9e0e36f98 New and better Set[Next]Window(Pos|Size|Collapsed) API.
Removed rarely useful SetNewWindowDefaultPos() in favor of new API.
omar b02eed3e49 Examples: adding title to the top of each examples. Cleaning up file headers.
omar 6c9edb6db0 Examples: removed LICENSE file from MSVC project.
ocornut b4fd216bd2 DirectX9/DirectX11 example: fixed window initially showing an hourglass cursor.
ocornut 0730ec7577 Example apps: accumulate mouse wheel to accodomate for slow framerate.
ocornut 0e6f288a2f DirectX11 example: further tweaks/massaging (-15 lines). Syncing example.
ocornut 0f29cd7a14 Removed Microsoft IME handler in examples, too confusing. Moved to imgui.cpp instruction block.
ocornut a5a84a9b69 Tab->Spaces :(
ocornut 9e16317382 Added DirectX11 example application (code is too long!)
ocornut b5acb16378 Examples: created single .sln solution for all example projects.
ocornut 214c967df8 Example code: warning fix + comments.
ocornut 2aee4419e3 Fixed compatibility with std::vector if user decide to #define ImVector
ocornut ec625b7c49 OpenGL/DirextX examples: comments and tweaks.
ocornut 4b94454fb4 OpenGL/DirectX examples: support for international text input in UTF-8 + implement ImeSetInputScreenPosFn on Windows.
ocornut 88c33ecc29 Fixes to allow clean 1-pixel thick lines in more use cases. PixelCenterOffset not the same as previously!
ocornut 80dd1e1065 Added comments
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 7a3e6aa38d Default Clipboard functions on Windows+ renamed ARRAYSIZE to IM_ARRAYSIZE
ocornut ddc7f8b0b0 Simplified ImDrawList system (samples are 20 lines shorter) + merged title bar draw bar.
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