Changeset 105
- Timestamp:
- Oct 11, 2016, 3:56:47 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r104 r105 1 1 object FormMain: TFormMain 2 Left = 4492 Left = 520 3 3 Height = 447 4 Top = 3 964 Top = 378 5 5 Width = 782 6 6 Caption = 'Acronym Decoder' -
trunk/Forms/UFormSettings.lfm
r96 r105 74 74 TabOrder = 5 75 75 end 76 object CheckBoxAutomaticDPI: TCheckBox 77 Left = 18 78 Height = 24 79 Top = 191 80 Width = 120 81 Caption = 'Automatic DPI' 82 OnChange = CheckBoxAutomaticDPIChange 83 TabOrder = 6 84 Visible = False 85 end 86 object SpinEditDPI: TSpinEdit 87 Left = 96 88 Height = 28 89 Top = 221 90 Width = 97 91 MaxValue = 300 92 MinValue = 96 93 TabOrder = 7 94 Value = 96 95 Visible = False 96 end 97 object Label2: TLabel 98 Left = 48 99 Height = 20 100 Top = 221 101 Width = 26 102 Caption = 'DPI:' 103 ParentColor = False 104 Visible = False 105 end 76 106 end -
trunk/Forms/UFormSettings.lrt
r70 r105 6 6 TFORMSETTINGS.CHECKBOXSTARTONLOGON.CAPTION=Start on user logon 7 7 TFORMSETTINGS.CHECKBOXSTARTMINIMIZEDTOTRAY.CAPTION=Start minimized to tray 8 TFORMSETTINGS.CHECKBOXAUTOMATICDPI.CAPTION=Automatic DPI 9 TFORMSETTINGS.LABEL2.CAPTION=DPI: -
trunk/Forms/UFormSettings.pas
r102 r105 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 Menus, ULanguages;9 Menus, Spin, ULanguages; 10 10 11 11 type … … 16 16 ButtonOk: TButton; 17 17 ButtonCancel: TButton; 18 CheckBoxAutomaticDPI: TCheckBox; 18 19 CheckBoxStartMinimizedToTray: TCheckBox; 19 20 CheckBoxStartOnLogon: TCheckBox; … … 21 22 ComboBoxLanguage: TComboBox; 22 23 Label1: TLabel; 24 Label2: TLabel; 25 SpinEditDPI: TSpinEdit; 23 26 procedure ButtonOkClick(Sender: TObject); 27 procedure CheckBoxAutomaticDPIChange(Sender: TObject); 24 28 procedure CheckBoxStartOnLogonChange(Sender: TObject); 25 29 procedure FormCreate(Sender: TObject); … … 58 62 end; 59 63 64 procedure TFormSettings.CheckBoxAutomaticDPIChange(Sender: TObject); 65 begin 66 UpdateInterface; 67 end; 68 60 69 procedure TFormSettings.CheckBoxStartOnLogonChange(Sender: TObject); 61 70 begin … … 73 82 CheckBoxStartOnLogon.Checked := Core.StartOnLogon; 74 83 CheckBoxStartMinimizedToTray.Checked := Core.StartMinimizedToTray; 84 CheckBoxAutomaticDPI.Checked := Core.ScaleDPI1.AutoDetect; 85 SpinEditDPI.Value := Core.ScaleDPI1.DPI.X; 75 86 UpdateInterface; 76 87 end; … … 81 92 Core.StartOnLogon := CheckBoxStartOnLogon.Checked; 82 93 Core.StartMinimizedToTray := CheckBoxStartMinimizedToTray.Checked; 94 Core.ScaleDPI1.AutoDetect := CheckBoxAutomaticDPI.Checked; 95 Core.ScaleDPI1.DPI := Point(SpinEditDPI.Value, SpinEditDPI.Value); 83 96 end; 84 97 … … 86 99 begin 87 100 CheckBoxStartMinimizedToTray.Enabled := CheckBoxStartOnLogon.Checked; 101 SpinEditDPI.Enabled := not CheckBoxAutomaticDPI.Checked; 102 Label2.Enabled := not CheckBoxAutomaticDPI.Checked; 88 103 end; 89 104 -
trunk/Languages/AcronymDecoder.cs.po
r102 r105 664 664 msgstr "Okno vždy navrchu" 665 665 666 #: tformsettings.checkboxautomaticdpi.caption 667 msgid "Automatic DPI" 668 msgstr "Automatické DPI" 669 666 670 #: tformsettings.checkboxstartminimizedtotray.caption 667 671 msgid "Start minimized to tray" … … 675 679 msgid "Language:" 676 680 msgstr "Jazyk:" 681 682 #: tformsettings.label2.caption 683 msgid "DPI:" 684 msgstr "DPI:" 677 685 678 686 #: uacronym.sacronym … … 890 898 msgid "Process import sources" 891 899 msgstr "Zpracovat zdroje importu" 892 -
trunk/Languages/AcronymDecoder.po
r102 r105 654 654 msgstr "" 655 655 656 #: tformsettings.checkboxautomaticdpi.caption 657 msgid "Automatic DPI" 658 msgstr "" 659 656 660 #: tformsettings.checkboxstartminimizedtotray.caption 657 661 msgid "Start minimized to tray" … … 664 668 #: tformsettings.label1.caption 665 669 msgid "Language:" 670 msgstr "" 671 672 #: tformsettings.label2.caption 673 msgid "DPI:" 666 674 msgstr "" 667 675
Note:
See TracChangeset
for help on using the changeset viewer.