diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-09-04 09:58:45 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-09-04 09:58:45 +0000 |
commit | 88efdb32b732e4335de0a3f3c93966a6c4d67031 (patch) | |
tree | 3fbd0e39b6f6bdfe8a08ec99fa6253e7105402ea /plugins/!NotAdopted/MirandaG15/src/CContactlistScreen.h | |
parent | ca27f47e6cdaef69d3ab504a1643f692e5ca3c47 (diff) |
Added MirandaG15 plugin sources (not adopted)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5938 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/MirandaG15/src/CContactlistScreen.h')
-rw-r--r-- | plugins/!NotAdopted/MirandaG15/src/CContactlistScreen.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/MirandaG15/src/CContactlistScreen.h b/plugins/!NotAdopted/MirandaG15/src/CContactlistScreen.h new file mode 100644 index 0000000000..3b9a5f6f95 --- /dev/null +++ b/plugins/!NotAdopted/MirandaG15/src/CContactlistScreen.h @@ -0,0 +1,62 @@ +#ifndef _CCONTACTLISTSCREEN_H_
+#define _CCONTACTLISTSCREEN_H_
+
+#include "CScreen.h"
+#include "CContactList.h"
+#include "CLCDBar.h"
+
+class CContactlistScreen : public CScreen
+{
+public:
+ // Constructor
+ CContactlistScreen();
+ // Destructor
+ ~CContactlistScreen();
+
+ // Initializes the screen
+ bool Initialize();
+ // Shutdown the scren
+ bool Shutdown();
+ // Updates the screen
+ bool Update();
+ // Draws the screen
+ bool Draw(CLCDGfx *pGfx);
+
+ // resets the position of the contactlist
+ void ResetPosition();
+
+ // returns the online status of the specified contact
+ int GetContactStatus(HANDLE hContact);
+
+ // Called when a chat session was opened
+ void OnSessionOpened(HANDLE hContact);
+
+ // Called when the configuration has changed
+ void OnConfigChanged();
+ // Called when the screen size has changed
+ void OnSizeChanged();
+ // Called when an event is received
+ void OnEventReceived(CEvent *pEvent);
+ // 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();
+
+private:
+ // updates the use softkey label
+ void UpdateUseSoftkeyLabel();
+
+ CContactList m_ContactList;
+ CLCDBar m_Scrollbar;
+ bool m_bLongPress;
+};
+
+#endif
\ No newline at end of file |