1998-09-18 06:19:10 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
// File: taskbar.h
|
|
|
|
// Purpose: Defines wxTaskBarIcon class for manipulating icons on the
|
|
|
|
// task bar. Optional.
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Modified by:
|
|
|
|
// Created: 17/09/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c)
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_TASKBAR_H_
|
|
|
|
#define _WX_TASKBAR_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "taskbar.h"
|
|
|
|
#endif
|
|
|
|
|
2001-10-21 08:49:22 -04:00
|
|
|
#include "wx/list.h"
|
|
|
|
#include "wx/icon.h"
|
1998-09-18 06:19:10 -04:00
|
|
|
|
|
|
|
class wxTaskBarIcon: public wxObject
|
|
|
|
{
|
|
|
|
public:
|
2002-02-05 11:34:33 -05:00
|
|
|
wxTaskBarIcon();
|
|
|
|
virtual ~wxTaskBarIcon();
|
|
|
|
|
|
|
|
// Accessors
|
|
|
|
|
|
|
|
// Operations
|
1998-09-18 06:19:10 -04:00
|
|
|
bool SetIcon(const wxIcon& icon, const wxString& tooltip = "");
|
|
|
|
bool RemoveIcon();
|
2002-02-05 11:34:33 -05:00
|
|
|
|
|
|
|
// Overridables
|
1998-09-18 06:19:10 -04:00
|
|
|
virtual void OnMouseMove();
|
|
|
|
virtual void OnLButtonDown();
|
|
|
|
virtual void OnLButtonUp();
|
|
|
|
virtual void OnRButtonDown();
|
|
|
|
virtual void OnRButtonUp();
|
|
|
|
virtual void OnLButtonDClick();
|
|
|
|
virtual void OnRButtonDClick();
|
2002-02-05 11:34:33 -05:00
|
|
|
|
|
|
|
// Data members
|
1998-09-18 06:19:10 -04:00
|
|
|
protected:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2002-02-05 11:34:33 -05:00
|
|
|
// _WX_TASKBAR_H_
|