Changeset 93 for trunk/Forms
- Timestamp:
- Sep 26, 2022, 10:39:03 PM (2 years ago)
- Location:
- trunk/Forms
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormImages.lfm
r86 r93 85 85 object ImageTunnel: TImage 86 86 Left = 48 87 Height = 7687 Height = 52 88 88 Top = 156 89 Width = 8489 Width = 48 90 90 Picture.Data = { 91 91 1754506F727461626C654E6574776F726B47726170686963E40E000089504E47 … … 654 654 Stretch = True 655 655 end 656 object ImageCarriage: TImage 657 Left = 51 658 Height = 34 659 Top = 326 660 Width = 37 661 Picture.Data = { 662 1754506F727461626C654E6574776F726B47726170686963D100000089504E47 663 0D0A1A0A0000000D494844520000002000000020080300000044A48AC6000000 664 1B504C5445000000000000010101020202030303050505070707080808090909 665 2516B4820000000174524E530040E6D8660000006449444154789CED91DB0AC0 666 3008434D6CD7FDFF17AF17A43A287D1B1BEC3C04A251B015F931B062D747B600 667 55D51455696A81A61C6E4C8DD2BB029B877828A022C935CCCECFB86D72D54EC2 668 BCB0A2D1F670F113C01117886490482BDB38C9E22CA2FD3E176AF201C23336DB 669 110000000049454E44AE426082 670 } 671 end 656 672 end -
trunk/Forms/UFormImages.pas
r86 r93 11 11 12 12 TFormImages = class(TForm) 13 ImageCarriage: TImage; 13 14 ImageFastForward: TImage; 14 15 ImagePause: TImage; -
trunk/Forms/UFormMain.pas
r86 r93 196 196 Translator1.Language := Translator1.Languages.SearchByCode(LangCode); 197 197 end else Translator1.Language := Translator1.Languages.SearchByCode(''); 198 Engine.DarkMode := ReadBoolWithDefault('DarkMode', False); 199 Engine.HighestServedPassengerCount := ReadIntegerWithDefault('HighestPassengers', 0); 200 Engine.HighestServedDaysCount := ReadIntegerWithDefault('HighestDays', 0); 198 Engine.LoadFromRegistry(CurrentContext); 201 199 finally 202 200 Free; … … 213 211 WriteString('LanguageCode', Translator1.Language.Code) 214 212 else DeleteValue('LanguageCode'); 215 WriteBool('DarkMode', Engine.DarkMode); 216 WriteInteger('HighestPassengers', Engine.HighestServedPassengerCount); 217 WriteInteger('HighestDays', Engine.HighestServedDaysCount); 213 Engine.SaveToRegistry(CurrentContext); 218 214 finally 219 215 Free; … … 227 223 CopyImage(Engine.ImageLocomotive.Bitmap, FormImages.ImageLocomotive.Picture.Bitmap); 228 224 CopyImage(Engine.ImageLocomotive.BitmapDisabled, FormImages.ImageLocomotive.Picture.Bitmap, True); 225 CopyImage(Engine.ImageCarriage.Bitmap, FormImages.ImageCarriage.Picture.Bitmap); 226 CopyImage(Engine.ImageCarriage.BitmapDisabled, FormImages.ImageCarriage.Picture.Bitmap, True); 229 227 CopyImage(Engine.ButtonBack.Bitmap, FormImages.ImageLeftArrow.Picture.Bitmap); 230 228 CopyImage(Engine.ButtonBack.BitmapDisabled, FormImages.ImageLeftArrow.Picture.Bitmap, True); … … 240 238 BitmapInvert(Engine.ImageLocomotive.Bitmap); 241 239 BitmapInvert(Engine.ImageLocomotive.BitmapDisabled); 240 BitmapInvert(Engine.ImageCarriage.Bitmap); 241 BitmapInvert(Engine.ImageCarriage.BitmapDisabled); 242 242 BitmapInvert(Engine.ButtonBack.Bitmap); 243 243 BitmapInvert(Engine.ButtonBack.BitmapDisabled);
Note:
See TracChangeset
for help on using the changeset viewer.