|
|
@ -25,7 +25,7 @@ namespace MWGui
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
/// Set the implicit object for script execution
|
|
|
|
/// Set the implicit object for script execution
|
|
|
|
void setPtr(const MWWorld::Ptr& object);
|
|
|
|
void setSelectedObject(const MWWorld::Ptr& object);
|
|
|
|
|
|
|
|
|
|
|
|
MyGUI::EditBox* mCommandLine;
|
|
|
|
MyGUI::EditBox* mCommandLine;
|
|
|
|
MyGUI::EditBox* mHistory;
|
|
|
|
MyGUI::EditBox* mHistory;
|
|
|
@ -42,12 +42,9 @@ namespace MWGui
|
|
|
|
virtual void onOpen();
|
|
|
|
virtual void onOpen();
|
|
|
|
virtual void onClose();
|
|
|
|
virtual void onClose();
|
|
|
|
|
|
|
|
|
|
|
|
void onFrame(float dt) { checkReferenceAvailable(); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void setFont(const std::string &fntName);
|
|
|
|
void setFont(const std::string &fntName);
|
|
|
|
|
|
|
|
|
|
|
|
void onResChange(int width, int height);
|
|
|
|
void onResChange(int width, int height);
|
|
|
|
void clear() { resetReference(); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Print a message to the console, in specified color.
|
|
|
|
// Print a message to the console, in specified color.
|
|
|
|
void print(const std::string &msg, const std::string& color = "#FFFFFF");
|
|
|
|
void print(const std::string &msg, const std::string& color = "#FFFFFF");
|
|
|
|