You've already forked lazarus-ccr
* HeaderCustomDrawDemo use hardcoded color to give consistency across widget sets, change encoding to UTF-8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -132,7 +132,7 @@ begin
|
||||
Width := PaintRectangle.Right - PaintRectangle.Left;
|
||||
Height := PaintRectangle.Bottom - PaintRectangle.Top;
|
||||
TargetRect := Rect(0, 0, Width, Height);
|
||||
Canvas.Brush.Color := clInfoBk;
|
||||
Canvas.Brush.Color := $E1FFFF;
|
||||
Canvas.FillRect(TargetRect);
|
||||
InflateRect(TargetRect, - 10, -10);
|
||||
SourceRect := TargetRect;
|
||||
@ -148,7 +148,7 @@ begin
|
||||
TargetCanvas.Font.Size := 60;
|
||||
if IsHoverIndex then
|
||||
TargetCanvas.Font.Color := $80FF;
|
||||
S := '�';
|
||||
S := 'û';
|
||||
Size := TargetCanvas.TextExtent(S);
|
||||
SetBkMode(TargetCanvas.Handle, TRANSPARENT);
|
||||
TargetCanvas.TextOut(PaintRectangle.Left + 10, Paintrectangle.Bottom - Size.cy, S);
|
||||
|
Reference in New Issue
Block a user