1
#ifndef __FILELIST_STATUSBAR_H__
2
#define __FILELIST_STATUSBAR_H__
4
class CFilelistStatusBar : public wxStatusBar
7
CFilelistStatusBar(wxWindow* pParent);
9
void SetDirectoryContents(int count_files, int count_dirs, const wxLongLong &total_size, int unknown_size, int hidden);
10
void SetHidden(int hidden);
11
void TriggerUpdateText();
14
void AddFile(const wxLongLong& size);
15
void RemoveFile(const wxLongLong& size);
17
void RemoveDirectory();
21
void SelectFile(const wxLongLong &size);
22
void UnselectFile(const wxLongLong &size);
23
void SelectDirectory();
24
void UnselectDirectory();
30
wxLongLong m_total_size;
31
int m_unknown_size; // Set to true if there are files with unknown size
34
int m_count_selected_files;
35
int m_count_selected_dirs;
36
wxLongLong m_total_selected_size;
37
int m_unknown_selected_size; // Set to true if there are files with unknown size
39
wxTimer m_updateTimer;
42
void OnTimer(wxTimerEvent& event);
45
#endif //__FILELIST_STATUSBAR_H__