mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 17:53:01 +02:00
1.1 character customization
This commit is contained in:
parent
9b9fa516b9
commit
7c7205e04d
File diff suppressed because it is too large
Load Diff
@ -34,8 +34,19 @@ namespace NovetusLauncher
|
||||
|
||||
InitColors();
|
||||
|
||||
bool layout = true;
|
||||
GlobalVars.OldLayout = layout;
|
||||
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
Size = new Size(671, 337);
|
||||
panel2.Size = new Size(568, 302);
|
||||
}
|
||||
else
|
||||
{
|
||||
Size = new Size(477, 272);
|
||||
panel2.Visible = false;
|
||||
}
|
||||
|
||||
//
|
||||
// TODO: Add constructor code after the InitializeComponent() call.
|
||||
@ -146,8 +157,11 @@ namespace NovetusLauncher
|
||||
void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage1"])//your specific tabname
|
||||
{
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -159,8 +173,11 @@ namespace NovetusLauncher
|
||||
listBox9.Items.Clear();
|
||||
}
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage7"])
|
||||
{
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -185,7 +202,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage2"])//your specific tabname
|
||||
{
|
||||
//hats
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 239);
|
||||
}
|
||||
listBox4.Items.Clear();
|
||||
listBox5.Items.Clear();
|
||||
listBox6.Items.Clear();
|
||||
@ -251,7 +271,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage3"])//your specific tabname
|
||||
{
|
||||
//faces
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -292,7 +315,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage4"])//your specific tabname
|
||||
{
|
||||
//faces
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -333,7 +359,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage5"])//your specific tabname
|
||||
{
|
||||
//faces
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -374,7 +403,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage6"])//your specific tabname
|
||||
{
|
||||
//faces
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -415,7 +447,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage8"])//your specific tabname
|
||||
{
|
||||
//faces
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
@ -456,7 +491,10 @@ namespace NovetusLauncher
|
||||
else if (tabControl1.SelectedTab == tabControl1.TabPages["tabPage9"])//your specific tabname
|
||||
{
|
||||
//faces
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
panel3.Location = new Point(110, 359);
|
||||
}
|
||||
listBox1.Items.Clear();
|
||||
listBox2.Items.Clear();
|
||||
listBox3.Items.Clear();
|
||||
|
@ -6,10 +6,10 @@
|
||||
*
|
||||
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||
*/
|
||||
//TODO: ADD 1.1 LAYOUT TO CHARACTER CUSTOMIZATION AND ADD SETTINGS TO 1.1 LAYOUT.
|
||||
//#define EDITORLAYOUT1 //comment this out to edit the 1.1 layout.
|
||||
//TODO: ADD SETTINGS TO 1.1 LAYOUT.
|
||||
#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. uncomment the above defs after editing.
|
||||
#define RETAIL //for release and testing. uncomment the above defs after editing.
|
||||
namespace NovetusLauncher
|
||||
{
|
||||
partial class MainForm
|
||||
|
@ -35,7 +35,7 @@ namespace NovetusLauncher
|
||||
bool layout = true;
|
||||
GlobalVars.OldLayout = layout;
|
||||
|
||||
if (layout == false)
|
||||
if (GlobalVars.OldLayout == false)
|
||||
{
|
||||
Size = new Size(745, 377);
|
||||
panel2.Size = new Size(646, 272);
|
||||
|
Loading…
Reference in New Issue
Block a user