Commit Graph

60 Commits (e384078d7aad79607f32a5db87ebc004cc6b5c56)

Author SHA1 Message Date
omar b3099d650c Examples: Adding Roboto to the commented-out font list, and removing the unnecessary ProggyClean from there.
omar 842e88a8e3 Examples: Avoid using ImColor() to not tempt newcomers into looking at it
omar 3dd3d0b248 Examples: DirectX11: allow creating device with feature level 10 sinec we don't really need much for that example. ()
omar b8ade0b94f Examples: Main: Removed call to SetNextWindowSize()
omar 7e452ec737 Renamed ImGuiSetCond_XXX type and enums to ImGuiCond_XXX, kept old enums under #ifdef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
omar 645875a240 Examples: Enable vsync by default in example applications (, )
ocornut 8a0d3b9628 Examples; DirectX10/11: Added comments about removing dependency on d3dcompiler DLL ()
ocornut f4633d09ac Examples: DirectX10, DirectX11: Removed seemingly unnecessary bunch of rasterizer state creation code.
ocornut 7661b1e778 Trim trailing spaces
ocornut 1b7aee7b9d Examples: DX11: Remove debug flag ()
ocornut 94ec3d534e Examples: Header comments.
ocornut 5c52e9ec0d Examples: Clarified comments. Removed font merging example from comments.
ocornut 83e6cfbec0 Examples: DirectX9/11: Removed assumption about Unicode build in example main.cpp ()
ocornut e858d229a0 Examples: update all examples with same comment ()
ocornut 4842ac3bc6 Fonts: added Cousine-Regular.ttf
ocornut 0224d29a35 Examples: comments.
ocornut fcec337061 Examples: Simplified font examples comments.
ocornut d25578efd8 Examples: initializing float + missing comment.
ocornut 3abfb85613 Comments on font loading, fixed commented out paths and added DroidSans in the list
ocornut cb285c4d35 Examples: uses SetNextWindowPos/SetNextWindowSize when applicable
ocornut 7c9bd71512 Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples
ocornut 2b0acc128c Examples: MSVC: increase warning level from /W3 to /W4 for DirectX examples
ocornut 0911526424 Added io.KeyAlt + support in examples apps
Currently unused but supported by sample so that more people will have
it set up when menus needs them
ocornut 66a5837ba8 Examples: DirectX11 example application handles window resizing.
ocornut b4165c43ff Examples: Refactored directx11_example to be easier to copy & paste into user application.
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.
ocornut e269125c3a Windows: setup a default handler for ImeSetInputScreenPosFn so IME (Japanese/Chinese) inputs are positioned correctly.
User need to set io.ImeWindowHandle
ocornut 40b04a3701 Renamed ImGuiSetCondition_*** to ImGuiSetCond_*** and ImGuiCondition_FirstUseThisSession to ImGuiCond_Once
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 35c0842bcf Examples: DirectX11: fixed handling of unicode character inputs.
ocornut 5834297928 Examples: DirectX11: increasing vertex buffer size (would really need a dynamic buffer size)
+ Delete unused code
ocornut 381c7428c1 Examples: changed default background color.
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 43c8b5e0d2 Examples: DirectX11: use linear sampler to be in sync with other examples.
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 b3a208901a Loading TTF file with stb_truetype. Broke setup API slightly. Font baked, packed with space for custom data. Embeds compressed ProggyClean.
ocornut dd8a7655f5 Fixed DirectX11 example.
ocornut 1c657564ac Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to
omar e9e0e36f98 New and better Set[Next]Window(Pos|Size|Collapsed) API.
Removed rarely useful SetNewWindowDefaultPos() in favor of new API.
omar 2e5b81627f Examples: DirectX11: moved shader to be close to its usage location,