Changeset 58 for Docking/CoolDocking/UCoolDockWindowList.pas
- Timestamp:
- Sep 23, 2010, 11:41:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/UCoolDockWindowList.pas
r57 r58 103 103 //ShowMessage(IntToStr(Integer(Form.Icon.TransparentColor))); 104 104 IconBitmap.Assign(Form.Icon); 105 //IconBitmap.Canvas.Draw(0, 0, Form.Icon);105 //IconBitmap.Canvas.Draw(0, 0, Form.Icon); 106 106 107 Mask.Assign(Form.Icon);108 Mask.Canvas.Brush.Color := Form.Icon.TransparentColor;109 Mask.Monochrome := True;110 ImageList1.BkColor := clBlack;111 ImageList1.Add(IconBitmap, Mask);107 //Mask.Assign(Form.Icon); 108 //Mask.Canvas.Brush.Color := Form.Icon.TransparentColor; 109 //Mask.Monochrome := True; 110 //ImageList1.BkColor := clBlack; 111 ImageList1.Add(IconBitmap, nil); 112 112 finally 113 113 Mask.Free;
Note:
See TracChangeset
for help on using the changeset viewer.