Changeset 196 for trunk/Start.pas
- Timestamp:
- May 7, 2020, 11:42:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r194 r196 721 721 BiColorTextOut(Canvas, Colors.Canvas.Pixels[clkAge0 - 1, cliDimmedText], 722 722 $000000, xAction, y + 21, Phrases2.Lookup(TextItem)); 723 724 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 725 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 723 726 BitBltCanvas(LogoBuffer.Canvas, 0, 0, 50, 50, Canvas, 724 727 xActionIcon - 2, y - 2); … … 817 820 TabOffset + (Integer(Tab) + 1) * TabSize + 2, TabHeight, MainTexture.clBevelShade, 818 821 MainTexture.clBevelShade); // Tab shadow 822 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 823 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 819 824 BitBltCanvas(LogoBuffer.Canvas, 0, 0, 36, 36, Canvas, 6, 820 825 3 + 2 * integer(Tab <> tbMain)); … … 827 832 LogoBuffer.Canvas, 0, 0); 828 833 829 if Page = pgMain then 830 begin 834 if Page = pgMain then begin 831 835 if SelectedAction <> maNone then // mark selected action 832 836 for i := 0 to (ClientWidth - 2 * ActionSideBorder) div wBuffer + 1 do … … 840 844 h := ClientHeight - ActionBottomBorder - 841 845 (yAction + Integer(SelectedAction) * ActionPitch - 8); 846 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 847 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 842 848 BitBltCanvas(LogoBuffer.Canvas, 0, 0, w, h, Canvas, 843 849 ActionSideBorder + i * wBuffer, yAction + Integer(SelectedAction) * ActionPitch … … 864 870 Phrases2.Lookup('ACTIONHEADER_WEB')); 865 871 Canvas.Font.Assign(UniFont[ftNormal]); 872 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 873 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 866 874 BitBltCanvas(LogoBuffer.Canvas, 0, 0, 91, 25, Canvas, 867 875 xActionIcon, y + 2);
Note:
See TracChangeset
for help on using the changeset viewer.