Implement wxAppProgressIndicator.
An helper class used for updating the progress of taskbar button. Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -162,6 +162,22 @@ private:
|
||||
int m_iconIndex;
|
||||
};
|
||||
|
||||
class WXDLLIMPEXP_CORE wxAppProgressIndicator
|
||||
{
|
||||
public:
|
||||
wxAppProgressIndicator(wxTopLevelWindow *parent, int maxValue);
|
||||
virtual ~wxAppProgressIndicator() { }
|
||||
bool Update(int value);
|
||||
bool Pulse();
|
||||
|
||||
private:
|
||||
void Init();
|
||||
|
||||
wxTopLevelWindow *m_parent;
|
||||
int m_maxValue;
|
||||
wxScopedPtr<wxTaskBarButton> m_taskBarButton;
|
||||
};
|
||||
|
||||
typedef wxVector<wxJumpListItem> wxJumpListItems;
|
||||
|
||||
class WXDLLIMPEXP_CORE wxJumpList
|
||||
|
Reference in New Issue
Block a user