imgui/imgui.spec

69 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package imgui
#
Accepting request 1140581 from home:dirkmueller:Factory - update to 1.10.1: * imgui_freetype: commented out ImGuiFreeType::BuildFontAtlas() obsoleted in 1.81. Prefer using #define IMGUI_ENABLE_FREETYPE or see commented code for manual calls. * Removed CalcListClipping() marked obsolete in 1.86. (#3841) Prefer using ImGuiListClipper which can return non-contiguous ranges. * Internals, Columns: commented out legacy ImGuiColumnsFlags_XXX symbols redirecting to ImGuiOldColumnsFlags_XXX * Commented out obsolete ImGuiKey_KeyPadEnter redirection to ImGuiKey_KeypadEnter. (#2625, #7143) * Navigation (Keyboard/gamepad): - Nav, IO: SetNextFrameWantCaptureKeyboard(false) calls are not overridden back to true when navigation is enabled. SetNextFrameWantCaptureKeyboard() is always higher priority. - Nav: Activation can also be performed with Keypad Enter. * Drag and Drop: - Fixed drop target highlight on items temporarily pushing a widened clip rect (namely Selectables and Treenodes using SpanAllColumn flag) so the highlight properly covers all columns. (#7049, #4281, #3272) * InputText: - InputTextMultiline: Fixed Tab character input not repeating - InputTextMultiline: Tabbing through a multi-line text editor which allows Tab character inputs (using the ImGuiInputTextFlags_AllowTabInput flag) doesn't automatically activate it, in order to allow passing through multiple widgets easily. * Drags, Sliders, Inputs: OBS-URL: https://build.opensuse.org/request/show/1140581 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=16
2024-01-22 12:45:47 +01:00
# Copyright (c) 2024 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
- update to 1.90.4: * Nav: Fixed SetKeyboardFocusHere() or programmatic tabbing API from not working on windows with the ImGuiWindowFlags_NoNavInputs flag (regression in 1.90.2, which among other things broke imgui_memory_editor). * Menus, Popups: Fixed an issue where hovering a parent-menu upward would erroneously close the window. * Popups: Fixed resizable popup minimum size being too small. Standardized minimum size logic. (#7329). * Modals: Temporary changes of ImGuiCol_ModalWindowDimBg are properly handled by BeginPopupModal(). (#7340) * Tables: Angled headers: fixed support for multi-line labels. * Tables: Angled headers: various fixes to accurately handle CellPadding changes. (#6917) * Tables: Angled headers: properly registers horizontal component of angled headers for auto-resizing of columns. (#6917) * Tables: Angled headers: fixed TableAngledHeadersRow() incorrect background fill drawn too low, particularly visible with tables that have no scrolling. (#6917) * ProgressBar: Fixed a minor tesselation issue when rendering rounded progress bars, where in some situations the rounded section wouldn't follow regular tesselation rules. * Debug Tools: Item Picker: Promoted ImGui::DebugStartItemPicker() to public API. (#2673) * Debug Tools: Item Picker: Menu entry visible in Demo->Tools but greyed out unless io.ConfigDebugIsDebuggerPresent is set. * Misc: Added optional alpha multiplier parameter to GetColorU32(ImU32) variant. * Demo: Custom Rendering: better demonstrate PathArcTo(), OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/imgui?expand=0&rev=22
2024-03-24 20:06:05 +01:00
Version: 1.90.4
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