//This is a button datastructure header.
//It contains all information of the "buttons".
struct GUIButton
{
int ButtonID; //The ID of the button.
// Button properties
int ButtonPozX; //Shows the most left position of the button
int ButtonPozY; //Shows the most upper position of the button
int ButtonSizeX; //Shows the widht of the bounding box of the button
int ButtonSizeY; //Shows the height of the bounding box of the button
int ButtonTextPozX; //Shows the button text position relative to the ButtonPozX
int ButtonTextPozY; //Shows the button text position relative to the ButtonPozX
int ButtonBorderWidth; //The width of the border around of the bounding box
int ButtonHasGraphics; // The button has graphical surface
int ButtonHasText; // The button has text surface
int ButtonSpeed; //The speed of the graphical content change
// Button status
int ButtonActive; //The button is visible
int ButtonClickable; // The button receive clicks from the user
// Button datas
int *ButtonGraphicsID; //This array contains the IDs of the button graphics, see the GUIGraph.h for mode detail about the ID.
char *ButtonText
// Button color properties
int ButtonColorRed; //Button default color red channel
int ButtonColorGreen; //Button default color green channel
int ButtonColorBlue; //Button default color blue channel
int ButtonMouseoverColorRed; //Button color red channel when the mouse hovering over the button
int ButtonMouseoverColorGreen; //Button color green channel when the mouse hovering over the button
int ButtonMouseoverColorBlue; //Button color blue channel when the mouse hovering over the button
int ButtonClickColorRed; //Button color red channel when the button clicked.
int ButtonClickColorGreen; //Button color green channel when the button clicked.
int ButtonClickColorBlue; //Button color blue channel when the button clicked.
int ButtonTextColorRed; //Buttontext default color red channel
int ButtonTextColorGreen; //Buttontext default color green channel
int ButtonTextColorBlue; //Buttontext default color blue channel
int ButtonTextMouseoverColorRed; //Buttontext color red channel when the mouse hovering over the button
int ButtonTextMouseoverColorGreen; //Buttontext color green channel when the mouse hovering over the button
int ButtonTextMouseoverColorBlue; //Buttontext color blue channel when the mouse hovering over the button
int ButtonTextClickColorRed; //Buttontext color red channel when the button clicked.
int ButtonTextClickColorGreen; //Buttontext color green channel when the button clicked.
int ButtonTextClickColorBlue; //Buttontext color blue channel when the button clicked.
int ButtonBorderColorRed; //Buttonborder red blue channel.
int ButtonBorderColorGreen; //Buttonborder green blue channel.
int ButtonBorderColorBlue; //Buttonborder blue blue channel.
int ButtonBorderMouseoverColorRed;//Buttontext color red channel when the mouse hovering over the button
int ButtonBorderMouseoverColorGreen; //Buttonborder color green channel when the mouse hovering over the button
int ButtonBorderMouseoverColorBlue; //Buttonborder color blue channel when the mouse hovering over the button
int ButtonBorderClickColorRed; //Buttonborder color red channel when the button clicked.
int ButtonBorderClickColorGreen; //Buttonborder color red channel when the button clicked.
int ButtonBorderClickColorBlue; //Buttonborder color red channel when the button clicked.
};
Hétköznap fél-háromnegyed órát tudok dolgozni rajta.
Jelenleg a konfigurációs és startup részén dolgozom. Hiányoznak még a grafikus stuffok.
A ablakozórendszer-, felhasználói jogosultság- és tartalomfüggetlen gyorsbillentyűhíváshoz egy nagyon rusnya megoldást találtam, viszont még egy deszkán is fut.
--
"Maradt még 2 kB-om. Teszek bele egy TCP-IP stacket és egy bootlogót. "