瀏覽代碼

Standardizing component names

And preparing the action list to contain non-banner actions

Source commit: 15fdc72a3ed18eacd366d047b596f7b4f0b891be
Martin Prikryl 4 年之前
父節點
當前提交
7c463912fd
共有 2 個文件被更改,包括 8 次插入8 次删除
  1. 5 5
      source/forms/Authenticate.dfm
  2. 3 3
      source/forms/Authenticate.h

+ 5 - 5
source/forms/Authenticate.dfm

@@ -276,15 +276,15 @@ object AuthenticateForm: TAuthenticateForm
       OnClick = HelpButtonClick
     end
   end
-  object BannerActionList: TActionList
+  object ActionList: TActionList
     Left = 32
     Top = 304
-    object EditCopy: TEditCopy
+    object EditCopyAction: TEditCopy
       Caption = '&Copy'
       ImageIndex = 0
       ShortCut = 16451
     end
-    object EditSelectAll: TEditSelectAll
+    object EditSelectAllAction: TEditSelectAll
       Caption = 'Select &All'
       ImageIndex = 1
       ShortCut = 16449
@@ -298,10 +298,10 @@ object AuthenticateForm: TAuthenticateForm
     Left = 144
     Top = 304
     object CopyItem: TMenuItem
-      Action = EditCopy
+      Action = EditCopyAction
     end
     object SelectAllItem: TMenuItem
-      Action = EditSelectAll
+      Action = EditSelectAllAction
     end
     object N1: TMenuItem
       Caption = '-'

+ 3 - 3
source/forms/Authenticate.h

@@ -43,9 +43,9 @@ __published:
   TPanel *TopPanel;
   TPanel *LeftPanel;
   TPaintBox *AnimationPaintBox;
-  TActionList *BannerActionList;
-  TEditCopy *EditCopy;
-  TEditSelectAll *EditSelectAll;
+  TActionList *ActionList;
+  TEditCopy *EditCopyAction;
+  TEditSelectAll *EditSelectAllAction;
   TAction *BannerMonospacedFontAction;
   TPopupMenu *BannerPopupMenu;
   TMenuItem *CopyItem;