fixed
This commit is contained in:
parent
8fa0a826fc
commit
9b9fa516b9
|
|
@ -25,6 +25,7 @@ public static class Env
|
||||||
|
|
||||||
public static class GlobalVars
|
public static class GlobalVars
|
||||||
{
|
{
|
||||||
|
public static bool OldLayout = false;
|
||||||
public static readonly string RootPathLauncher = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
public static readonly string RootPathLauncher = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||||
public static readonly string BasePathLauncher = RootPathLauncher.Replace(@"\", @"\\");
|
public static readonly string BasePathLauncher = RootPathLauncher.Replace(@"\", @"\\");
|
||||||
public static readonly string RootPath = Directory.GetParent(RootPathLauncher).ToString();
|
public static readonly string RootPath = Directory.GetParent(RootPathLauncher).ToString();
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@
|
||||||
*
|
*
|
||||||
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
*/
|
*/
|
||||||
|
//#define EDITORLAYOUT1 //comment this out to edit the 1.1 layout.
|
||||||
|
#define EDITORLAYOUT2 //comment this out to edit the 1.2 layout.
|
||||||
|
//#define RETAIL //for release and testing.
|
||||||
namespace NovetusLauncher
|
namespace NovetusLauncher
|
||||||
{
|
{
|
||||||
partial class CharacterCustomization
|
partial class CharacterCustomization
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -32,23 +32,19 @@ namespace NovetusLauncher
|
||||||
//
|
//
|
||||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
//
|
//
|
||||||
|
bool layout = true;
|
||||||
|
GlobalVars.OldLayout = layout;
|
||||||
|
|
||||||
#if RETAIL
|
if (layout == false)
|
||||||
int layout = 1;
|
|
||||||
|
|
||||||
if (layout == 1)
|
|
||||||
{
|
{
|
||||||
InitializeComponent(1);
|
|
||||||
Size = new Size(745, 377);
|
Size = new Size(745, 377);
|
||||||
panel2.Size = new Size(646, 272);
|
panel2.Size = new Size(646, 272);
|
||||||
}
|
}
|
||||||
if (layout == 2)
|
else
|
||||||
{
|
{
|
||||||
InitializeComponent(2);
|
|
||||||
Size = new Size(427, 395);
|
Size = new Size(427, 395);
|
||||||
panel2.Visible = false;
|
panel2.Visible = false;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// TODO: Add constructor code after the InitializeComponent() call.
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue