7 |
|
|
8 |
This is the startup screen you will see when starting up AXIS. it has buttons to get a game started. |
This is the startup screen you will see when starting up AXIS. it has buttons to get a game started. |
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
20 |
|
|
21 |
TO-DO & EXPANSION LIST |
TO-DO & EXPANSION LIST |
22 |
---------------------- |
---------------------- |
23 |
- needs a revolving panel |
|
24 |
|
|
25 |
|
|
26 |
|
|
30 |
#ifndef UISCREEN_START_H |
#ifndef UISCREEN_START_H |
31 |
#define UISCREEN_START_H |
#define UISCREEN_START_H |
32 |
|
|
|
#include "uiscreen.h" |
|
33 |
#include "renderman.h" |
#include "renderman.h" |
34 |
|
|
35 |
#include "paragui.h" |
#include "paragui.h" |
38 |
#include "pgimage.h" |
#include "pgimage.h" |
39 |
#include "pgfont.h" |
#include "pgfont.h" |
40 |
#include "pgthemewidget.h" |
#include "pgthemewidget.h" |
41 |
|
#include "pgeventobject.h" // do i handle callbacks? |
42 |
|
|
43 |
|
#include "../core/pointerhub.h" |
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
/** This is the front "splash" screen with basic game functions */ |
/** This is the front "splash" screen with basic game functions */ |
50 |
class UIScreen_Start: public UIScreen { |
class UIScreen_Start: public PG_ThemeWidget, public PG_EventObject, public PointerHub { |
51 |
public: |
public: |
52 |
|
|
53 |
UIScreen_Start(PG_Widget* parent, const PG_Rect &r); |
UIScreen_Start(PG_Widget* parent, const PG_Rect &r); |
54 |
virtual ~UIScreen_Start(); |
virtual ~UIScreen_Start(); |
55 |
|
|
56 |
|
PG_Button* GetStartButton(); |
57 |
|
PG_Button* GetLoadButton(); |
58 |
|
PG_Button* GetAboutButton(); |
59 |
|
|
60 |
// events |
// events |
61 |
PARAGUI_CALLBACK(handle_start_new); |
PARAGUI_CALLBACK(handle_start_new); |
62 |
PARAGUI_CALLBACK(handle_load_game); |
PARAGUI_CALLBACK(handle_load_game); |
70 |
|
|
71 |
PG_Font* ibfont; |
PG_Font* ibfont; |
72 |
|
|
73 |
|
|
74 |
}; |
}; |
75 |
|
|
76 |
#endif |
#endif |