fix things
This commit is contained in:
parent
ae7df4cb63
commit
2c44efeb2f
48 changed files with 315 additions and 394 deletions
28
test.cxx
28
test.cxx
|
|
@ -5,25 +5,25 @@
|
|||
#include <iostream>
|
||||
|
||||
class MyButton : public MwCXX::Button {
|
||||
protected:
|
||||
void OnActivate() {
|
||||
std::cout << "Hello" << std::endl;
|
||||
}
|
||||
protected:
|
||||
void OnActivate() {
|
||||
std::cout << "Hello" << std::endl;
|
||||
}
|
||||
|
||||
public:
|
||||
MWCXX_CONSTRUCTOR(MyButton, MwCXX::Button) {
|
||||
this->SetText("Hello, world!");
|
||||
}
|
||||
public:
|
||||
MWCXX_CONSTRUCTOR(MyButton, MwCXX::Button) {
|
||||
this->SetText("Hello, world!");
|
||||
}
|
||||
};
|
||||
|
||||
class MyWindow : public MwCXX::Window {
|
||||
private:
|
||||
MyButton* epic;
|
||||
private:
|
||||
MyButton* epic;
|
||||
|
||||
public:
|
||||
MWCXX_CONSTRUCTOR(MyWindow, MwCXX::Window) {
|
||||
this->epic = new MyButton("epic app", this, 10, 10, 640 - 10 * 2, 480 - 10 * 2);
|
||||
}
|
||||
public:
|
||||
MWCXX_CONSTRUCTOR(MyWindow, MwCXX::Window) {
|
||||
this->epic = new MyButton("epic app", this, 10, 10, 640 - 10 * 2, 480 - 10 * 2);
|
||||
}
|
||||
};
|
||||
|
||||
int main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue