Add project files.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Panel size="400,400">
|
||||
<debug/>
|
||||
<Layout>
|
||||
<Label align="left" text="Hello world Left" />
|
||||
<Label align="center" text="Hello world Center" />
|
||||
<Label align="right" text="Hello world Right" />
|
||||
</Layout>
|
||||
</Panel>
|
||||
@@ -0,0 +1,23 @@
|
||||
#include "cQuitButton.hpp"
|
||||
|
||||
using Input::cQuitButton;
|
||||
|
||||
cQuitButton::cQuitButton( SDL_Keycode key, Equipment::cCourt** court )
|
||||
: cKey( key ), mpp_court(court)
|
||||
{}
|
||||
|
||||
cQuitButton::~cQuitButton()
|
||||
{}
|
||||
|
||||
///Funtions
|
||||
void cQuitButton::KeyPress()
|
||||
{}
|
||||
|
||||
void cQuitButton::KeyUP()
|
||||
{}
|
||||
|
||||
void cQuitButton::KeyDown()
|
||||
{
|
||||
if (mpp_court != nullptr && *mpp_court != nullptr)
|
||||
(*mpp_court)->Quit();
|
||||
}
|
||||
Reference in New Issue
Block a user