Added staticLink sample; Renamed disguised .bmp Vanilla resources to .png as they...
authorJerome St-Louis <jerome@ecere.com>
Wed, 7 Sep 2011 02:56:06 +0000 (22:56 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 7 Sep 2011 02:56:06 +0000 (22:56 -0400)
ear/extract/extract.epj
ecere/res/vanilla/ecere/elements/optionBoxDisabledSelected.png [moved from ecere/res/vanilla/ecere/elements/optionBoxDisabledSelected.bmp with 100% similarity]
ecere/res/vanilla/ecere/elements/optionBoxDown.png [moved from ecere/res/vanilla/ecere/elements/optionBoxDown.bmp with 100% similarity]
ecere/res/vanilla/ecere/elements/optionBoxSelected.png [moved from ecere/res/vanilla/ecere/elements/optionBoxSelected.bmp with 100% similarity]
ecere/res/vanilla/ecere/elements/optionBoxSelectedDown.png [moved from ecere/res/vanilla/ecere/elements/optionBoxSelectedDown.bmp with 100% similarity]
ecere/res/vanilla/ecere/elements/optionBoxUp.png [moved from ecere/res/vanilla/ecere/elements/optionBoxUp.bmp with 100% similarity]
samples/eC/staticLink/staticLink.ec [new file with mode: 0644]
samples/eC/staticLink/staticLink.epj [new file with mode: 0644]

index 4a74780..3496dad 100644 (file)
                   "arrowLeft.png",
                   "arrowRight.png",
                   "arrowUp.png",
-                  "optionBoxDisabledSelected.bmp",
-                  "optionBoxDown.bmp",
-                  "optionBoxSelected.bmp",
-                  "optionBoxSelectedDown.bmp",
-                  "optionBoxUp.bmp"
+                  "optionBoxDisabledSelected.png",
+                  "optionBoxDown.png",
+                  "optionBoxSelected.png",
+                  "optionBoxSelectedDown.png",
+                  "optionBoxUp.png"
                ]
             },
             {
diff --git a/samples/eC/staticLink/staticLink.ec b/samples/eC/staticLink/staticLink.ec
new file mode 100644 (file)
index 0000000..8091122
--- /dev/null
@@ -0,0 +1,30 @@
+#ifdef ECERE_STATIC
+import static "ecere"
+#else
+import "ecere"
+#endif
+
+class Form1 : Window
+{
+   text = "Form1";
+   background = activeBorder;
+   borderStyle = sizable;
+   hasMaximize = true;
+   hasMinimize = true;
+   hasClose = true;
+   size = { 640, 480 };
+   nativeDecorations = true;
+
+   Button button1
+   {
+      this, text = "button1", position = { 192, 72 };
+
+      bool NotifyClicked(Button button, int x, int y, Modifiers mods)
+      {
+
+         return true;
+      }
+   };
+}
+
+Form1 form1 { };
diff --git a/samples/eC/staticLink/staticLink.epj b/samples/eC/staticLink/staticLink.epj
new file mode 100644 (file)
index 0000000..ce3e9d6
--- /dev/null
@@ -0,0 +1,142 @@
+{
+   "Version" : 0.2,
+   "ModuleName" : "staticLink",
+   "Options" : {
+      "Warnings" : "All",
+      "TargetType" : "Executable",
+      "TargetFileName" : "staticLink",
+      "Libraries" : [
+         "ecere"
+      ]
+   },
+   "Configurations" : [
+      {
+         "Name" : "Debug",
+         "Options" : {
+            "Debug" : true,
+            "Optimization" : "None",
+            "PreprocessorDefinitions" : [
+               "_DEBUG"
+            ]
+         }
+      },
+      {
+         "Name" : "Release",
+         "Options" : {
+            "Debug" : false,
+            "MemoryGuard" : true,
+            "NoLineNumbers" : true,
+            "Optimization" : "Speed"
+         }
+      },
+      {
+         "Name" : "Static",
+         "Options" : {
+            "NoLineNumbers" : true,
+            "Optimization" : "Size",
+            "PreprocessorDefinitions" : [
+               "ECERE_STATIC"
+            ],
+            "ObjectsDirectory" : "",
+            "Libraries" : [
+               "ecereVanilla"
+            ]
+         },
+         "Platforms" : [
+            {
+               "Name" : "win32",
+               "Options" : {
+                  "Libraries" : [
+                     "kernel32",
+                     "user32",
+                     "gdi32",
+                     "winmm",
+                     "mpr",
+                     "imm32",
+                     "z"
+                  ]
+               }
+            }
+         ]
+      }
+   ],
+   "Files" : [
+      "staticLink.ec"
+   ],
+   "ResourcesPath" : "",
+   "Resources" : [
+      {
+         "Folder" : "ecere",
+         "Files" : [
+            {
+               "Folder" : "actions",
+               "Files" : [
+                  "/sdk/ecere/res/vanilla/ecere/actions/folderNew.png",
+                  "/sdk/ecere/res/vanilla/ecere/actions/goUp.png"
+               ]
+            },
+            {
+               "Folder" : "devices",
+               "Files" : [
+                  "/sdk/ecere/res/vanilla/ecere/devices/computer.png",
+                  "/sdk/ecere/res/vanilla/ecere/devices/driveHardDisk.png",
+                  "/sdk/ecere/res/vanilla/ecere/devices/driveRemovableMedia.png",
+                  "/sdk/ecere/res/vanilla/ecere/devices/mediaFloppy.png",
+                  "/sdk/ecere/res/vanilla/ecere/devices/mediaOptical.png"
+               ]
+            },
+            {
+               "Folder" : "elements",
+               "Files" : [
+                  "/sdk/ecere/res/vanilla/ecere/elements/areaClose.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/areaMaximize.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/areaMinimize.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/areaRestore.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/arrowDown.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/arrowLeft.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/arrowRight.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/arrowUp.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/optionBoxDisabledSelected.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/optionBoxDown.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/optionBoxSelected.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/optionBoxSelectedDown.png",
+                  "/sdk/ecere/res/vanilla/ecere/elements/optionBoxUp.png"
+               ]
+            },
+            {
+               "Folder" : "mimeTypes",
+               "Files" : [
+                  "/sdk/ecere/res/vanilla/ecere/mimeTypes/file.png"
+               ]
+            },
+            {
+               "Folder" : "places",
+               "Files" : [
+                  "/sdk/ecere/res/vanilla/ecere/places/driveRemote.png",
+                  "/sdk/ecere/res/vanilla/ecere/places/folder.png",
+                  "/sdk/ecere/res/vanilla/ecere/places/folderRemote.png",
+                  "/sdk/ecere/res/vanilla/ecere/places/networkServer.png",
+                  "/sdk/ecere/res/vanilla/ecere/places/networkWorkgroup.png"
+               ]
+            },
+            {
+               "Folder" : "status",
+               "Files" : [
+                  "/sdk/ecere/res/vanilla/ecere/status/folderOpen.png"
+               ]
+            }
+         ],
+         "Options" : {
+            "ExcludeFromBuild" : true
+         },
+         "Configurations" : [
+            {
+               "Name" : "Static",
+               "Options" : {
+                  "ExcludeFromBuild" : false
+               }
+            }
+         ]
+      }
+   ]
+}
\ No newline at end of file