LCL: Replace some lcl images by more well-known ones (in several Hi-DPI resolutions, by Roland Hahn). Fix grids.pas not compiling with png instead of xpm images.

git-svn-id: trunk@57744 -
This commit is contained in:
wp 2018-04-30 08:42:11 +00:00
parent 61d41ced28
commit c21a4162b9
49 changed files with 20 additions and 83 deletions

12
.gitattributes vendored
View File

@ -8356,9 +8356,15 @@ 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.xpm -text svneol=native#image/x-xpixmap
lcl/images/dbgridgrayedcb.xpm -text svneol=native#image/x-xpixmap
lcl/images/dbgriduncheckedcb.xpm -text svneol=native#image/x-xpixmap
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

Binary file not shown.

View File

@ -2475,9 +2475,9 @@ end;
function TCustomGrid.LoadResBitmapImage(const ResName: string): TBitmap;
var
C: TPixmap;
C: TPortableNetworkGraphic;
begin
C := TPixmap.Create;
C := TPortableNetworkGraphic.Create;
try
C.LoadFromResourceName(hInstance, ResName);
Result := TBitmap.Create;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 873 B

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 531 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 861 B

After

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 B

View File

@ -1,25 +0,0 @@
/* XPM */
static char * dbgridcheckedcb[] = {
/* columns rows colors chars-per-pixel */
"13 13 6 1",
" c None",
". c #808080",
"+ c #FFFFFF",
"@ c #404040",
"# c #D4D0C8",
"$ c #000000",
/* pixels */
"............+",
".@@@@@@@@@@#+",
".@+++++++++#+",
".@+++++++$+#+",
".@++++++$$+#+",
".@+$+++$$$+#+",
".@+$$+$$$++#+",
".@+$$$$$+++#+",
".@++$$$++++#+",
".@+++$+++++#+",
".@+++++++++#+",
".###########+",
"+++++++++++++"
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@ -1,25 +0,0 @@
/* XPM */
static char * dbgridgrayedcb[] = {
/* columns rows colors chars-per-pixel */
"13 13 6 1",
" c None",
". c #808080",
"+ c #FFFFFF",
"@ c #404040",
"# c #D4D0C8",
"$ c #000000",
/* pixels */
"############+",
"#..........#+",
"#.##########+",
"#.#######.##+",
"#.######..##+",
"#.#.###...##+",
"#.#..#...###+",
"#.#.....####+",
"#.##...#####+",
"#.###.######+",
"#.##########+",
"############+",
"+++++++++++++"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

View File

@ -1,25 +0,0 @@
/* XPM */
static char * dbgriduncheckedcb[] = {
/* columns rows colors chars-per-pixel */
"13 13 6 1",
" c none",
". c #808080",
"+ c #ffffff",
"@ c #404040",
"# c #d4d0c8",
"$ c #000000",
/* pixels */
"............+",
".@@@@@@@@@@#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".@+++++++++#+",
".###########+",
"+++++++++++++"
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 894 B

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 865 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 861 B

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 284 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 612 B

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 819 B

After

Width:  |  Height:  |  Size: 458 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 434 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 796 B

After

Width:  |  Height:  |  Size: 480 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 579 B

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 496 B

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 590 B

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 789 B

After

Width:  |  Height:  |  Size: 399 B

View File

@ -1,3 +1,9 @@
dbgridcheckedcb.xpm
dbgridgrayedcb.xpm
dbgriduncheckedcb.xpm
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.

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 B

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 793 B

After

Width:  |  Height:  |  Size: 457 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 320 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 410 B

Binary file not shown.

Binary file not shown.

Binary file not shown.