ear/extract; extras; samples: Fixes
[sdk] / samples / guiAndGfx / skinning / form1.ec
index 9f4a583..ee972f2 100644 (file)
@@ -2,8 +2,11 @@ import "ecere"
 
 class Form1 : Window
 {
+#if defined(__linux__)
+   displayDriver = "OpenGL";
+#endif
    alphaBlend = true;
-   text = "Form1";
+   caption = "Form1";
    background = activeBorder;
    borderStyle = sizable;
    hasMaximize = true;
@@ -12,12 +15,12 @@ class Form1 : Window
    size = { 640, 480 };
    nativeDecorations = false;
 
-   Button button1 { this, text = "button1", position = { 440, 152 } };
-   DropBox dropBox1 { this, text = "dropBox1", position = { 208, 88 } };
-   ListBox listBox1 { this, text = "listBox1", position = { 304, 280 } };
-   EditBox editBox1 { this, text = "editBox1", position = { 96, 184 } };
-   Label label1 { this, text = "label1", position = { 432, 248 } };
-   ScrollBar scrollBar1 { this, text = "scrollBar1", position = { 488, 360 } };
+   Button button1 { this, caption = "button1", position = { 440, 152 } };
+   DropBox dropBox1 { this, caption = "dropBox1", position = { 208, 88 } };
+   ListBox listBox1 { this, caption = "listBox1", position = { 304, 280 } };
+   EditBox editBox1 { this, caption = "editBox1", position = { 96, 184 } };
+   Label label1 { this, caption = "label1", position = { 432, 248 } };
+   ScrollBar scrollBar1 { this, caption = "scrollBar1", position = { 488, 360 } };
 }
 
 Form1 form1 {};