summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CCreditsScreen.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/CCreditsScreen.h')
-rw-r--r--plugins/MirandaG15/src/CCreditsScreen.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/plugins/MirandaG15/src/CCreditsScreen.h b/plugins/MirandaG15/src/CCreditsScreen.h
new file mode 100644
index 0000000000..3873fc2c79
--- /dev/null
+++ b/plugins/MirandaG15/src/CCreditsScreen.h
@@ -0,0 +1,53 @@
+#ifndef _CCREDITSSCREEN_H_
+#define _CCREDITSSCREEN_H_
+
+#include "CScreen.h"
+#include "CLCDLabel.h"
+
+class CCreditsScreen : public CScreen
+{
+public:
+ // Constructor
+ CCreditsScreen();
+ // Destructor
+ ~CCreditsScreen();
+
+ // Initializes the screen
+ bool Initialize();
+ // Shutdown the scren
+ bool Shutdown();
+ // Updates the screen
+ bool Update();
+ // Draws the screen
+ bool Draw(CLCDGfx *pGfx);
+
+ // Called when the configuration has changed
+ void OnConfigChanged();
+ // Called when the screen size has changed
+ void OnSizeChanged();
+ // Called when an LCD-button is pressed
+ void OnLCDButtonDown(int iButton);
+ // Called when an LCD-button event is repeated
+ void OnLCDButtonRepeated(int iButton);
+ // Called when an LCD-button is released
+ void OnLCDButtonUp(int iButton);
+ // Called when the screen is activated
+ void OnActivation();
+ // Called when the screen is deactivated
+ void OnDeactivation();
+ // Called when the screen has expired
+ void OnExpiration();
+
+ // Resets the credits screens state
+ void Reset();
+private:
+
+ CLCDLabel m_Label;
+ CLCDLabel m_Label2;
+
+ DWORD m_dwActivation;
+ DWORD m_dwDuration;
+ int m_iPosition;
+};
+
+#endif \ No newline at end of file