mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 00:19:56 +00:00
25 lines
936 B
C++
25 lines
936 B
C++
#include "widgets.hpp"
|
|
|
|
#include <MyGUI_FactoryManager.h>
|
|
|
|
#include "list.hpp"
|
|
#include "numericeditbox.hpp"
|
|
#include "box.hpp"
|
|
#include "imagebutton.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");
|
|
}
|
|
|
|
}
|