1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-22 14:26:36 +00:00

Convert UI widgets to local scrollbar implementation

This commit is contained in:
Andrew Lanzone 2025-05-11 22:30:58 -07:00
parent b2620c861a
commit 8f415ceab6
2 changed files with 8 additions and 5 deletions

View file

@ -3,6 +3,8 @@
#include "windowbase.hpp"
#include <components/widgets/scrollbar.hpp>
namespace Gui
{
class NumericEditBox;
@ -24,7 +26,7 @@ namespace MWGui
EventHandle_WidgetInt eventOkClicked;
private:
MyGUI::ScrollBar* mSlider;
Gui::ScrollBar* mSlider;
Gui::NumericEditBox* mItemEdit;
MyGUI::TextBox* mItemText;
MyGUI::TextBox* mLabelText;

View file

@ -5,6 +5,7 @@
#include <components/esm3/loadmgef.hpp>
#include <components/esm3/loadspel.hpp>
#include <components/widgets/scrollbar.hpp>
#include "referenceinterface.hpp"
#include "windowbase.hpp"
@ -57,10 +58,10 @@ namespace MWGui
MyGUI::TextBox* mDurationValue;
MyGUI::TextBox* mAreaValue;
MyGUI::ScrollBar* mMagnitudeMinSlider;
MyGUI::ScrollBar* mMagnitudeMaxSlider;
MyGUI::ScrollBar* mDurationSlider;
MyGUI::ScrollBar* mAreaSlider;
Gui::ScrollBar* mMagnitudeMinSlider;
Gui::ScrollBar* mMagnitudeMaxSlider;
Gui::ScrollBar* mDurationSlider;
Gui::ScrollBar* mAreaSlider;
MyGUI::TextBox* mAreaText;