~ubuntu-branches/debian/sid/filezilla/sid

« back to all changes in this revision

Viewing changes to src/interface/filelist_statusbar.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Cécile (Le_Vert)
  • Date: 2008-07-05 21:00:24 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705210024-mvzp21zlyheschi6
Tags: 3.0.11.1-1
* wxWidgets 2.8 just entered unstable ! Upload to unstable.
* New upstream release.
* Bump Standards-Version to 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __FILELIST_STATUSBAR_H__
 
2
#define __FILELIST_STATUSBAR_H__
 
3
 
 
4
class CFilelistStatusBar : public wxStatusBar
 
5
{
 
6
public:
 
7
        CFilelistStatusBar(wxWindow* pParent);
 
8
 
 
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();
 
12
        void UpdateText();
 
13
 
 
14
        void AddFile(const wxLongLong& size);
 
15
        void RemoveFile(const wxLongLong& size);
 
16
        void AddDirectory();
 
17
        void RemoveDirectory();
 
18
 
 
19
        void SelectAll();
 
20
        void UnselectAll();
 
21
        void SelectFile(const wxLongLong &size);
 
22
        void UnselectFile(const wxLongLong &size);
 
23
        void SelectDirectory();
 
24
        void UnselectDirectory();
 
25
 
 
26
protected:
 
27
 
 
28
        int m_count_files;
 
29
        int m_count_dirs;
 
30
        wxLongLong m_total_size;
 
31
        int m_unknown_size; // Set to true if there are files with unknown size
 
32
        int m_hidden;
 
33
 
 
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
 
38
 
 
39
        wxTimer m_updateTimer;
 
40
 
 
41
        DECLARE_EVENT_TABLE()
 
42
        void OnTimer(wxTimerEvent& event);
 
43
};
 
44
 
 
45
#endif //__FILELIST_STATUSBAR_H__