570a9dadc4
Honoring exact width passed to PushItemWidth(), previously it would add extra FramePadding.x*2 over that width. (ref #346)
ocornut2016-01-23 12:07:26 +00:00
3922988dea
TreeNode(), CollapsingHeader() fixed not being to use "##" sequence in formatted label.
ocornut2016-01-16 12:25:40 +00:00
739e73b07b
CalcTextSize(): adding early out for empty displayed string (#487)
ocornut2016-01-16 12:11:57 +00:00
fc66365805
Added overlooked test for label_size.x>0 before calling RenderText for label in a few instances (#487)
ocornut2016-01-16 12:01:18 +00:00
31fe006c85
Examples: DirectX10 fixed ImGui_ImplDX10_NewFrame() from recreating device objects if render isn't called (g_pVB not set)
ocornut2016-01-11 10:29:03 +00:00
6277ffe00f
Examples: DirectX11: fixed ImGui_ImplDX11_NewFrame() from recreating device objects if render isn't called (g_pVB not set)
ocornut2016-01-11 10:19:38 +00:00
749e8fa345
Minor optimization so that mass-calling BeginPopupContext* functions can early out more commonly without hashing ID
ocornut2015-12-31 12:11:28 +01:00
81c86dd5e7
Various minor fixes following a pass of cppcheck static analyzer
ocornut2015-12-30 11:55:37 +01:00
d212401624
Fixed ImDrawList::AddRect() which used to render a rectangle 1 px too large on each axis., fixed Image(), ImageButton() as well (#457)
ocornut2015-12-27 21:31:43 +01:00
6dbdc69131
ImDrawList: Fixed AddCircle() to fit precisely within bounding box like AddCircleFilled() and AddRectFilled() (followup #457ocornut2015-12-27 20:18:43 +01:00
668a247af0
Demo: added more draw primitives in the Custom Rendering example (#457)
ocornut2015-12-27 19:49:31 +01:00
dc4a07c49a
Fixed various Clang -Weverything warnings
ocornut2015-12-26 14:59:07 +01:00
e41568f87f
Version number 1.48 WIP + Update binaries
ocornut2015-12-26 10:02:57 +01:00
f3b41b35c2
Initial creation of a ImGuiWindowFlags_NoBringToFrontOnFocus window push it at the front of global window list
ocornut2015-12-24 14:55:42 +01:00
40ddf8e287
Exported high-level versions of PushClipRect / PopClipRect to imgui_internal.h (#448)
ocornut2015-12-24 14:47:11 +01:00
217a6c875a
Examples: OpenGL: Tentative fix for miscaled call to glViewport on high-DPI screens (#441)
ocornut2015-12-19 20:54:23 +01:00
2e5577f44f
Fix for popups being incorrectly positioned if their contents are larger than display and WindowPadding < DisplaySafeAreaPadding
ocornut2015-12-17 12:22:50 +00:00
21f0d64a74
stb_rect_pack.h update to 0.08
ocornut2015-12-16 11:14:49 +00:00
0b10bec71f
ImDrawList: Simplified code and added check to avoid mis-recycling a callback command.
ocornut2015-12-16 01:13:36 +00:00
0873da85ec
ImDrawList: Fixed bug with PopClipRect() sometimes altering TextureId + fixed merging of draw calls with same TextureId
ocornut2015-12-16 01:01:34 +00:00
370de414ef
TreeNode(): Fixed horizontal spacing for layout to match Bullet() (followup to #414, #282)
ocornut2015-12-13 23:42:44 +00:00
2e5352786a
Bullet(), BulletText(): vertical and horizontal alignment fixes (namely for widget sized line height). (followup to #414, #282)
ocornut2015-12-13 23:41:02 +00:00
558430ca8f
TreeNode() fixed alignment of collapse arrow to it matches bullet (broken in 4006fb77bc)
ocornut2015-12-13 22:07:01 +00:00
a9bdda0d95
Demo: Added style editor in demo menu + exposed WindowFillAlphaDefault
ocornut2015-12-13 13:36:00 +00:00
b1b759938e
Fixed SizeContents and auto-fit size not being rounded to integer, which affects border rendering when using non-default font
ocornut2015-12-13 12:52:55 +00:00
6c7f8efe1e
InputText: update mouse drag on mouse move only & key input reposition selection bounds (better fix for #429)
ocornut2015-12-11 22:37:47 +00:00
4bfd5cd95f
InputText: when keys are being input while mouse is dragging, disable mouse drag until button release (#429)
ocornut2015-12-11 22:20:16 +00:00
de4ae2d53a
Metrics: computing drawcmd bounding box handle case where buffer has been de-indexed.
ocornut2015-12-05 11:26:47 +00:00
5dec997fbe
Minor tidying up of now redundant code
ocornut2015-12-04 23:41:24 +00:00
c80e2274f1
Renamed Color() helpers to ValueColor() - dangerously named, rarely used and probably to be made obsolete.
ocornut2015-12-04 23:39:54 +00:00
ecc97bda7d
Added SetItemAllowOverlap() exposed in imgui_internal.h only
ocornut2015-12-03 21:30:17 +00:00
4006fb77bc
TreeNode,CollapsingHeader: sizing fixes to support laying out item on same line before/after (#414, #282)
ocornut2015-11-29 20:35:58 +00:00
546962351b
Internal minor renaming
ocornut2015-11-29 20:27:48 +00:00
6cee2fca94
Examples: Not clearing input data/tex data in atlas (will be required for dynamic atlas anyway). Effectively fix resizing in DX examples.
ocornut2015-11-29 14:54:05 +00:00
6269859315
Replace OS IME (Input Method Editor) cursor on top-left when we are not text editing.
ocornut2015-11-29 14:15:07 +00:00