Changeset 352 for trunk/LocalPlayer/Rates.pas
- Timestamp:
- Apr 6, 2021, 10:16:55 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Rates.pas
r350 r352 56 56 57 57 Fill(Offscreen.Canvas, 0, 0, ClientWidth, ClientHeight, 58 ( wMaintexture - ClientWidth) div 2, (hMaintexture- ClientHeight) div 2);58 (Maintexture.Width - ClientWidth) div 2, (Maintexture.Height - ClientHeight) div 2); 59 59 Frame(Offscreen.Canvas, 0, 0, ClientWidth - 1, ClientHeight - 1, 0, 0); 60 60 Frame(Offscreen.Canvas, 1, 1, ClientWidth - 2, ClientHeight - 2, 61 MainTexture. clBevelLight, MainTexture.clBevelShade);61 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 62 62 Frame(Offscreen.Canvas, 2, 2, ClientWidth - 3, ClientHeight - 3, 63 MainTexture. clBevelLight, MainTexture.clBevelShade);63 MainTexture.ColorBevelLight, MainTexture.ColorBevelShade); 64 64 65 65 BtnFrame(Offscreen.Canvas, CloseBtn.BoundsRect, MainTexture); … … 118 118 Frame(Offscreen.Canvas, x - 1, y - 1, x + max, y + 7, $000000, $000000); 119 119 RFrame(Offscreen.Canvas, x - 2, y - 2, x + max + 1, y + 8, 120 MainTexture. clBevelShade, MainTexture.clBevelLight);120 MainTexture.ColorBevelShade, MainTexture.ColorBevelLight); 121 121 with Offscreen.Canvas do 122 122 begin … … 138 138 MyRO.LuxRate * 120 div 100, 0, 120, MainTexture); 139 139 RFrame(Offscreen.Canvas, ScienceBtn.Left - 1, LuxBtn.Top - 1, 140 LuxBtn.Left + 12, LuxBtn.Top + 12, MainTexture. clBevelShade,141 MainTexture. clBevelLight);142 end; 143 144 DLine(Offscreen.Canvas, 1, ClientWidth - 2, 154, MainTexture. clBevelShade,145 MainTexture. clBevelLight);140 LuxBtn.Left + 12, LuxBtn.Top + 12, MainTexture.ColorBevelShade, 141 MainTexture.ColorBevelLight); 142 end; 143 144 DLine(Offscreen.Canvas, 1, ClientWidth - 2, 154, MainTexture.ColorBevelShade, 145 MainTexture.ColorBevelLight); 146 146 RisedTextOut(Offscreen.Canvas, 16 + 80, 164, Phrases.Lookup('TAXRATE')); 147 147 s := Format('%d%%', [MyRO.TaxRate]); … … 151 151 MyRO.TaxRate * 120 div 100, 0, 120, MainTexture); 152 152 RFrame(Offscreen.Canvas, TaxUpBtn.Left - 1, TaxUpBtn.Top - 1, 153 TaxUpBtn.Left + 12, TaxDownBtn.Top + 12, MainTexture. clBevelShade,154 MainTexture. clBevelLight);153 TaxUpBtn.Left + 12, TaxDownBtn.Top + 12, MainTexture.ColorBevelShade, 154 MainTexture.ColorBevelLight); 155 155 156 156 MarkUsedOffscreen(ClientWidth, ClientHeight);
Note:
See TracChangeset
for help on using the changeset viewer.