]>
Commit | Line | Data |
---|---|---|
0dbd6262 SC |
1 | ///////////////////////////////////////////////////////////////////////// |
2 | // File: taskbar.h | |
e40298d5 | 3 | // Purpose: Defines wxTaskBarIcon class for manipulating icons on the |
0dbd6262 | 4 | // task bar. Optional. |
a31a5f85 | 5 | // Author: Stefan Csomor |
0dbd6262 | 6 | // Modified by: |
a31a5f85 | 7 | // Created: 1998-01-01 |
0dbd6262 SC |
8 | // RCS-ID: $Id$ |
9 | // Copyright: (c) | |
e40298d5 | 10 | // Licence: wxWindows licence |
0dbd6262 SC |
11 | ///////////////////////////////////////////////////////////////////////// |
12 | ||
13 | #ifndef _WX_TASKBAR_H_ | |
14 | #define _WX_TASKBAR_H_ | |
15 | ||
af49c4b8 | 16 | #if defined(__GNUG__) && !defined(__APPLE__) |
0dbd6262 SC |
17 | #pragma interface "taskbar.h" |
18 | #endif | |
19 | ||
cba5db5f GD |
20 | #include "wx/list.h" |
21 | #include "wx/icon.h" | |
0dbd6262 SC |
22 | |
23 | class wxTaskBarIcon: public wxObject | |
24 | { | |
25 | public: | |
e40298d5 JS |
26 | wxTaskBarIcon(); |
27 | virtual ~wxTaskBarIcon(); | |
0dbd6262 SC |
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_ |