mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-06 06:08:24 +08:00
10 lines
294 B
C++
Executable File
10 lines
294 B
C++
Executable File
#include <cdroid.h>
|
|
|
|
int main(int argc,const char*argv[]){
|
|
App app(argc,argv);
|
|
Window*w = new Window(0,0,-1,-1);
|
|
AnimatedStateListDrawable*d=(AnimatedStateListDrawable*)app.getDrawable("cdroid:drawable/switch_thumb_material_anim");
|
|
w->setBackground(d);
|
|
return app.exec();
|
|
}
|