Ignore:
Timestamp:
Jun 5, 2023, 8:45:38 PM (18 months ago)
Author:
chronos
Message:
  • Modified: Remove U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormSource.pas

    r148 r149  
    1 unit UFormSource;
     1unit FormSource;
    22
    33interface
     
    55uses
    66  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ActnList, Menus,
    7   StdCtrls, SynEdit, SynHighlighterAny, UVCardHighlighter, Common;
     7  StdCtrls, SynEdit, SynHighlighterAny, VCardHighlighter, Common;
    88
    99type
     
    4242  end;
    4343
    44 var
    45   FormSource: TFormSource;
    46 
    4744
    4845implementation
     
    5148
    5249uses
    53   UCore, Theme, VCard;
     50  Core, Theme, VCard;
    5451
    5552{ TFormSource }
     
    5754procedure TFormSource.FormClose(Sender: TObject; var CloseAction: TCloseAction);
    5855begin
    59   Core.PersistentForm1.Save(Self);
     56  Core.Core.PersistentForm1.Save(Self);
    6057end;
    6158
     
    8582  I: Integer;
    8683begin
    87   Core.Translator.TranslateComponentRecursive(Self);
    88   Core.ThemeManager1.UseTheme(Self);
     84  Core.Core.Translator.TranslateComponentRecursive(Self);
     85  Core.Core.ThemeManager1.UseTheme(Self);
    8986
    9087  VCardHighlighter := TSynVCardHighlighter.Create(nil);
     
    105102procedure TFormSource.FormShow(Sender: TObject);
    106103begin
    107   Core.PersistentForm1.Load(Self);
     104  Core.Core.PersistentForm1.Load(Self);
    108105  UpdateTheme;
    109106end;
     
    123120  C: TColor;
    124121begin
    125   if Core.ThemeManager1.Theme.Name = ThemeNameDark then begin
     122  if Core.Core.ThemeManager1.Theme.Name = ThemeNameDark then begin
    126123    SynEditSource.Color := clBlack;
    127124    VCardHighlighter.IdentAttri.Foreground := clWhite;
     
    130127    VCardHighlighter.PropertyAttri.Foreground := clLightRed;
    131128  end else
    132   if Core.ThemeManager1.Theme.Name = ThemeNameLight then begin
     129  if Core.Core.ThemeManager1.Theme.Name = ThemeNameLight then begin
    133130    SynEditSource.Color := clWhite;
    134131    VCardHighlighter.IdentAttri.Foreground := clBlack;
Note: See TracChangeset for help on using the changeset viewer.