ear/extract; extras; samples: Fixes
[sdk] / samples / guiAndGfx / skinning / form1.ec
1 import "ecere"
2
3 class Form1 : Window
4 {
5 #if defined(__linux__)
6    displayDriver = "OpenGL";
7 #endif
8    alphaBlend = true;
9    caption = "Form1";
10    background = activeBorder;
11    borderStyle = sizable;
12    hasMaximize = true;
13    hasMinimize = true;
14    hasClose = true;
15    size = { 640, 480 };
16    nativeDecorations = false;
17
18    Button button1 { this, caption = "button1", position = { 440, 152 } };
19    DropBox dropBox1 { this, caption = "dropBox1", position = { 208, 88 } };
20    ListBox listBox1 { this, caption = "listBox1", position = { 304, 280 } };
21    EditBox editBox1 { this, caption = "editBox1", position = { 96, 184 } };
22    Label label1 { this, caption = "label1", position = { 432, 248 } };
23    ScrollBar scrollBar1 { this, caption = "scrollBar1", position = { 488, 360 } };
24 }
25
26 Form1 form1 {};
27
28 class MyApp : GuiApplication
29 {
30    skin = "My";
31    //skin = "Acovel";
32    //skin = "Sim";
33 }