Chameleon

Chameleon Commit Details

Date:2010-10-09 07:44:46 (8 years 9 months ago)
Author:Evan Lojewski
Commit:574
Parents: 573
Message:GUI module changes to support NBI
Changes:
M/branches/meklort/i386/modules/GUI/GUI_module.c
M/branches/meklort/i386/modules/GUI/gui.c

File differences

branches/meklort/i386/modules/GUI/gui.c
2222
2323
2424
25
25
2626
2727
2828
......
18251825
18261826
18271827
1828
1828
18291829
18301830
18311831
......
18541854
18551855
18561856
1857
18581857
18591858
1860
1861
1862
1859
18631860
18641861
18651862
#define IMG_REQUIRED -1
#define THEME_NAME_DEFAULT"Default"
static const char* theme_name = THEME_NAME_DEFAULT;
const char* theme_name = THEME_NAME_DEFAULT;
#ifdef EMBED_THEME
#include "art.h"
//==========================================================================
// loadBootGraphics
static void loadBootGraphics(void)
void loadBootGraphics(void)
{
if (bootImageData != NULL) {
return;
int length;
const char *dummyVal;
int oldScreenWidth, oldScreenHeight;
bool legacy_logo;
uint16_t x, y;
if (getBoolForKey("Legacy Logo", &legacy_logo, &bootInfo->bootConfig) && legacy_logo) {
usePngImage = false;
} else if (bootImageData == NULL) {
if (usePngImage && bootImageData == NULL) {
loadBootGraphics();
}
branches/meklort/i386/modules/GUI/GUI_module.c
8383
8484
8585
86
87
88
8689
8790
8891
......
102105
103106
104107
108
109
110
111
105112
106113
107114
**/
void GUI_PreBoot_hook(void* arg1, void* arg2, void* arg3, void* arg4)
{
bool legacy_logo;
extern bool usePngImage;
// Turn off any GUI elements
if( bootArgs->Video.v_display == GRAPHICS_MODE )
{
}
}
if (getBoolForKey("Legacy Logo", &legacy_logo, &bootInfo->bootConfig) && legacy_logo) {
usePngImage = false;
}
}
/**

Archive Download the corresponding diff file

Revision: 574