omar
aa34681652
Backends: GLFW: inhibit error callback when creating cursors because X11 setups may be missing them + comment ( #2980 )
5 years ago
omar
9ad4c5da7e
Fix zealous warnings + Internals: Renamed members from XxxxID to XxxxxId to be more consistent with rest of the codebase (still some inconsistency left that are harder to fix)
5 years ago
omar
f6d6880a61
Internals: Nav: PushFocusScope, PopFocusScope, GetFocusScopeID() helpers
5 years ago
omar
2ebe08be40
Focus, Nav: Merged bits from RangeSelect features to enable early manipulation of focus scope for styling purpose.
FocusScopeId is tracked by nav scoring/request and stored in result.
It's all rather WIP and we should reorganize the SetNavIDXXX functions fiasco at some point (soon?).
Didn't separate FocusScope from SelectionScope for now, will re-investigate this later, this is the minimum commit to be able to do some styling.
5 years ago
omar
4f7bf7e96a
Backends: Win32: Added support for #define IMGUI_IMPL_WIN32_DISABLE_GAMEPAD and IMGUI_IMPL_WIN32_DISABLE_LINKING_XINPUT. ( #2716 )
5 years ago
omar
e2eb0b4bc4
Internals: Begin tries to setup WindowTemp/DC members in same order as their declaration. Readme: remove Coverity banner (PVS is better)
5 years ago
omar
02c2d18aa3
Internals: Renaming and marking of legacy focus/tabbing system
5 years ago
omar
52334ad8df
Internals: Minor ordering/comments of ImGuiWindowTempData.
5 years ago
omar
f56962cb9a
ColorEdit: "Copy As" context-menu tool shows hex values with a '#' prefix instead of '0x' + both with/without alpha when available.
5 years ago
omar
ff5299e0e0
Docs: FAQ, Comments.
5 years ago
omar
4b3c5ff5f1
Comments + minor moving
5 years ago
Rokas Kupstys
f03c00bc89
Added imgui_single_file.h, We use this to validate compiling all *.cpp in same compilation unit.
Removed Unity builds stuff from example_null/. CI builds a temporary .cpp file.
5 years ago
Rokas Kupstys
97a8dc6514
CI: Added PVS-Studio static analysis on the continuous-integration server.
5 years ago
Rokas Kupstys
ae1e3619f6
Disable some PVS studio warnings.
V1048: While they are technically correct we want to emphasize assigned values must remain same.
5 years ago
omar
4ee7aa72e9
ButtonBehavior: Default assignment of pressed behavior now also test for ImGuiButtonFlags_PressedOnDragDropHold which wasn't the case before.
5 years ago
omar
1eb71fc72b
ButtonBehavior: Added ImGuiButtonFlags_PressedOnClickReleaseAnywhere behavior ( #2971 )
Rearranged flags. Added tests in 'widgets_button_press'
5 years ago
Rokas Kupstys
00c515f51a
Add glbinding build sample to Makefiles of GL3 examples. ( #2870 )
5 years ago
omar
f9630e60c5
Metrics: Fix not being able to expand "ParentWindow" when parent window is same as root window.
5 years ago
omar
1db78b8ca7
Renaming + missing initialization + missing Changelog update.
5 years ago
Rokas Kupstys
32c33c6659
ColorEdit: Preserve last saturation value when V=0. Disable Hue editing lock.
This workaround is no longer necessary because preserving hue value prevents it from resetting when it is edited in said condition.
5 years ago
Rokas Kupstys
5e2329b98e
Backends: GL3: Implement glbinding opengl loader support. ( #2870 )
5 years ago
Rokas Kupstys
e254167afd
ColorEdit: Fix label alignment when using ImGuiColorEditFlags_NoInputs. ( #2955 )
5 years ago
omar
d581939387
Removed trailing spaces.
5 years ago
omar
22d7f26e06
Tweak wording
Remove Patreon
5 years ago
omar
0dd02dd90d
Happy new year!
Comments, Replaced pictures, Removed Patreon
5 years ago
Zlatan Vasović
2b10e06555
Fix a typo
5 years ago
omar
dc66f83db8
Additional duplicated comments about usage of std::string and input text resize callback ( #2006 , #1443 , #1008 )
5 years ago
omar
854fc08194
Amend f70204f2
to facilitate merges.
5 years ago
omar
061650bd2a
Update Readme
5 years ago
omar
f70204f2f4
Minor bits, placeholder aimed at facilitating merging of Tables branch into Docking
5 years ago
omar
e01fb5462d
Internals: Separator: Simplify duplicated code.
5 years ago
omar
a610f1da52
Bezier Tweaks, fixed parameter order of 3831d50
5 years ago
Rokas Kupstys
3831d50ab9
Add ImBezierClosestPoint() function which returns a point on bezier curve which is closed to a specified point.
5 years ago
omar
0f7105e156
Backends: SDL: Wayland: Use SDL_GetMouseState (amend 78ff147
) ( #2800 , 2802)
5 years ago
NeroBurner-tux
78ff147181
SDL: On wayland use SDL_GetMouseState ( #2802 )
When the SDL Video backend is set to wayland the function
`SDL_GetGlobalMouseState` does not work. Most probably a security measure
for programs to not grab everything the user does
https://wiki.libsdl.org/SDL_GetGlobalMouseState
using SDL_GetMouseState https://wiki.libsdl.org/SDL_GetMouseState works
on wayland
5 years ago
omar
9d444062f9
Limiting Columns()/BeginColumns() api to 64 columns ( #125 )
While the current code technically supports it, future code may not so we're putting the restriction ahead.
5 years ago
omar
10fdc03a46
Clarification about Im helpers + moving GetColorXXX functions outside of that block.
5 years ago
omar
3a800f2dc9
DragFloat: Mention usage of FLT_MAX, INT_MAX etc. explicitly. ( #2931 )
5 years ago
omar
43bd80a40d
Internals: Breaking: ImRect() default constructor initializes all fields with 0.0f
Instead of (FLT_MAX,FLT_MAX,-FLT_MAX,-FLT_MAX). Previous behavior was designed for adding into a bounding box but rarely relied on and not worth it.
5 years ago
omar
6fdde67be2
Documentation, FAQ, todo tweaks
5 years ago
Ben Carter
0e74103659
ImDrawList: Add AddNgon(), AddNgonFilled() API.
5 years ago
omar
f9c26d23de
Removed redirecting functions/enums that were marked obsolete in 1.53 (December 2017).
Comments
5 years ago
omar
e42c1e1668
Exposed IMGUI_DEBUG_PARANOID in imconfig.h + using a #define with no value to match other uses in imconfig.h
5 years ago
Ben Carter
697f15e339
Added PrimUnreserve() API. Obsoleted calling ImDrawList::PrimReserve() with a negative count.
5 years ago
omar
e4a59d0025
TabItem: honor ImGuiTabItemFlags_NoCloseButton passed as parameter (although undocumented and part of private api) ( #2923 )
5 years ago
omar
f656e7775e
Inputs: Added ImGuiMouseButton enum for convenience (e.g. ImGuiMouseButton_Right=1).
We forever guarantee that the existing value will not changes so existing code is free to use 0/1/2.
5 years ago
omar
6cbed03d4a
Comments, clarified mouse button ordering.
5 years ago
Rokas Kupstys
03b7170dac
Backends: GLFW: Added workaround for people who use development version of GLFW which is older than commit that added required cursor support. ( #2922 )
5 years ago
omar
7ff13f4ee1
Examples: Explicitly adding -DIMGUI_IMPL_OPENGL_LOADER_GL3W to Makefile to match linking settings
(otherwise if another loader such as Glew is accessible, the opengl3 backend might automatically use it). [#2919 , #2798 ]
5 years ago
omar
b521cd357d
Removed implicit default parameter to IsMouseDragging(int button = 0) to be consistent with other mouse functions.
(none of the other functions have it).
5 years ago