Changeset 401 for tags/1.4.0/Forms
- Timestamp:
- Jan 6, 2025, 11:12:12 AM (15 months ago)
- Location:
- tags/1.4.0
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
Forms/FormCharts.pas (modified) (2 diffs)
-
Forms/FormNew.pas (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/1.4.0
-
tags/1.4.0/Forms/FormCharts.pas
r394 r401 55 55 procedure TFormCharts.FormShow(Sender: TObject); 56 56 begin 57 Redraw;58 57 Translate; 59 58 if (ComboBox1.ItemIndex = -1) and (ComboBox1.Items.Count > 0) then 60 59 ComboBox1.ItemIndex := 0; 61 60 Chart1.BackColor := ThemeManager.ActualTheme.ColorWindow; 61 Redraw; 62 62 end; 63 63 … … 73 73 NewSeries := TLineSeries.Create(nil); 74 74 NewSeries.LinePen.Color := Color; 75 NewSeries.LinePen.Width := Scale96ToScreen(1); 75 76 for X := 0 to TurnStats.Count - 1 do begin 76 77 if ComboBox1.ItemIndex = 0 then NewSeries.AddXY(X, TurnStats[X].OccupiedCells) -
tags/1.4.0/Forms/FormNew.pas
r394 r401 498 498 procedure TFormNew.FormShow(Sender: TObject); 499 499 begin 500 Randomize;501 500 NewRandSeed := RandSeed; 502 501 ReloadView; … … 659 658 procedure TFormNew.ButtonRandomizeClick(Sender: TObject); 660 659 begin 661 Randomize;662 660 NewRandSeed := RandSeed; 663 661 MapPreviewRedraw;
Note:
See TracChangeset
for help on using the changeset viewer.
