mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-03 17:37:18 +00:00
4921c6ef9e
Fix transparent window background not applying to the header bar (Fixes #2294)
30 lines
1.2 KiB
C++
30 lines
1.2 KiB
C++
#include "widgets.hpp"
|
|
|
|
#include <MyGUI_FactoryManager.h>
|
|
|
|
#include "list.hpp"
|
|
#include "numericeditbox.hpp"
|
|
#include "box.hpp"
|
|
#include "imagebutton.hpp"
|
|
#include "sharedstatebutton.hpp"
|
|
#include "windowcaption.hpp"
|
|
|
|
namespace Gui
|
|
{
|
|
|
|
void registerAllWidgets()
|
|
{
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::MWList>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::HBox>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::VBox>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::AutoSizedTextBox>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::AutoSizedEditBox>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::AutoSizedButton>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::ImageButton>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::NumericEditBox>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::SharedStateButton>("Widget");
|
|
MyGUI::FactoryManager::getInstance().registerFactory<Gui::WindowCaption>("Widget");
|
|
}
|
|
|
|
}
|