Created
August 13, 2014 12:56
-
-
Save IntelOrca/a428a9a62c21820a6d1a to your computer and use it in GitHub Desktop.
New window classes for OpenRCT2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TabWindow : Window { | |
public: | |
void AddTab(WindowTab tab); | |
} | |
class ParkInformationWindow : TabWindow { | |
public: | |
ParkInformationWindow() | |
{ | |
this->allowMany = false; | |
} | |
override void OnCreate() | |
{ | |
this->addTab(new WindowTab()) | |
} | |
private: | |
class MainPage : TabPage { | |
public: | |
override void OnShow() | |
{ | |
this->setMinimumSize(200, 300); | |
this->setSize(200, 300); | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment