ultimatepp/reference/LinuxFb/Local.h
cxl a1ad15b2f5 .examples
git-svn-id: svn://ultimatepp.org/upp/trunk@5463 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-10-24 11:40:20 +00:00

21 lines
395 B
C

#ifdef PLATFORM_POSIX
void FBInit(const String& fbdevice);
void FBDeInit();
#define GUI_APP_MAIN \
void GuiMainFn_();\
\
int main(int argc, const char **argv, const char **envptr) { \
UPP::AppInit__(argc, argv, envptr); \
FBInit("/dev/fb0"); \
GuiMainFn_(); \
UPP::Ctrl::CloseTopCtrls(); \
FBDeInit(); \
return UPP::GetExitCode(); \
} \
\
void GuiMainFn_()
#endif