Permalink
Browse files

provide a winxed include file and use it in the examples

  • Loading branch information...
1 parent c49a619 commit 6e298c7fb8066281a8b098eb2ab9ec9659e2cef4 @NotFound committed Jul 14, 2011
Showing with 31 additions and 51 deletions.
  1. +25 −0 WinxedGtk.winxhead
  2. +2 −19 examples/jsontree.winxed
  3. +2 −13 examples/table.winxed
  4. +1 −19 examples/testgtk.winxed
  5. +1 −0 setup.winxed
View
@@ -0,0 +1,25 @@
+// Include file for WinxedGtk module
+
+namespace WinxedGtk
+{
+
+class VBox;
+class HBox;
+class ScrolledWindow;
+class Window;
+class Label;
+class Button;
+class Entry;
+class TextView;
+class DrawingArea;
+class Image;
+class Tree;
+class TreeItem;
+class MenuBar;
+class MenuItem;
+class Menu;
+class CList;
+
+}
+
+// End
View
@@ -4,26 +4,9 @@
$load 'WinxedGtk.pbc';
-//**********************************************************************
-
-namespace WinxedGtk
-{
+$include 'WinxedGtk.winxhead';
-class VBox;
-class HBox;
-class ScrolledWindow;
-class Window;
-class Label;
-class Button;
-class Entry;
-class Image;
-class Tree;
-class TreeItem;
-class MenuBar;
-class MenuItem;
-class Menu;
-
-}
+//**********************************************************************
using namespace WinxedGtk;
View
@@ -3,21 +3,10 @@
$load 'WinxedGtk.pbc';
$load 'Mysql.pbc';
-//**********************************************************************
-
-namespace WinxedGtk
-{
+$include 'WinxedGtk.winxhead';
-class VBox;
-class HBox;
-class Window;
-class Label;
-class Button;
-class Entry;
-class Image;
-class CList;
+//**********************************************************************
-}
using namespace WinxedGtk;
View
@@ -4,25 +4,7 @@ $load 'WinxedGtk.pbc';
//**********************************************************************
-namespace WinxedGtk
-{
-
-class VBox;
-class HBox;
-class Window;
-class Label;
-class Button;
-class Entry;
-class TextView;
-class Image;
-class DrawingArea;
-class Tree;
-class TreeItem;
-class MenuItem;
-class MenuBar;
-class Menu;
-
-}
+$include 'WinxedGtk.winxhead';
using namespace WinxedGtk;
View
@@ -48,6 +48,7 @@ function main(argv)
"pbc_pir" : {
"build/WinxedGtk.pbc" : "pir/WinxedGtk.pir"
},
+ "inst_inc" : "WinxedGtk.winxhead",
"inst_lib" : "build/WinxedGtk.pbc"
}
//END_JSON_SETUP

0 comments on commit 6e298c7

Please sign in to comment.