omar
cffdbfe01b
Comments ( #972 )
8 years ago
ocornut
a60b2cc645
Merge branch 'master' into 2016-02-colorpicker
8 years ago
ocornut
fdc70456f4
Merge branch 'master' into 2016-07-navigation
8 years ago
ocornut
db593220fc
Comments, clarified use of io.MouseDelta ( #942 )
...
(ImGuiIO structure layout changed)
8 years ago
Nicolas Guillemot
36d78e0565
const correctness for Combo and ListBox
...
Since Combo and ListBox only read and display the list of items, they
should not modify the pointers inside the array of pointers passed in.
Adding "const" here makes it possible to call these functions with such
an array of const pointers. Previously, a cast to "const char**" was
required as a workaround, otherwise there was a compile error.
8 years ago
Geoffrey Tucker
66c4281290
Began improvements to columns API by splitting the Columns() function into BeginColumns() and EndColumns() and adding additional flags. The columns data still needs to be placed into a stack.
8 years ago
ocornut
941cf1b436
Merge branch 'master' into 2016-07-navigation
8 years ago
ocornut
ccb3db94da
Merge branch 'master' into 2016-02-colorpicker
8 years ago
ocornut
b376b68326
Font: Added io.FontDefault in ImGuiIO structure to make it easier to change default font from third-party or demo code
8 years ago
Matt Keeter
32dbe836d0
Add user-facing IsPopupOpen function
8 years ago
ocornut
dd6163241c
Merge branch 'master' into 2016-02-colorpicker
8 years ago
ocornut
bdb34d1c11
Merge branch 'master' into 2016-07-navigation
8 years ago
ocornut
0d3f8807c7
Added a void* user_data parameter to Clipboard function handlers. ( #875 )
8 years ago
ocornut
d649bc485b
Minor comments
8 years ago
ocornut
31dc7d8d63
Added ImGuiMouseCursor_None for usage by app/binding
8 years ago
ocornut
d567595dde
ImDrawList: AddRect(), PathRect() default rounded_corner 0x0F->~0/-1 so it appears less obscure in IDE completions
8 years ago
ocornut
e4deb7a190
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
404979e48d
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
8 years ago
ocornut
e07d45709f
ImDrawList: Uses IM_COL32_A_MASK macro instead of hardcoded zero alpha testing ( #844 )
8 years ago
ocornut
68c81739bf
Minor tidying up following merge BGRA color PR ( #844 )
8 years ago
Michał Cichoń
1999c01db8
Apply Omar feedback and convert remaining 0xAABBGGRR's into IM_COL32(RR,GG,BB,AA) format.
8 years ago
Michał Cichoń
d75d2b1871
Introduce IMGUI_USE_BGRA_PACKED_COLOR in imconfig.h.
...
When IMGUI_USE_BGRA_PACKED_COLOR is defined packed color hold in ImU32 use BGRA format instead RGBA.
8 years ago
ocornut
fea0fcb7c3
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
ed279c0095
Merge remote-tracking branch 'origin' into 2016-07-navigation
8 years ago
ocornut
1b5bbf725b
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
8 years ago
ocornut
56cdbe434d
Style: Added ButtonTextAlign, ImGuiStyleVar_ButtonTextAlign ( #842 )
8 years ago
ocornut
0f303d363a
Refactor text alignment options to use ImVec2, removed ImGuiAlign ( #842 , #222 )
8 years ago
ocornut
c5b8c6303a
Refactor PushStyleVar/PopStyleVar so it is constant time + can receive integers (yet unused) ( #842 )
8 years ago
ocornut
612b17ef57
Fixing minor english typos ( #827 )
8 years ago
Brian Swetland
5a47346f5a
ImFont: add RenderGlyph() to allow rendering of individual glyphs
8 years ago
ocornut
252f094101
Nav: Undo 87eb749cbc
, agressively including nav focus test in IsItemHovered() ( #323 )
9 years ago
ocornut
87eb749cbc
Added IsItemHoveredOrFocused() (provisional name), better handling of popup/tooltip positioning when using mouse+nav ( #323 )
9 years ago
ocornut
3ab0d5cdfd
Nav: NavHighlight gets its own color (default to Header color), made rectangle thicker ( #323 )
9 years ago
ocornut
996eb080fa
Merge remote-tracking branch 'origin' into 2016-02-colorpicker
9 years ago
ocornut
df1d1b5b25
Nav: DragBehavior: Adjust minimum step to displayed precision when using navigation ( #323 , #180 )
9 years ago
ocornut
a68132948b
Nav: Added ImGuiCol_NavWindowingHighlight into style ( #323 )
9 years ago
ocornut
5ef8452509
Nav: Comments ( #323 )
9 years ago
ocornut
cbf24c13ca
Merge remote-tracking branch 'origin' into 2016-07-navigation
9 years ago
ocornut
5d1a0a6f77
Removed a handful of obsolete (trivial) function redirection from 1.34 and 1.38 (march-april 2015)
...
OpenNextNode() -> SetNextTreeNodeOpen()
GetWindowIsFocused() -> IsWindowFocused()
GetItemBoxMin() -> GetItemRectMin()
GetItemBoxMax() -> GetItemRectMax()
IsMouseHoveringBox() -> IsMouseHoveringRect()
IsClipped() -> !IsRectVisible()
9 years ago
ocornut
b8397c2933
Tweak comments ( #768 )
9 years ago
Michał Cichoń
7588dfb67e
Add ability to test arbitrary rectangle for visibility without need of moving cursor.
9 years ago
ocornut
dcff032429
Nav: Moving all nav inputs to io.NavInputs[] float array, new enum labelled for gamepad. ( #323 )
9 years ago
ocornut
4ccc87c91d
Typo in commented default-value
9 years ago
ocornut
2e52bee12e
Merge remote-tracking branch 'origin' into 2016-07-navigation
9 years ago
ocornut
907265d632
Using ImGuiID instead of ImU32 is a few places
9 years ago
ocornut
a154625a56
Nav: Not exposing ImGuiWindowFlags_NavFlattened because it requires much more work ( #323 )
9 years ago
ocornut
2545d75c3b
Tidying up, removed two unnecessary window flags from being exposed in imgui.h
9 years ago
ocornut
b3cba62b80
Nav: Added experiment ImGuiWindowFlags_NavFlattened flag to cross over between parent and non-scrolling child windows ( #323 )
9 years ago
ocornut
68b73b61b5
Nav: Comment ( #323 )
9 years ago
ocornut
e2dd48ae65
Nav: Split _NoNav window flag into _NoNavInputs and _NoNavFocus ( #323 )
9 years ago
ocornut
04157da291
Nav: first committed pass for manual moving and manual scrolling (after a bunch of attempts) ( #323 )
9 years ago
ocornut
5f6f4d0ffc
Merge remote-tracking branch 'origin' into 2016-07-navigation
9 years ago
ocornut
666d83b5c7
InputText/IO: Got rid of individual OSX options in ImGuiIO, added io.OSXBehaviors ( #473 , #650 )
9 years ago
ocornut
802e91f69e
Merge branch 'add-osx-homeend-keys' of https://github.com/michaelbartnett/imgui into michaelbartnett-add-osx-homeend-keys
9 years ago
ocornut
c3aa36d9ab
Navigation: Renamed ImGuiKey_NavWindowing to ImGuiKey_NavMenu ( #323 )
9 years ago
ocornut
b2ad33ce41
Merge remote-tracking branch 'origin' into 2016-07-navigation
9 years ago
ocornut
8efd05a148
Tab->Spaces, missing spaces, typos
9 years ago
Adisorn Aeksatean
4141144b21
Added GetGlyphRangesThai()
9 years ago
ocornut
c2cb2a6928
Gamepad/Keyboard navigation support, initial commit, WIP ( #323 )
9 years ago
ocornut
4a11cc35b9
Updated code for repeat delay / repeat handling. GetKeyPressedAmount() now returns a count to support fast repeat rate (where DeltaTime > RepeatRate).
...
Renamed from recently added IsKeyPressed() variant to GetKeyPressedAmount(). (no API breakage, added in branch, bbd3b75609
) (#323 )
9 years ago
ocornut
88c1966629
Added IsAnyWindowFocused(). Renamed IsMouseHoveringAnyWindow() -> IsAnyWindowHovered(), IsPosHoveringAnyWindow() -> IsAnyWindowHoveredAtPos(), IsMouseHoveringWindow() -> IsWindowHoveredRect() for consistency. Kept inline rediection function.
9 years ago
ocornut
0300e73b3f
Comments
9 years ago
ocornut
bbd3b75609
Added IsKeyPressed() with explicit repeat delay and repeat rate (for usage by nav) ( #323 )
9 years ago
ocornut
9c71ec38f0
ImVector: reserve() tweak to avoid undefined behavior warning ( #731 )
9 years ago
Michael Bartnett
86f42b5950
osx uses super+arrows for home/end, built on work in ocornut/imgui#473
9 years ago
ocornut
de61fcc619
Minor bits
9 years ago
ocornut
1ef7980e17
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
f83790dc5a
Comments
9 years ago
ocornut
2da30e8702
Comments ( #691 )
9 years ago
ocornut
65a525550e
ImFont: Allowing to use up to 0xFFFE glyphs in same font (increased from previous 0x8000)
9 years ago
ocornut
5d4cf1c3f3
Version 1.50 WIP
9 years ago
ocornut
adb85d800d
Version 1.49
9 years ago
ocornut
9a751da136
Caving in to ignoring stupid pedantic Clang warnings for old-style-cast in header files
9 years ago
ocornut
3ddb50a925
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
dcef7dedce
Comments ( #590 )
9 years ago
ocornut
d5a12866fe
Comments ( #676 , #655 )
9 years ago
ocornut
1483a69c11
Demo: Tree: showing how to align tree node label with current x position ( #324 , #581 )
9 years ago
ocornut
61c294bb52
Added optional Indent() Unindent() width ( #324 , #581 )
9 years ago
ocornut
a0a48f6e59
Added TreeAdvanceToLabelPos() ( #581 )
9 years ago
ocornut
793f5f8cdb
Comments
9 years ago
ocornut
806a146198
TreeNodeEx(): ImGuiTreeNodeFlags_AlwaysOpen->ImGuiTreeNodeFlags_Leaf, + added ImGuiTreeNodeFlags_Bullet ( #324 , #581 )
9 years ago
ocornut
2acb61e3a1
Comments
9 years ago
ocornut
8f4b123e1b
SetNextWindowSizeConstraint -> SetNextWindowSizeConstraints ( #668 )
9 years ago
ocornut
b7ebeb1610
Added SetNextWindowSizeConstraint() + demo code ( #668 )
9 years ago
ocornut
753bf5cefe
Comments
9 years ago
ocornut
81bf5aeb09
Minor bits
9 years ago
ocornut
69a29e4715
Added NewLine() (very shy reminder that #97 isn't done)
9 years ago
ocornut
787be01e61
ImGuiListClipper comments ( #660 , #661 , #662 )
9 years ago
ocornut
7a28f5bb81
ImGuiListClipper new version, detect height automatically, fix compatibility with SetScrollPosHere ( #662 )
9 years ago
ocornut
431eaf1abe
Comments to clarify what float[2] int[2] etc. are. May switch to pointers? ( #659 )
9 years ago
ocornut
39bda5ea09
Fixed a IMGUI_API->inline case ( #657 , #349 )
9 years ago
ocornut
f48f9a30ef
ButtonBehavior(), fixed subtle old bug when a repeating button would also return true on release + comments ( #656 )
9 years ago
ocornut
b628acbb52
StyleEditor: comments ( #652 )
9 years ago
ocornut
2f55dc1f33
ImFontConfig: Clarified persistence requirement of GlyphRanges array ( #651 )
9 years ago
ocornut
aa11934efa
Comments to clarify default shared ImFontAtlas and current context pointer thread-safety ( #586 , #591 )
9 years ago
ocornut
7b9c0a5c3f
Renamed ImGuiState -> ImGuiContext ( #586 , #269 )
9 years ago
ocornut
8b428e8c74
Added CreateContext/DestroyContext/GetCurrentContext/SetCurrentContext() ( #586 , #269 )
9 years ago
ocornut
69cc00f91f
ImGuiStorage: Added bool helper functions for completeness.
9 years ago
ocornut
ce4d731486
Minor comments, tweaks
9 years ago
ocornut
89d5026187
Renamed majority of use of "opened" to "open" for clarity. Renamed SetNextTreeNodeOpened() to SetNextTreeNodeOpen(). ( #625 , #579 )
9 years ago
ocornut
4170b4847d
Style: Changed default IndentSpacing from 22 to 21 ( #581 , #324 )
9 years ago
ocornut
13df4668d1
Added GetTreeNodeToLabelSpacing() helper - tentative name ( #581 , #324 )
9 years ago
ocornut
bb674ccee6
TreeNode: added ImGuiTreeNodeFlags_AlwaysOpen flag ( #581 , #324 )
9 years ago
ocornut
f79b2d6ce3
TreeNode: added ImGuiTreeNodeFlags_OpenOnArrow flag ( #581 , #324 , #190 )
9 years ago
ocornut
dc8446d048
Demo: Added simple tree node selection demo ( #581 , #516 , #190 )
9 years ago
ocornut
4c880b7106
Added ImGuiTreeNodeFlags_OpenOnDoubleClick ( #581 , #516 , #190 )
9 years ago
ocornut
a38fd2e186
Added TreeNodeEx() functions ( #581 , #600 , #190 )
9 years ago
ocornut
ac501102fc
Added IsItemClicked() helper ( #581 )
9 years ago
ocornut
ec6471ca87
TreeNodeEx() wired the display-side ImGuiTreeNodeFlags_Selected flag ( #581 )
9 years ago
ocornut
ab6bc05fc3
Fixed ImGuiTreeNodeFlags_AllowOverlapMode to behave better on touch-style inputs ( #600 )
9 years ago
ocornut
df749e3f13
Added CollapsingHeader() variant with close button, obsoleted 4 parameters version. Refactored code into TreeNodeBehavior. ( #600 )
...
New flag and declaration makes uses of SetNextTreeNode() functions on
collapsing header more obvious as well (#579 ).
9 years ago
ocornut
befe02559a
Added IsRootWindowOrAnyChildHovered() helper ( #615 )
9 years ago
ocornut
be7621f7c5
Updated FAQ about non UTF-8 literal ( #609 , #613 )
9 years ago
ocornut
6bcc31e575
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
ea6b615179
Made ImGui::PushClipRect()/PopClipRect() public. Changed ImDrawList::PushClipRect() prototype. Fixed demo. ( #610 )
9 years ago
ocornut
4b6e9ac396
ImFont: Added AddRemapChar() helper ( #609 )
9 years ago
ocornut
247da0e01b
BeginGroup() comment tweaks ( #608 )
9 years ago
ocornut
4b51e43d60
BeginGroup() extra comment because this is overused and misleading ( #608 )
9 years ago
ocornut
727ca4bd17
ImFont: IndexLookup stores short instead of int, so typical ascii-set lookup fits in 256 bytes
9 years ago
ocornut
a20d69f9ce
ImFont: Tweaking layout, shaving bit of alignment and simple hot/cot split
9 years ago
ocornut
44fb99542f
ImFont: RenderText() useful directly without ImDrawList::AddText().. Changed prototype. Reserving vertices after skipping non-visible lead.
9 years ago
ocornut
fe73a23cf5
ImFont: Added RenderChar() helper.
9 years ago
ocornut
d92f1deff8
ImDrawList: Added AddQuad(), AddQuadFilled() helpers.
9 years ago
ocornut
006934fd15
Todo items + not using function called isblank() because it may be a macro in some C library
9 years ago
ocornut
77177c18f0
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
1588eda1ac
Version 1.49 WIP
9 years ago
ocornut
95cbcdca3f
Version 1.48
9 years ago
ocornut
4c25de950c
Warning fixes for clang. Using int64_t, may be an issue?
9 years ago
ocornut
e808b7cfca
Style: removed WindowFillAlphaDefault which was confusing and redundant, baked into WindowBg color. Renamed TooltipBg > PopupBG. ( #337 )
...
bg_alpha parameter of 5-parameters version of Begin() is an override,
however that function may become obsolete someday.
9 years ago
ocornut
07df3cfb3e
Added ImGuiWindowFlags_AlwaysUseWindowPadding flag to ensure non-border child window uses window padding ( #462 )
9 years ago
ocornut
8e353af1d3
Renamed ImGuiWindowFlags_Force**Scrollbar to ImGuiWindowFlags_Always**Scrollbar ( #476 )
9 years ago
ocornut
4c1d4233b2
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
650515ce49
Updated todo list and comments
9 years ago
ocornut
d53c308852
Moved EndFrame() back to imgui_internal.h + comments. Undo cfbf06e394
9 years ago
ocornut
f48fc51777
IO: Added unused MultiSelectUsesSuperKey dummy field to convey semantic for OS X compatible behavior ( #473 )
9 years ago
ocornut
aa7a29cdbf
InputText(): Added io.DoubleClickSelectsWord option for OS X compatible behavior ( #473 )
9 years ago
ocornut
587fc60f25
InputText/IO: Added WordMovementUsesAltKey , ShortcutsUseSuperKey for OS X Compatible behavior ( #473 )
9 years ago
ocornut
a6399f120f
IO: Added "Super" keyboard modifiers (corresponding to Cmd on Mac and Windows key in theory although the later is hard to read) ( #473 )
...
NB: Value not used.
9 years ago
ocornut
326c4e40f8
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
cfbf06e394
Comments and moved EndFrame() for imgui_internal.h (for clarity? or extra confusion?)
9 years ago
ocornut
2b7eeba143
Trim trailing spaces
9 years ago
ocornut
04396ed7a9
FAQ and comments about the use of ImTextureID ( #562 , #561 , #521 , #510 , #497 , #475 ...)
9 years ago
ocornut
baabe3b62c
Merge branch 'master' into 2016-02-colorpicker
9 years ago
ocornut
5bed7144fe
ImDrawList: Added AddTriangle() function
9 years ago
ocornut
37d50dccf9
Added GetFontTexUvWhitePixel() helper.
9 years ago
ocornut
a274a09955
Renamed GetWindowFont()->GetFont(), GetWindowFontSize()->GetFontSize() (related to #340 )
9 years ago
ocornut
928832a5bc
Various tidying up / comments, moved columns functions declarations, no functional changes
9 years ago
ocornut
9cbc6e196b
ImDrawList: AddRect() added optional thickness parameter + updated demo
9 years ago
ocornut
86fb3a6a3c
ImDrawList: AddCircle() takes optional thickness parameter
9 years ago
ocornut
a9e303e006
Minor comments
9 years ago