Commit Graph

38 Commits (eff466d77d6318c99f51a2e25ed2f34bf5bf44f8)

Author SHA1 Message Date
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,
omar b02eed3e49 Examples: adding title to the top of each examples. Cleaning up file headers.
ocornut bd762b559c DirectX11 example: fixed projection matrix offset.
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 7f804d3d64 Tab->Spaces :( visual studio can't even be trusted for that, oh thanks.
ocornut de44af5227 DirectX11 example: closing all handler/resources in Cleanup.
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!)