omar
40845852b9
Fixed warnings + readme
ago%!(EXTRA string=7 years)
Omar Cornut
a402edb66c
Examples: OSX: Added clipboard support. Fixed ignore list for xcode cruft. Comments about broken keys. ( #1873 )
ago%!(EXTRA string=7 years)
omar
9a5f742e63
Fixed merge.
ago%!(EXTRA string=7 years)
omar
185b4dde87
Examples: Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag. Added clipboard support. Unindexing buffers ourselves as Allegro indexed drawing primitives are buggy in the DirectX9 back-end.
ago%!(EXTRA string=7 years)
omar
087ab2acbf
Examples: Fixed example vcproj names in Viewport branch.
ago%!(EXTRA string=7 years)
omar
be4b8b5615
Internals: Added GetItemID(), GetFocusID() for consistency. Made GetActiveID() inline. Comments, fixed typos, demo tweaks.
ago%!(EXTRA string=7 years)
Omar Cornut
e54b61aa0f
Examples: OSX: Fixed obsolete enums. Fixed keyboard mapping. Added missing keyboard modifiers. ( #1873 )
ago%!(EXTRA string=7 years)
omar
f96c7fac91
Examples: FreeGLUT: Fixed mapping of Space key. ( #801 )
ago%!(EXTRA string=7 years)
omar
cdf51cad2d
Comments, documentation
ago%!(EXTRA string=7 years)
omar
a1b6766d43
Examples: FreeGLUT: Added FreeGLUT bindings. Added FreeGLUT+OpenGL2 example. ( #801 )
ago%!(EXTRA string=7 years)
omar
bdb3d72d37
Examples: Win32: Fixed handling of mouse wheel messages to support finer position messages (typically sent by track-pads). ( #1874 )
ago%!(EXTRA string=7 years)
omar
7acb46bec5
Examples: Comments to make ImGuiConfigFlags_NoMouseCursorChange more visible ( #1027 ). + Allegro5: Added support for ImGuiConfigFlags_NoMouseCursorChange flag.
ago%!(EXTRA string=7 years)
omar
fac0c801da
Examples: Added imgui_impl_osx.mm bindings ( #1870 , #281 )
ago%!(EXTRA string=7 years)
omar
6f7b7807ad
Fixed Travis path + various paths in comments/documentations
ago%!(EXTRA string=7 years)
omar
5a13e4dcde
Examples: Renamed imgui_impl_sdl2.cpp to imgui_impl_sdl.cpp ( #1870 ) + changelog bits
ago%!(EXTRA string=7 years)
omar
8d58fbb5ed
Examples: Renamed example folders. ( #1870 )
ago%!(EXTRA string=7 years)
omar
85f9694bd4
Big example binding refactor (manually imported from Viewport branch, stripped out of Viewport code). ( #1870 )
...
Read examples/README.txt for some details.
ImDrawData: Added DisplayPos, DisplaySize fields honored by all backends (not strictly necessary to honor just now, but doing it to be ahead)
ago%!(EXTRA string=7 years)
omar
24fc7c30dd
Examples: Documentation
ago%!(EXTRA string=7 years)
omar
06aa9d8d9a
Examples: Fixed Makefile, batch files.
ago%!(EXTRA string=7 years)
omar
8c374512fd
Examples, Platform: Removed the call to ImGui::NewFrame() from the platform _NewFrame() function e.g. ImGui_ImplWin32_NewFrame(), ImGui_ImplSDL2_NewFrame(), ImGui_ImplGlfw_NewFrame(), etc. Moved to main.cpp for consistency. ( #1542 )
ago%!(EXTRA string=7 years)
omar
77d51ebf24
Examples: Added .. folder in include path to remove the awkward #include "../imgui_impl_xxx.h" statements.
ago%!(EXTRA string=7 years)
omar
929522febe
Missing examples changelog bits and todo list
ago%!(EXTRA string=7 years)
omar
9770c8b21d
Examples: OpenGL3: Removed unnecessary backup/restore of GL_ELEMENT_ARRAY_BUFFER_BINDING since this is part of the VAO state. ( #1836 )
ago%!(EXTRA string=7 years)
omar
5fd23eeb74
Examples: iOS: Fixed missing call to CreateContext() + various shallow coding style tweaks. ( #1835 )
ago%!(EXTRA string=7 years)
omar
bef0a13283
Examples: Comments about GLSL version not being the same as GL context version. ( #1828 )
ago%!(EXTRA string=7 years)
omar
663e2c9237
Examples: GLFW: Made it possible to Shutdown/Init the backend again (by reseting the time storage properly). Changelog. Added to Vulkan example. ( #1827 )
ago%!(EXTRA string=7 years)
ice1000
e8a72d3e72
Examples: GLFW* Make subsequent window creation possible.
ago%!(EXTRA string=7 years)
omar
19544629be
Examples: OpenGL3: Trying to make the call to glBindSampler optional to make the example code easier to use/share with different context version. ( #1806 )
ago%!(EXTRA string=7 years)
omar
090eb437ed
Viewport, Platform: Cleaned up xxx_UpdateMouseCursor() functions to make them more consistent. ( #1542 )
ago%!(EXTRA string=7 years)
omar
d574604a5d
Viewport, Platform: Win32: Fixed handling of io.WantSetMousePos + added a bunch of comments. GLFW, SDL2: Added handling of io.WantSetMousePos. ( #1542 )
ago%!(EXTRA string=7 years)
omar
6eacddb50f
Viewport: Changed Monitor field to use Pos+Size (more consistent), changed FullMin,FullMax to MainPos,MainSize. Made main viewport accessible in PlatformIO on first frame. Fixed casing of ImGuiViewportFlags_TopMost flag. ( #1542 )
ago%!(EXTRA string=7 years)
omar
39f4761ff7
TODO list update + Changelog and comments for #1803 .
ago%!(EXTRA string=7 years)
Elias Daler
895647a240
Fixed clipboard paste memory leak in SDL examples. ( #1803 )
ago%!(EXTRA string=7 years)
omar
4310bad32a
Examples: DirectX9: Comments, updated changelog, notes about usage of imconfig.h ( #1790 , #1687 )
ago%!(EXTRA string=7 years)
SR_team
d0051ce5cb
add renderstate D3DRS_SHADEMODE for Dx9 impl
...
add backuping transform for Dx9 impl
(#1790 , #1687 )
ago%!(EXTRA string=7 years)
omar
cd51f37fc0
Viewport, Platform: Refresh monitor list (win32, glfw) + avoid calling GetWindowFocus before platform window creation to not require of backend to null-check things inconsistently. ( #1542 )
ago%!(EXTRA string=7 years)
omar
da70c837da
Viewport: Removed unnecessary fields (now that the coordinate system is consistent accross viewports): MouseRefPrevViewport, MouseClickedPosViewportId. ( #1542 )
ago%!(EXTRA string=7 years)
omar
eb1c36fdfb
Added IMGUI_CHECKVERSION() macro to compare version string and data structure sizes in order to catch issues with mismatching compilation unit settings. ( #1695 , #1769 )
ago%!(EXTRA string=7 years)
omar
7a41e0b1ea
Platform: Added platform_io.Platform_SetWindowFocus, Platform_GetWindowFocus function wrappers (unused yet). Exact specs tbd because our simplified concept of focus doesn't necessary match the more complex OS native concepts. ( #1542 )
ago%!(EXTRA string=7 years)
omar
e3e4b7bdf5
Viewport: Fixed mouse hover flicker on mouse button release frame after moving a window. ( #1542 )
...
Platform: Clarifying some comments in back-ends.
ago%!(EXTRA string=7 years)
omar
cb78e62df9
Viewport, Platform: Fixed IME positioning for multi-viewport. Moved API from ImGuiIO to ImGuiPlatformIO. Because it is extremely unlikely to people redefined this API manually the moving-forward-breakage is ok. ( #1542 )
...
SDL2 ime support under Win32 never worked properly because of SDL interferences.
ago%!(EXTRA string=7 years)
omar
376f2aec54
Viewport: Clamp windows within monitors + fallback rescue window when it is out of sight (e.g. removed monitor, changed resolution) + Win32: declare primary monitor at the beginning of the list. ( #1542 )
ago%!(EXTRA string=7 years)
omar
d268471285
Viewport: Added ImGuiConfigFlags_ViewportsNoMerge flag (to enforce a platform window for all floating windows) + minor tidying up and addition of non-functional wip code.
ago%!(EXTRA string=7 years)
omar
423577e14e
Viewport, Platforms: SDL: Fixed initial focus click being ignored as a mouse button. GLFW: Fixed mouse cursor support for multi-viewport with GLFW 3.3 (current master) - somehow doesn't appear to work with GLFW 3.2 but I'm not too fussed about it. ( #1542 )
ago%!(EXTRA string=7 years)
omar
4433ce4312
Viewport, Platform: Added work area in ImGuiPlatformMonitor. Renamed fields. ( #1542 )
ago%!(EXTRA string=7 years)
omar
456bbffcc4
Viewport: Switched to using unified platform-absolute mouse coordinates, which simplify lots of problems and simplify/reduce tricky conversions, makes ImVec2 less ambiguous. Fixed various viewport/windowing/popups/synchronization bugs. Settings on host-viewport are stored as relative (made settings decently compatible between viewport enable/disabled settings). Merged ImGuiViewport::Pos and ::PlatformPos. Tweaked thumbnails. Better, smaller code. ( #1542 )
ago%!(EXTRA string=7 years)
omar
17a7f352b5
Viewporrt. Examples: DirectX10,11: Make the platform SetWindowSize handler not crash on failure to resize, which could happen (rarely) on invalid data or bug in the code.
ago%!(EXTRA string=7 years)
omar
637d9c42bf
Viewport: WIP for Tooltips, Popups, Menus to create their own viewport. Resizing a window allows it to leave the main viewport. ( #1542 )
ago%!(EXTRA string=7 years)
omar
bcac02809f
Examples: Allegro 5: Renamed bindings from imgui_impl_a5.cpp to imgui_impl_allegro5.cpp.
ago%!(EXTRA string=7 years)
omar
3913297384
Examples: Allegro 5: Added support for 32-bit indices setup via defining ImDrawIdx, to avoid an unecessary conversion (Allegro 5 doesn't support 16-bit indices).
ago%!(EXTRA string=7 years)