Subversion Repositories Filer-Free

Rev

Rev 63 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 63 Rev 64
Line 1... Line 1...
1
// This file is part of the free Filer module for RISC OS.
1
// This file is part of the free Filer module for RISC OS.
2
// Copyright © 2007 Graham Shaw.
2
// Copyright © 2007 Graham Shaw.
3
// Redistribution and modification are permitted under the terms of the
3
// Redistribution and modification are permitted under the terms of the
4
// GNU General Public License (version 2 or any later version).
4
// GNU General Public License (version 2 or any later version).
5
 
5
 
-
 
6
#include <new>
-
 
7
 
6
#include "oslib/os.h"
8
#include "oslib/os.h"
7
#include "oslib/wimp.h"
9
#include "oslib/wimp.h"
8
 
10
 
9
#include "layout_method.h"
11
#include "layout_method.h"
10
#include "filer_window.h"
12
#include "filer_window.h"
Line 92... Line 94...
92
        box.y0=pos.y;
94
        box.y0=pos.y;
93
        box.x1=pos.x;
95
        box.x1=pos.x;
94
        box.y1=pos.y;
96
        box.y1=pos.y;
95
 
97
 
96
        // Open new filer window.
98
        // Open new filer window.
-
 
99
        new(std::nothrow) filer_window(
97
        new filer_window(this,message.dir_name,box,get_default_options());
100
                this,message.dir_name,box,get_default_options());
98
}
101
}
99
 
102
 
100
void filer_application::handle_mode_change()
103
void filer_application::handle_mode_change()
101
{
104
{
102
        // Get size of screen in pixels (less one).
105
        // Get size of screen in pixels (less one).