Chameleon

Chameleon Commit Details

Date:2010-08-05 02:09:30 (9 years 17 days ago)
Author:Tamás Kosárszky
Commit:302
Parents: 301
Message:Draw the selection image + highlight the device icon at the timeout screen.
Changes:
M/trunk/i386/boot2/gui.c
M/trunk/i386/boot2/options.c

File differences

trunk/i386/boot2/gui.c
754754
755755
756756
757
758
757
758
759
760
761
762
759763
760764
761765
......
827831
828832
829833
830
831
832834
833835
834836
}
}
// Use the next (device_*_o) image for the selected item.
if (isSelected) devicetype++;
// Draw the selection image and use the next (device_*_o) image for the selected item.
if (isSelected)
{
blend(images[iSelection].image, buffer, centeredAt(images[iSelection].image, p));
devicetype++;
}
// draw icon
blend( images[devicetype].image, buffer, centeredAt( images[devicetype].image, p ));
if(gui.menu.draw)
drawInfoMenuItems();
blend( images[iSelection].image, gui.devicelist.pixmap, centeredAt( images[iSelection].image, p ) );
#if DEBUG
gui.debug.cursor = pos( 10, 100);
dprintf( &gui.screen, "label %s\n", param->label );
trunk/i386/boot2/options.c
112112
113113
114114
115
115
116116
117117
118118
char dummy[80];
getBootVolumeDescription( gBootVolume, dummy, 80, true );
drawDeviceIcon( gBootVolume, gui.screen.pixmap, p, false );
drawDeviceIcon( gBootVolume, gui.screen.pixmap, p, true );
drawStrCenteredAt( (char *) msg, &font_small, gui.screen.pixmap, gui.countdown.pos );
// make this screen the new background

Archive Download the corresponding diff file

Revision: 302