57 ImportDialogScreenController::ImportDialogScreenController(
PopUps* popUps): popUps(popUps)
74 screenNode = GUIParser::parse(
"resources/engine/gui",
"popup_modelimport.xml");
80 Console::println(
"ImportDialogScreenController::initialize(): An error occurred: " +
string(exception.what()));
102 if (node->
getId() ==
"modelimport_boundingvolume_node") {
105 if (node->
getId() ==
"modelimport_lod1_node") {
108 if (node->
getId() ==
"modelimport_lod2_node") {
111 if (node->
getId() ==
"modelimport_boundingvolume_open") {
114 "Load bounding volume model from: ",
115 ModelReader::getModelExtensions(),
121 if (node->
getId() ==
"modelimport_lod1_open") {
124 "Load LOD1 model from: ",
125 ModelReader::getModelExtensions(),
131 if (node->
getId() ==
"modelimport_lod2_open") {
134 "Load LOD2 model from: ",
135 ModelReader::getModelExtensions(),
141 if (StringTools::startsWith(node->
getId(),
"modelimport_caption_close_") ==
true) {
Application base class, please make sure to allocate application on heap to have correct application ...
GUI node controller base class.
virtual void setValue(const MutableString &value)=0
Set value.
const string & getToolTip()
GUINodeController * getController()
GUIScreenNode * getScreenNode()
GUI screen node that represents a screen that can be rendered via GUI system.
void setEnabled(bool enabled)
Set enabled.
void addTooltipRequestListener(GUITooltipRequestListener *listener)
Add tooltip request listener.
void addActionListener(GUIActionListener *listener)
Add action listener.
void invalidateLayouts()
Actually do the nodes marked for layout invalidation.
GUINode * getNodeById(const string &nodeId)
Get GUI node by id.
Mutable utf8 aware string class.
std::exception Exception
Exception base class.
GUI action listener interface.
GUI focus listener interface.