20 lines
536 B
C++
20 lines
536 B
C++
#include "pikbdlistener.h"
|
|
#include "piconnection.h"
|
|
#include "piconfig.h"
|
|
#include "piscreentiles.h"
|
|
#include "piscreen.h"
|
|
|
|
|
|
int main (int argc, char * argv[]) {
|
|
PIScreen screen;
|
|
TileSimple window;
|
|
window.back_format.color_back = PIScreenTypes::Red;
|
|
window.content << TileSimple::Row("label", PIScreenTypes::CellFormat(PIScreenTypes::Black, PIScreenTypes::Transparent));
|
|
screen.rootTile()->addTile(&window);
|
|
screen.enableExitCapture(PIKbdListener::F10);
|
|
screen.start();
|
|
screen.waitForFinish();
|
|
return 0;
|
|
}
|
|
|