Chameleon

Chameleon Commit Details

Date:2014-10-21 19:46:05 (6 years 1 month ago)
Author:ErmaC
Commit:2430
Parents: 2429
Message:Add Yosemite Icons detection for chameleon UI
Changes:
M/trunk/i386/boot2/gui.c
M/trunk/CHANGES

File differences

trunk/i386/boot2/gui.c
4444
4545
4646
47
48
4749
4850
4951
......
5961
6062
6163
64
65
6266
6367
6468
......
126130
127131
128132
133
134
129135
130136
131137
......
141147
142148
143149
150
151
144152
145153
146154
......
358366
359367
360368
369
370
361371
362372
363373
......
373383
374384
375385
386
387
376388
377389
378390
......
984996
985997
986998
999
1000
1001
1002
1003
1004
1005
1006
1007
9871008
9881009
9891010
iDeviceGeneric_o,
iDeviceHFS,
iDeviceHFS_o,
iDeviceHFS_yos,
iDeviceHFS_yos_o,
iDeviceHFS_mav,
iDeviceHFS_mav_o,
iDeviceHFS_ML,
iDeviceHFSRAID,
iDeviceHFSRAID_o,
iDeviceHFSRAID_yos,
iDeviceHFSRAID_yos_o,
iDeviceHFSRAID_mav,
iDeviceHFSRAID_mav_o,
iDeviceHFSRAID_ML,
{.name = "device_generic_o", .image = NULL},
{.name = "device_hfsplus", .image = NULL},
{.name = "device_hfsplus_o", .image = NULL},
{.name = "device_hfsplus_yos", .image = NULL},
{.name = "device_hfsplus_yos_o", .image = NULL},
{.name = "device_hfsplus_mav", .image = NULL},
{.name = "device_hfsplus_mav_o", .image = NULL},
{.name = "device_hfsplus_ml", .image = NULL},
{.name = "device_hfsraid", .image = NULL},
{.name = "device_hfsraid_o", .image = NULL},
{.name = "device_hfsraid_yos", .image = NULL},
{.name = "device_hfsraid_yos_o", .image = NULL},
{.name = "device_hfsraid_mav", .image = NULL},
{.name = "device_hfsraid_mav_o", .image = NULL},
{.name = "device_hfsraid_ml", .image = NULL},
LOADPNG(device_generic_o, iDeviceGeneric);
LOADPNG(device_hfsplus, iDeviceGeneric);
LOADPNG(device_hfsplus_o, iDeviceHFS);
LOADPNG(device_hfsplus_yos, iDeviceHFS);
LOADPNG(device_hfsplus_yos_o, iDeviceHFS_yos);
LOADPNG(device_hfsplus_mav, iDeviceHFS);
LOADPNG(device_hfsplus_mav_o, iDeviceHFS_mav);
LOADPNG(device_hfsplus_ml, iDeviceHFS);
LOADPNG(device_hfsraid, iDeviceHFS);
LOADPNG(device_hfsraid_o, iDeviceHFSRAID);
LOADPNG(device_hfsraid_yos, iDeviceHFSRAID);
LOADPNG(device_hfsraid_yos_o, iDeviceHFSRAID_yos);
LOADPNG(device_hfsraid_mav, iDeviceHFSRAID);
LOADPNG(device_hfsraid_mav_o, iDeviceHFSRAID_mav);
LOADPNG(device_hfsraid_ml, iDeviceHFSRAID);
case '4':
devicetype = (device->flags & kBVFlagBooter ? iDeviceHFSRAID_Tiger : iDeviceHFS_Tiger);
break;
case '1':
if (device->OSVersion[4] == '0') { // 10.10
devicetype = (device->flags & kBVFlagBooter ? iDeviceHFSRAID_yos : iDeviceHFS_yos);
break;
}
//if (device->OSVersion[4] == '1') { // 10.11
//devicetype = (device->flags & kBVFlagBooter ? iDeviceHFSRAID_??? : iDeviceHFS_???);
//break;
//}
default:
devicetype = (device->flags & kBVFlagBooter ? iDeviceHFSRAID : iDeviceHFS);
break;
trunk/CHANGES
1
12
23
34
- ErmaC : Add Yosemite Icons detection for chameleon UI
- blackosx : Add chameleon UI Icons for Yosemite
- ErmaC : Use macro instead of full checkOSVersion
- viv xix : Move checkOSVersion into boot header

Archive Download the corresponding diff file

Revision: 2430