Commit Graph

42 Commits (3c264827fd31ba88ee485209df128c7dd8a01449)

Author SHA1 Message Date
Gordon McShane 6ee65fc5af Add conditional compilation of forward compat. glfw window hint to fix crash on later versions of OSX
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 5879f3f5ac Examples: OpenGL 2/3 examples cleanup to match DirectX9/11 structure.
ocornut 2dd92e3eed Examples: Clang/Linux warning fixes.
ocornut b87ec205a9 Examples: shallow tweaks to match upcoming other examples.
ocornut d829852391 Examples: Refactored opengl3_exapmle into a glfw specific file that can be copied and pasted
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 3ed38f3313 Replaced dependency on glew (inc. prebuilt one for Windows) by gl3w in source form
Expecting something to break now.
ocornut 40b04a3701 Renamed ImGuiSetCondition_*** to ImGuiSetCond_*** and ImGuiCondition_FirstUseThisSession to ImGuiCond_Once
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 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 51df5874a6 Examples' Says "OpenGL2" vs "OpenGL3" in title bar.
ocornut a09f426b89 TAB to spaces
ocornut 5ca563b5a5 Speculative fix for warnings for GCC/Clang
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 c1251d2994 Examples: Fixed warnings for Clang
ocornut 1c657564ac Examples: Added STB_IMAGE_STATIC in examples to avoid conflicting implementation. Relate to
ocornut b3febabc30 OpenGL3 example: fix growing of VBO
omar e9e0e36f98 New and better Set[Next]Window(Pos|Size|Collapsed) API.
Removed rarely useful SetNewWindowDefaultPos() in favor of new API.
omar 09bacfbe18 OpenGL example: allow resizing window.
omar 6523fb263d OpenGL3 example: fixed mouse handling.
ocornut 987188d437 Fix Clang warning with offsetof() macro? Added -Wall in OpenGL 3 example.
ocornut 036ed3ea93 OpenGL3 example: unregistered mouse callback for mouse click-release faster than frame interval.
omar 2e5b81627f Examples: DirectX11: moved shader to be close to its usage location,
omar 52b5376d9b Examples: OpenGL3: cleaned up to match features of OpenGL2 example
omar b02eed3e49 Examples: adding title to the top of each examples. Cleaning up file headers.
Olivier Chatry 2f176033c6 fixed indentation mix, removed some unused code, updated different callback using the example_opengl code.
Olivier Chatry a8d2bc69ed added opengl3 sample, mix from @ocornut and @thelinked