LCL: grids: remove checkbox images

git-svn-id: trunk@57927 -
This commit is contained in:
ondrej 2018-05-13 19:44:29 +00:00
parent 76bf7b4649
commit e5ab08f99b
14 changed files with 1 additions and 35 deletions

12
.gitattributes vendored
View File

@ -8366,15 +8366,6 @@ lcl/images/cursors/cur_18.cur -text svneol=unset#image/x-cursor
lcl/images/cursors/cur_20.cur -text svneol=unset#image/x-cursor
lcl/images/cursors/cur_21.cur -text svneol=unset#image/x-cursor
lcl/images/cursors/cur_22.cur -text svneol=unset#image/x-cursor
lcl/images/dbgridcheckedcb.png -text svneol=unset#image/png
lcl/images/dbgridcheckedcb_150.png -text svneol=unset#image/png
lcl/images/dbgridcheckedcb_200.png -text svneol=unset#image/png
lcl/images/dbgridgrayedcb.png -text svneol=unset#image/png
lcl/images/dbgridgrayedcb_150.png -text svneol=unset#image/png
lcl/images/dbgridgrayedcb_200.png -text svneol=unset#image/png
lcl/images/dbgriduncheckedcb.png -text svneol=unset#image/png
lcl/images/dbgriduncheckedcb_150.png -text svneol=unset#image/png
lcl/images/dbgriduncheckedcb_200.png -text svneol=unset#image/png
lcl/images/dbnavigator/dbnavcancel.png -text svneol=unset#image/png
lcl/images/dbnavigator/dbnavcancel_150.png -text svneol=unset#image/png
lcl/images/dbnavigator/dbnavcancel_200.png -text svneol=unset#image/png
@ -8424,8 +8415,6 @@ lcl/images/dock/lcl_dock_to_left.png -text svneol=unset#image/png
lcl/images/dock/lcl_dock_to_page.png -text svneol=unset#image/png
lcl/images/dock/lcl_dock_to_right.png -text svneol=unset#image/png
lcl/images/dock/lcl_dock_to_top.png -text svneol=unset#image/png
lcl/images/lcl_dbgrid_images.bat svneol=native#text/x-msdos-program
lcl/images/lcl_dbgrid_images_list.txt svneol=native#text/plain
lcl/images/lcl_edbtnimg.bat svneol=native#text/x-msdos-program
lcl/images/lcl_edbtnimg.sh svneol=native#text/x-sh
lcl/images/lcl_edbtnimg_list.txt svneol=native#text/plain
@ -10023,7 +10012,6 @@ lcl/lazhelphtml.pas svneol=native#text/pascal
lcl/lazhelpintf.pas svneol=native#text/pascal
lcl/lazregions.pas svneol=native#text/pascal
lcl/lcl_calc_images.res -text
lcl/lcl_dbgrid_images.res -text
lcl/lcl_dbnav_images.res -text
lcl/lcl_dock_images.res -text
lcl/lcl_dock_to_images.res -text

View File

@ -1869,7 +1869,6 @@ procedure Register;
implementation
{$R lcl_grid_images.res}
{$R lcl_dbgrid_images.res}
uses
WSGrids;
@ -4534,7 +4533,7 @@ begin
ChkII := -1;
ChkBitmap := nil;
if (TitleStyle=tsNative) and not Assigned(OnUserCheckboxBitmap) then
if not Assigned(OnUserCheckboxBitmap) then
begin
Details := ThemeServices.GetElementDetails(arrtb[AState]);
CSize := ThemeServices.GetDetailSize(Details);
@ -5447,18 +5446,7 @@ end;
procedure TCustomGrid.GetImageForCheckBox(const aCol, aRow: Integer;
CheckBoxView: TCheckBoxState; var ImageList: TCustomImageList;
var ImageIndex: TImageIndex; var Bitmap: TBitmap);
var
ResName: string;
begin
if CheckboxView=cbUnchecked then
ResName := 'dbgriduncheckedcb'
else if CheckboxView=cbChecked then
ResName := 'dbgridcheckedcb'
else
ResName := 'dbgridgrayedcb';
ImageList := LCLGlyphs;
ImageIndex := LCLGlyphs.GetImageIndex(ResName);
if Assigned(OnUserCheckboxBitmap) then
OnUserCheckboxBitmap(Self, aCol, aRow, CheckBoxView, Bitmap);
end;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 401 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 B

View File

@ -1 +0,0 @@
..\..\tools\lazres ..\lcl_dbgrid_images.res @lcl_dbgrid_images_list.txt

View File

@ -1,9 +0,0 @@
dbgridcheckedcb.png
dbgridcheckedcb_150.png
dbgridcheckedcb_200.png
dbgridgrayedcb.png
dbgridgrayedcb_150.png
dbgridgrayedcb_200.png
dbgriduncheckedcb.png
dbgriduncheckedcb_150.png
dbgriduncheckedcb_200.png

Binary file not shown.