SHA256
6
0
forked from pool/imgui
imgui/imgui.spec

69 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package imgui
#
Accepting request 1056351 from home:dirkmueller:Factory - update to v1.89.2: * Tables, Nav, Scrolling: fixed scrolling functions and focus tracking with frozen rows and frozen columns. Windows now have a better understanding of outer/inner decoration sizes, which should later lead us toward more flexible uses of menu/status bars. (#5143, #3692) * Tables, Nav: frozen columns are not part of menu layer and can be crossed over. (#5143, #3692) * Tables, Columns: fixed cases where empty columns may lead to empty ImDrawCmd. (#4857, #5937) * Tables: fixed matching width of synchronized tables (multiple tables with same id) when only some instances have a vertical scrollbar and not all. (#5920) * Fixed cases where CTRL+Tab or Modal can occasionally lead to the creation of ImDrawCmd with zero triangles, which would makes the render loop of some backends assert (e.g. Metal with debugging, Allegro). (#4857, #5937) * Inputs, IO: reworked ImGuiMod_Shortcut to redirect to Ctrl/Super at runtime instead of compile-time, being consistent with our support for io.ConfigMacOSXBehaviors and making it easier for bindings generators to process that value. (#5923, #456) * Inputs, Scrolling: better selection of scrolling window when hovering nested windows and when backend/OS is emitting dual-axis wheeling inputs (typically touch pads on macOS). We now select a primary axis based on recent events, and select a target window based on it. We expect this behavior to be further improved/tweaked. (#3795, #4559) [@ocornut, @folays] * InputText: fixed cursor navigation when pressing Up Arrow on the last character of a multi-line buffer which doesn't end with a carriage return. (#6000) * Text: fixed layouting of wrapped-text block when the last source line is OBS-URL: https://build.opensuse.org/request/show/1056351 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=8
2023-01-20 22:55:40 +00:00
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: imgui
Accepting request 1089473 from home:dirkmueller:Factory - update to 1.89.5: * InputText: Reworked prev/next-word behavior to more closely match Visual Studio text editor. Include '.' as a delimiter and alter varying subtle behavior with how blanks and separators are treated when skipping words. * InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true, in order to allow usage without user retaining underlying data. While we don't really want to encourage user not retaining underlying data, in the absence of a "late commit" behavior/flag we understand it may be desirable to take advantage of this trick. * Drag, Sliders: Fixed parsing of text input when '+' or '#' format flags are used in the format string. * Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register ownership to held modifier so it doesn't interfere with other code when remapping those actions. * Nav: Made PageUp/PageDown/Home/End navigation also scroll parent windows when necessary to make the target location fully visible (same as e.g. arrow keys). * ColorEdit: Fixed shading of S/V triangle in Hue Wheel mode. * TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). * Rendering: Using adaptive tessellation for RadioButton, ColorEdit preview circles, Windows Close and Collapse Buttons. * ButtonBehavior: Fixed an edge case where changing widget type/behavior while active and using same id could lead to an assert. * Misc: Fixed ImVec2 operator[] violating aliasing rules causing issue with Intel C++ compiler. (#6272) [@BayesBug] OBS-URL: https://build.opensuse.org/request/show/1089473 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=10
2023-06-01 07:58:55 +00:00
Version: 1.89.5
Release: 0
Summary: Immediate Mode Graphical User interface for C++ with minimal dependencies
License: MIT
Group: System/Libraries
URL: https://www.dearimgui.org
Source: https://github.com/ocornut/imgui/archive/v%{version}.tar.gz
BuildRequires: c++_compiler
BuildRequires: make
%description
ImGui is a bloat-free graphical user interface library for C++. It outputs
optimized vertex buffers that you can render anytime in your 3D-pipeline
enabled application. It is fast, portable, renderer agnostic and self-contained
(no external dependencies).
ImGui is designed to enable fast iteration and empower programmers to create
content creation tools and visualization/ debug tools (as opposed to UI for the
average end-user). It favors simplicity and productivity toward this goal, and
thus lacks certain features normally found in more high-level libraries.
ImGui is particularly suited to integration in realtime 3D applications,
fullscreen applications, embedded applications, games, or any applications on
consoles platforms where operating system features are non-standard.
%package devel
Summary: Development files for ImGui
Group: Development/Libraries/C and C++
%description devel
ImGui is self-contained within a few files that you can easily copy and compile
into your application/engine.
No specific build process is required. You can add the .cpp files to your
project or #include them from an existing file.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{_includedir}/imgui
cp *.h %{buildroot}%{_includedir}/imgui
%files devel
%{_includedir}/imgui
%changelog