BOOTLOADER
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
bootloader
middleware
gui
gui.c
Go to the documentation of this file.
1
#include "
includes.h
"
2
3
#define GuiIdleState 0
4
#define GuiInitialState 1
5
#define GuiUpdateState 2
6
7
GUI_CONTROL
GuiCtrl
;
8
9
void
F_GuiInit
(
void
){
10
GuiCtrl.
Status
=0;
11
GuiCtrl.
State
=
GuiIdleState
;
12
}
13
void
F_GuiSvc
(
void
){
14
switch
(GuiCtrl.
State
){
15
case
GuiIdleState
:
16
break
;
17
case
GuiInitialState
:
18
// do vga initial
19
// do window initial
20
break
;
21
case
GuiUpdateState
:
22
// update vga memory if need.
23
break
;
24
}
25
}
Generated on Wed Jun 13 2012 00:03:10 for BOOTLOADER by
1.8.1.1