Chameleon

Chameleon Commit Details

Date:2010-09-01 02:00:06 (9 years 1 month ago)
Author:Azimutz
Commit:461
Parents: 460
Message:Last comment edit before metamorphosis.
Changes:
M/branches/azimutz/Chazileon/i386/boot2/graphics.c
M/branches/azimutz/Chazileon/i386/boot2/gui.c

File differences

branches/azimutz/Chazileon/i386/boot2/graphics.c
372372
373373
374374
375
375
376376
377377
378378
{
bool debugInfo = false; //Azi:debuginfo
extern bool showBootBanner; //||
VBEModeInfoBlock minfo; //||also need this on gui.c
VBEModeInfoBlock minfo;
unsigned short mode;
unsigned short vesaVersion;
int err = errFuncNotSupported;
branches/azimutz/Chazileon/i386/boot2/gui.c
847847
848848
849849
850
850
851851
852852
853853
......
905905
906906
907907
908
908
909909
910910
911911
912912
913913
914914
915
916915
917916
918917
......
19031902
19041903
19051904
1905
1906
1907
1908
19061909
19071910
19081911
19091912
19101913
1914
1915
1916
1917
19111918
19121919
19131920
{
inti;
booldebugInfo = false; //Azi:debuginfo
extern boolshowBootBanner;
extern boolshowBootBanner; //||
position_tp, p_prev, p_next;
//uint8_tmaxDevices = min( gui.maxdevices, menucount );
if (gui.menu.draw)
drawInfoMenuItems();
//Azi: making this info more accessible. TODO: remove the stuff on graphics.c!
//Azi: make this info more accessible.
getBoolForKey(kDebugInfoKey, &debugInfo, &bootInfo->bootConfig);
#ifdef AUTORES_DEBUG //Azi:autoresolution - debuginfo
debugInfo = true;
#endif
//Azi:debuginfo: need to #include vbe.h and also "VBEModeInfoBlock minfo;"
if (debugInfo && showBootBanner)
{
gui.debug.cursor = pos( 10, 100);
{
screen_params[0] = pos;
}
/*else
{
screen_params[0] = DEFAULT_SCREEN_WIDTH;
}*/
if (getIntForKey("boot_height", &pos, &bootInfo->themeConfig) && pos > 0)
{
screen_params[1] = pos;
}
/*else
{
screen_params[1] = DEFAULT_SCREEN_HEIGHT;
}*/
}
// Save current screen resolution.

Archive Download the corresponding diff file

Revision: 461