Subversion Repositories Filer-Free

Rev

Rev 34 | Rev 42 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34 Rev 35
Line 5... Line 5...
5
 
5
 
6
#ifndef FILER_FILER_WINDOW
6
#ifndef FILER_FILER_WINDOW
7
#define FILER_FILER_WINDOW
7
#define FILER_FILER_WINDOW
8
 
8
 
9
#include "directory.h"
9
#include "directory.h"
-
 
10
#include "auto_pos.h"
10
#include "window.h"
11
#include "window.h"
11
#include "filer_options.h"
12
#include "filer_options.h"
12
 
13
 
13
class filer_menu;
14
class filer_menu;
14
class filer_application;
15
class filer_application;
Line 40... Line 41...
40
        int _yccount;
41
        int _yccount;
41
 
42
 
42
        /** The index of the cell temporarily selected while a menu is open,
43
        /** The index of the cell temporarily selected while a menu is open,
43
         * or directory::npos if none. */
44
         * or directory::npos if none. */
44
        directory::size_type _temp_selection;
45
        directory::size_type _temp_selection;
-
 
46
 
-
 
47
        /** The position at which a filer window for a subdirectory will be
-
 
48
         * opened. */
-
 
49
        auto_pos _auto_pos;
45
public:
50
public:
46
        /** Construct filer window.
51
        /** Construct filer window.
47
         * @param app the application to which this filer window belongs
52
         * @param app the application to which this filer window belongs
48
         * @param pathname the pathname of the directory to be viewed
53
         * @param pathname the pathname of the directory to be viewed
49
         * @param box the initial bounding box of the window
54
         * @param box the initial bounding box of the window
Line 141... Line 146...
141
         * @param offset the position at which to open the top left-hand
146
         * @param offset the position at which to open the top left-hand
142
         *  corner of the new filer window, with respect to the top left-hand
147
         *  corner of the new filer window, with respect to the top left-hand
143
         *  corner of this one
148
         *  corner of this one
144
         */
149
         */
145
        void open_parent(const os_coord& offset) const;
150
        void open_parent(const os_coord& offset) const;
-
 
151
 
-
 
152
        /** Run object
-
 
153
         * Note that setting the close parameter does not actually cause
-
 
154
         * the parent window to be closed, however the information is
-
 
155
         * needed because it affected the location at which a child
-
 
156
         * directory is opened.
-
 
157
         * @param info the directory entry for the object to be run
-
 
158
         * @param close true if the parent window is to be closed, otherwise false
-
 
159
         * @param shift true if shift was pressed, otherwise false
-
 
160
         */
-
 
161
        void run(osgbpb_info& info,int close,int shift);
146
};
162
};
147
 
163
 
148
#endif
164
#endif