Esempio n. 1
0
        public GtkPlugin(DrawingBridge bridge)
        {
            win_ = new Window("Amazing Gtk Plugin");
            win_.Resize(200, 200);
            xCoord_ = new Label();
            yCoord_ = new Label();
            VBox box = new VBox();

            box.PackStart(xCoord_);
            box.PackStart(yCoord_);
            box.ShowAll();
            win_.Add(box);
        }
Esempio n. 2
0
 public void EndDrawingOperation()
 {
     DrawingBridge.EndDrawingOperation(cside_);
 }
Esempio n. 3
0
 public void StartDrawingOperation()
 {
     DrawingBridge.StartDrawingOperation(cside_);
 }
Esempio n. 4
0
 public void DrawSquare(double x, double y, int size)
 {
     DrawingBridge.DrawSquare(cside_, x, y, size);
 }
Esempio n. 5
0
 public AmazingGLPlugin(DrawingBridge bridge)
 {
     bridge_ = bridge;
     Configure();
 }
Esempio n. 6
0
 public PluginManager(string loadPath, IntPtr bridge)
 {
     domain_  = new Domain();
     bridge_  = new DrawingBridge(bridge);
     plugins_ = new PluginLoader(loadPath, bridge_).LoadPlugins();
 }
Esempio n. 7
0
 public DrawManySquaresPlugin(DrawingBridge bridge)
 {
     bridge_ = bridge;
 }
Esempio n. 8
0
 public PluginLoader(string path, DrawingBridge bridge)
 {
     path_   = path;
     bridge_ = bridge;
 }