]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////// | |
2 | // File: taskbar.h | |
3 | // Purpose: Defines wxTaskBarIcon class for manipulating icons on the | |
4 | // task bar. Optional. | |
5 | // Author: Julian Smart | |
6 | // Modified by: | |
7 | // Created: 17/09/98 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) | |
10 | // Licence: wxWindows licence | |
11 | ///////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #ifndef _WX_TASKBAR_H_ | |
14 | #define _WX_TASKBAR_H_ | |
15 | ||
16 | #ifdef __GNUG__ | |
17 | #pragma interface "taskbar.h" | |
18 | #endif | |
19 | ||
20 | #include "wx/list.h" | |
21 | #include "wx/icon.h" | |
22 | ||
23 | class wxTaskBarIcon: public wxObject | |
24 | { | |
25 | public: | |
26 | wxTaskBarIcon(); | |
27 | virtual ~wxTaskBarIcon(); | |
28 | ||
29 | // Accessors | |
30 | ||
31 | // Operations | |
32 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = ""); | |
33 | bool RemoveIcon(); | |
34 | ||
35 | // Overridables | |
36 | virtual void OnMouseMove(); | |
37 | virtual void OnLButtonDown(); | |
38 | virtual void OnLButtonUp(); | |
39 | virtual void OnRButtonDown(); | |
40 | virtual void OnRButtonUp(); | |
41 | virtual void OnLButtonDClick(); | |
42 | virtual void OnRButtonDClick(); | |
43 | ||
44 | // Data members | |
45 | protected: | |
46 | }; | |
47 | ||
48 | #endif | |
49 | // _WX_TASKBAR_H_ |