]>
Commit | Line | Data |
---|---|---|
9b6dbb09 JS |
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 | ||
07d08a4d GD |
20 | #include "wx/list.h" |
21 | #include "wx/icon.h" | |
9b6dbb09 JS |
22 | |
23 | class wxTaskBarIcon: public wxObject | |
24 | { | |
25 | public: | |
83df96d6 JS |
26 | wxTaskBarIcon(); |
27 | virtual ~wxTaskBarIcon(); | |
28 | ||
29 | // Accessors | |
30 | ||
31 | // Operations | |
9b6dbb09 JS |
32 | bool SetIcon(const wxIcon& icon, const wxString& tooltip = ""); |
33 | bool RemoveIcon(); | |
83df96d6 JS |
34 | |
35 | // Overridables | |
9b6dbb09 JS |
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(); | |
83df96d6 JS |
43 | |
44 | // Data members | |
9b6dbb09 JS |
45 | protected: |
46 | }; | |
47 | ||
48 | #endif | |
83df96d6 | 49 | // _WX_TASKBAR_H_ |