/[pcsx2_0.9.7]/trunk/pcsx2/gui/Panels/PathsPanel.cpp
ViewVC logotype

Contents of /trunk/pcsx2/gui/Panels/PathsPanel.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 280 - (show annotations) (download)
Thu Dec 23 12:02:12 2010 UTC (9 years, 2 months ago) by william
File size: 2888 byte(s)
re-commit (had local access denied errors when committing)
1 /* PCSX2 - PS2 Emulator for PCs
2 * Copyright (C) 2002-2010 PCSX2 Dev Team
3 *
4 * PCSX2 is free software: you can redistribute it and/or modify it under the terms
5 * of the GNU Lesser General Public License as published by the Free Software Found-
6 * ation, either version 3 of the License, or (at your option) any later version.
7 *
8 * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10 * PURPOSE. See the GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License along with PCSX2.
13 * If not, see <http://www.gnu.org/licenses/>.
14 */
15
16 #include "PrecompiledHeader.h"
17 #include "ConfigurationPanels.h"
18
19 #include <wx/stdpaths.h>
20
21 using namespace pxSizerFlags;
22
23 static const int BetweenFolderSpace = 5;
24
25 // ------------------------------------------------------------------------
26 Panels::BasePathsPanel::BasePathsPanel( wxWindow* parent )
27 : wxPanelWithHelpers( parent, wxVERTICAL )
28 {
29 }
30
31 // ------------------------------------------------------------------------
32 Panels::StandardPathsPanel::StandardPathsPanel( wxWindow* parent ) :
33 BasePathsPanel( parent )
34 {
35 *this += BetweenFolderSpace;
36 *this += (new DirPickerPanel( this, FolderId_Savestates,
37 _("Savestates:"),
38 _("Select folder for Savestates") ))->
39 SetToolTip( pxEt( "!ContextTip:Folders:Savestates",
40 L"This folder is where PCSX2 records savestates; which are recorded either by using "
41 L"menus/toolbars, or by pressing F1/F3 (load/save)."
42 )
43 ) | SubGroup();
44
45 *this += BetweenFolderSpace;
46 *this += (new DirPickerPanel( this, FolderId_Snapshots,
47 _("Snapshots:"),
48 _("Select a folder for Snapshots") ))->
49 SetToolTip( pxEt( "!ContextTip:Folders:Snapshots",
50 L"This folder is where PCSX2 saves screenshots. Actual screenshot image format and style "
51 L"may vary depending on the GS plugin being used."
52 )
53 ) | SubGroup();
54
55 *this += BetweenFolderSpace;
56 *this += (new DirPickerPanel( this, FolderId_Logs,
57 _("Logs/Dumps:" ),
58 _("Select a folder for logs/dumps") ))->
59 SetToolTip( pxEt( "!ContextTip:Folders:Logs",
60 L"This folder is where PCSX2 saves its logfiles and diagnostic dumps. Most plugins will "
61 L"also adhere to this folder, however some older plugins may ignore it."
62 )
63 ) | SubGroup();
64
65 /*
66 *this += BetweenFolderSpace;
67 *this += (new DirPickerPanel( this, FolderId_MemoryCards,
68 _("Memorycards:"),
69 _("Select a default Memorycards folder") ))->
70 SetToolTip( pxE( "!Tooltip:Folders:Memorycards",
71 L"This is the default path where PCSX2 loads or creates its memory cards, and can be "
72 L"overridden in the MemoryCard Configuration by using absolute filenames."
73 )
74 ) | SubGroup();*/
75
76 *this += BetweenFolderSpace;
77
78 GetSizer()->SetMinSize( wxSize( 475, GetSizer()->GetMinSize().GetHeight() ) );
79 }
80

  ViewVC Help
Powered by ViewVC 1.1.22