ocornut
|
da4bfe3289
|
Added GetItemRectSize(). Renamed GetItemRectMin()/GetItemRectMax()/IsMouseHoveringBox() to GetItemRectMin()/GetItemRectMax()/IsMouseHovering
|
10 years ago |
ocornut
|
2e63bf1d16
|
Button() doesn't add frame padding an explicit size
|
10 years ago |
ocornut
|
30bc952ac3
|
Maintaining DC.CursorMaxPos instead of SizeContentsCurrent, simpler, faster and easier to understand.
|
10 years ago |
ocornut
|
fd7f50d269
|
Various fixes related to vertical alignment of text after widget of various sizes. Added demos. Toward #160
Also fixed LabelText() height.
|
10 years ago |
ocornut
|
3bd5597cee
|
Moved text vertical centering out of ItemSize() for the moment, in TextUnformatted() it's only user
|
10 years ago |
ocornut
|
bbaf7e2eee
|
Internal tweaks
|
10 years ago |
ocornut
|
fe2809fecc
|
Changed default Border and Column border colors to be most subtle, less MS-DOS
|
10 years ago |
ocornut
|
7e00a41f1b
|
Speculative warning fix
|
10 years ago |
ocornut
|
cb285c4d35
|
Examples: uses SetNextWindowPos/SetNextWindowSize when applicable
|
10 years ago |
ocornut
|
04358c301e
|
Removed extraneous spaces
|
10 years ago |
omar
|
d4c0ecea0e
|
Merge pull request #159 from adamdmoss/master
Examples: OpenGL: if content window doesn't have focus, tell ImGui we don't have a mouse position.
|
10 years ago |
Adam D. Moss
|
f2ff88b03a
|
opengl3+opengl example: if content window doesn't have focus, tell ImGui we don't have a mouse position. e.g. avoids tooltips popping up in imgui app when you're interacting with a different app window that overlaps it.
|
10 years ago |
ocornut
|
d3e444dfd9
|
Examples: DirectX9: fixed duplicate creation of vertex buffer. Size of static vertex buffer at top of the code.
|
10 years ago |
ocornut
|
f4970d0e00
|
Moved static buffers into state
No recursion in any of those functions. Tho keeping a lock api may be
preferable?
|
10 years ago |
ocornut
|
733eedc477
|
Moved static buffer into state
|
10 years ago |
ocornut
|
d08ce58876
|
TreeNodeV() early out if SkipItems is set (avoid formatting string only to be discarded later)
|
10 years ago |
ocornut
|
0fc9168439
|
Added InputInt2(), InputInt3(), InputInt4()
|
10 years ago |
ocornut
|
9c6c8a1ab9
|
ShowTestWindow() using Unindent() / Indent() instead of an explicit TreePop
|
10 years ago |
ocornut
|
44826972c0
|
Added Indent(), Unindent()
|
10 years ago |
ocornut
|
edde703f8f
|
Renamed style.TreeNodeSpacing to style.IndentSpacing, ImGuiStyleVar_TreeNodeSpacing to ImGuiStyleVar_IndentSpacing
|
10 years ago |
ocornut
|
304d19a0d8
|
ShowTestWindow() added multi-components sliders in a sub-node
+ right align all widgets
|
10 years ago |
ocornut
|
b443c7ebe9
|
Tweak VSliderFloat()
Not really happy about them
|
10 years ago |
ocornut
|
1ac4f33736
|
Added VSliderFloat()
|
10 years ago |
ocornut
|
7019cb10f7
|
"behaviour" -> "behavior" to behave like the greatest number
|
10 years ago |
ocornut
|
c1547dd79e
|
Internal SliderBehaviour() function now supports vertical sliders
|
10 years ago |
ocornut
|
ce8150ce69
|
Slider fix hovering bounding test excluding padding between outer frame and grab
|
10 years ago |
ocornut
|
6da83cd5b7
|
Plot: size provided to PlotHistogram(), PlotLines() include the padding (sorry users).
|
10 years ago |
ocornut
|
98eeeab025
|
Added ImGuiStyleVar_GrabMinSize enum value for PushStyleVar()
|
10 years ago |
ocornut
|
1ef789bb68
|
Slider code tweaks, split into a SliderBehaviour() function
|
10 years ago |
ocornut
|
ce87c69c38
|
Passing ImGuiID by copy (32-bits)
|
10 years ago |
ocornut
|
93befadc0b
|
Slider code tweaks
|
10 years ago |
ocornut
|
06fbeed41a
|
Examples: Fixed Makefile
|
10 years ago |
ocornut
|
55edd522c2
|
Examples: Fixed Makefile
|
10 years ago |
ocornut
|
e97d02a294
|
Examples: Fixed Clang warnings in DirectX examples
|
10 years ago |
ocornut
|
7c9bd71512
|
Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples
|
10 years ago |
ocornut
|
2b0acc128c
|
Examples: MSVC: increase warning level from /W3 to /W4 for DirectX examples
|
10 years ago |
ocornut
|
60591dd7c6
|
Fixed warning and split bit of SliderFloat() into a private ParseFormat() function
|
10 years ago |
ocornut
|
8e0f04638d
|
Examples: Fix includes order to avoid conflicts between DXSDK_DIR and Windows SDK
|
10 years ago |
ocornut
|
e2c4ba21bc
|
Examples: Added 64-bit projects for MSVC
|
10 years ago |
ocornut
|
ef957b7878
|
Examples: Moved GLFW/GL3W to a common libs/ folder
|
10 years ago |
ocornut
|
834085c90c
|
Examples: Updated to GLFW 3.1
|
10 years ago |
ocornut
|
72855becab
|
Slider code syntax tweaks
|
10 years ago |
ocornut
|
eff466d77d
|
Fixed parsing of decimal precision back from format string when using %%
|
10 years ago |
ocornut
|
110d96034b
|
SliderFloat() fast-path when power=1.0f (no powf() calls) also makes code easier to read
|
10 years ago |
ocornut
|
aaca73de15
|
Refactor SliderFloat() internals into a helper SliderFloatAsInputText() + some comments
|
10 years ago |
ocornut
|
4d78c5c9ab
|
Comments and reduced ImGuiTextEditState.InitialText[] to 3 KB (assuming average use case of UTF-8 uses 3 bytes charracters)
|
10 years ago |
ocornut
|
ceb4da2038
|
Comments
|
10 years ago |
ocornut
|
55093ea8fe
|
Separator() logs itself as text
|
10 years ago |
ocornut
|
153454a0fb
|
Example console keeps focus on input box at all times
|
10 years ago |
ocornut
|
1c1a55f6b1
|
Added IsRootWindowFocused(), IsRootWindowOrAnyChildFocused(). Renamed GetWindowIsFocused() to IsWindowFocused()
|
10 years ago |