Parcourir la source

Standardizing component names

And preparing the action list to contain non-banner actions

(cherry picked from commit 7c463912fdfe49591802bf5d1e155ad44507cc41)

Source commit: b5a3e96898bad5815c06da0116bf1ecd8e7edda2
Martin Prikryl il y a 5 ans
Parent
commit
6f81842471
2 fichiers modifiés avec 8 ajouts et 8 suppressions
  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;