mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Main Form Trainer Name special chars
Adjusted shortcut to control clicking on the textbox; easier than right click.
This commit is contained in:
parent
f3998a49d6
commit
b41ad06537
3 changed files with 9 additions and 6 deletions
3
PKX/f1-Main.Designer.cs
generated
3
PKX/f1-Main.Designer.cs
generated
|
@ -549,7 +549,6 @@
|
|||
this.CHK_Nicknamed.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
this.CHK_Nicknamed.UseVisualStyleBackColor = true;
|
||||
this.CHK_Nicknamed.CheckedChanged += new System.EventHandler(this.updateNickname);
|
||||
this.CHK_Nicknamed.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updateNicknameClick);
|
||||
//
|
||||
// Label_Gender
|
||||
//
|
||||
|
@ -2199,6 +2198,7 @@
|
|||
this.TB_OTt2.TabIndex = 6;
|
||||
this.TB_OTt2.WordWrap = false;
|
||||
this.TB_OTt2.TextChanged += new System.EventHandler(this.updateNotOT);
|
||||
this.TB_OTt2.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updateNicknameClick);
|
||||
//
|
||||
// Label_PrevOT
|
||||
//
|
||||
|
@ -2484,6 +2484,7 @@
|
|||
this.TB_OT.Name = "TB_OT";
|
||||
this.TB_OT.Size = new System.Drawing.Size(94, 20);
|
||||
this.TB_OT.TabIndex = 3;
|
||||
this.TB_OT.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updateNicknameClick);
|
||||
//
|
||||
// TB_SID
|
||||
//
|
||||
|
|
|
@ -167,8 +167,8 @@ namespace PKHeX
|
|||
GB_OT.Click += clickGT;
|
||||
GB_nOT.Click += clickGT;
|
||||
GB_Daycare.Click += switchDaycare;
|
||||
|
||||
TB_Nickname.Font = PKX.getPKXFont(10F);
|
||||
gameFont = PKX.getPKXFont(11F);
|
||||
TB_Nickname.Font = TB_OT.Font = TB_OTt2.Font = gameFont;
|
||||
// Close splash screen.
|
||||
init = true;
|
||||
SplashSCR.Join();
|
||||
|
@ -197,6 +197,7 @@ namespace PKHeX
|
|||
|
||||
public static bool HaX = false;
|
||||
public static bool specialChars = false; // Open Form Tracking
|
||||
public static Font gameFont;
|
||||
public static Color defaultControlWhite;
|
||||
public static Color defaultControlText;
|
||||
public static int colorizedbox = 32;
|
||||
|
@ -2122,9 +2123,10 @@ namespace PKHeX
|
|||
}
|
||||
private void updateNicknameClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
TextBox tb = (!(sender is TextBox)) ? TB_Nickname : (sender as TextBox);
|
||||
// Special Character Form
|
||||
if (e.Button == MouseButtons.Right && !specialChars)
|
||||
(new f2_Text(TB_Nickname)).Show();
|
||||
if (ModifierKeys == Keys.Control && !specialChars)
|
||||
(new f2_Text(tb)).Show();
|
||||
}
|
||||
private void updateNotOT(object sender, EventArgs e)
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// Main Window
|
||||
|
||||
Hold Control when dragging out the Tab PKM to save as ekx.
|
||||
Right Click on Nickname/Nickname box to bring up the ingame-special characters.
|
||||
Control Click on Nickname/OT box to bring up the ingame-special characters.
|
||||
|
||||
Control + Click on...
|
||||
Randomize IVs: Set all IVs to max.
|
||||
|
|
Loading…
Reference in a new issue