mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-05 05:37:53 +08:00
12 lines
298 B
C++
12 lines
298 B
C++
|
#include <cdroid.h>
|
||
|
#include <cdlog.h>
|
||
|
#include <widget/candidateview.h>
|
||
|
|
||
|
int main(int argc,const char*argv[]){
|
||
|
App app(argc,argv);
|
||
|
Window* w = new Window(0,0,-1,-1);
|
||
|
w->setBackgroundColor(0xFF112233);
|
||
|
Toast::makeText(&app,"Press OK to exit",4000)->show();
|
||
|
return app.exec();
|
||
|
}
|