explorer: fixed compile errors or whatnot.
authorRejean Loyer <rejean.loyer@gmail.com>
Sun, 4 Sep 2011 15:13:55 +0000 (11:13 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Sat, 10 Sep 2011 01:21:41 +0000 (21:21 -0400)
explorer/Explorer.epj
explorer/res/view-showcase-left.png [new file with mode: 0644]
explorer/src/Skin.ec
explorer/src/Structures/ArrayUtilities.ec

index 66f4f52..08bb9f4 100644 (file)
    ],
    "Files" : [
       {
    ],
    "Files" : [
       {
-         "Folder" : "notes",
+         "Folder" : "extern",
          "Files" : [
          "Files" : [
-            "Info.txt",
-            "Todo.txt"
+
          ]
       },
       {
          ]
       },
       {
             "src/Structures/ArrayUtilities.ec",
             "src/Skin.ec"
          ]
             "src/Structures/ArrayUtilities.ec",
             "src/Skin.ec"
          ]
-      }
+      },
+      "info.txt",
+      "todo.txt"
    ],
    ],
-   "ResourcesPath" : "",
+   "ResourcesPath" : "res",
    "Resources" : [
    "Resources" : [
-      "res/panel-tree.png",
-      "res/view-cards.png",
-      "res/view-details.png",
-      "res/view-icons.png",
-      "res/view-list.png",
-      "res/view-showcase-right.png",
-      "res/browse.png"
+      "panel-tree.png",
+      "view-cards.png",
+      "view-details.png",
+      "view-icons.png",
+      "view-list.png",
+      "view-showcase-right.png",
+      "browse.png"
    ]
 }
\ No newline at end of file
    ]
 }
\ No newline at end of file
diff --git a/explorer/res/view-showcase-left.png b/explorer/res/view-showcase-left.png
new file mode 100644 (file)
index 0000000..c3e85de
Binary files /dev/null and b/explorer/res/view-showcase-left.png differ
index fe5ba20..b936456 100644 (file)
@@ -588,9 +588,9 @@ class AcovelSkin_ScrollBar : ScrollBar
       background = { skinBackground.r * 9 / 6, skinBackground.g * 9 / 6, skinBackground.b * 9 / 6 };
 
       upBtn.background = Color {  70 * 6/10, 130* 6/10, 180* 6/10 }; //skinBackground;
       background = { skinBackground.r * 9 / 6, skinBackground.g * 9 / 6, skinBackground.b * 9 / 6 };
 
       upBtn.background = Color {  70 * 6/10, 130* 6/10, 180* 6/10 }; //skinBackground;
-      upBtn.bitmap = { "<:ecere>elements/arrow-up.png", monochrome = true };
+      upBtn.bitmap = { "<:ecere>elements/arrowUp.png", monochrome = true };
       downBtn.background = Color {  70 * 6/10, 130* 6/10, 180* 6/10 }; //skinBackground;
       downBtn.background = Color {  70 * 6/10, 130* 6/10, 180* 6/10 }; //skinBackground;
-      downBtn.bitmap = { "<:ecere>elements/arrow-down.png", monochrome = true };
+      downBtn.bitmap = { "<:ecere>elements/arrowDown.png", monochrome = true };
       thumb.background = Color {  70 * 6/10, 130* 6/10, 180* 6/10 }; //skinBackground;
    }   
 }
       thumb.background = Color {  70 * 6/10, 130* 6/10, 180* 6/10 }; //skinBackground;
    }   
 }
@@ -600,7 +600,7 @@ class AcovelSkin_DropBox : DropBox
    void OnApplyGraphics()
    {
       PUREVTBL(DropBox)[__ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnApplyGraphics](this);
    void OnApplyGraphics()
    {
       PUREVTBL(DropBox)[__ecereVMethodID___ecereNameSpace__ecere__gui__Window_OnApplyGraphics](this);
-      button.bitmap = { "<:ecere>elements/arrow-down.png", monochrome = true };
+      button.bitmap = { "<:ecere>elements/arrowDown.png", monochrome = true };
       background = skinBackground;
       foreground = skinForeground;
       this.selectionColor = ::selectionColor;
       background = skinBackground;
       foreground = skinForeground;
       this.selectionColor = ::selectionColor;
index bb305a4..040d1fe 100644 (file)
@@ -6,5 +6,11 @@ private:
 define sizeoftype = GetTypeSize(type);
 int GetTypeSize(Class type)
 {
 define sizeoftype = GetTypeSize(type);
 int GetTypeSize(Class type)
 {
-   return type.typeSize;
+   // todo tocheck: is this code any good?
+   /*if(!strcmp(type.name, "int"))
+      return sizeof(int);
+   else if(!strcmp(type.name, "unsigned int"))
+      return sizeof(uint);
+   else
+      */return type.typeSize;
 }
 }