Changeset 323 for trunk/Start.pas
- Timestamp:
- Mar 23, 2021, 2:46:42 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Start.pas
r320 r323 503 503 $000000, xAction, y + 21, Phrases2.Lookup(TextItem)); 504 504 505 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 506 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 505 UnshareBitmap(LogoBuffer); 507 506 BitBltCanvas(LogoBuffer.Canvas, 0, 0, 50, 50, Canvas, 508 507 xActionIcon - 2, y - 2); … … 603 602 604 603 // Paint menu logo 605 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 606 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height); 604 UnshareBitmap(LogoBuffer); 607 605 BitBltCanvas(LogoBuffer.Canvas, 0, 0, MenuLogo.Width, MenuLogo.Height, Canvas, 6, 608 606 3 + 2 * integer(Tab <> tbMain)); … … 627 625 h := ClientHeight - ActionBottomBorder - 628 626 (yAction + Integer(SelectedAction) * ActionPitch - 8); 629 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 630 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height);627 628 UnshareBitmap(LogoBuffer); 631 629 BitBltCanvas(LogoBuffer.Canvas, 0, 0, w, h, Canvas, 632 630 ActionSideBorder + i * wBuffer, yAction + Integer(SelectedAction) * ActionPitch … … 653 651 Format(Phrases2.Lookup('ACTIONHEADER_WEB'), [CevoHomepageShort])); 654 652 Canvas.Font.Assign(UniFont[ftNormal]); 655 // TODO: Explicitly clear background to black but in fact BitBlt SRCCOPY should do it 656 LogoBuffer.Canvas.FillRect(0, 0, LogoBuffer.Width, LogoBuffer.Height);653 654 UnshareBitmap(LogoBuffer); 657 655 BitBltCanvas(LogoBuffer.Canvas, 0, 0, LinkArrows.Width, LinkArrows.Height, Canvas, 658 656 xActionIcon, y + 2);
Note:
See TracChangeset
for help on using the changeset viewer.