Exemplo n.º 1
0
    public static void DrawGui(object state)
    {
        thread = Thread.CurrentThread;
        cont   = new Table(EE.Get(), items);
        cont.ItemSize(48, 48);
        cont.Move(100, 50);
        cont.Resize(app_w - 100, app_h - 50);
        cont.Show();

        thread.Abort();
    }
Exemplo n.º 2
0
  public static void Main(string [] args)
  {
    Enlightenment.Ecore.Canvas.Init();	
	
    Enlightenment.Ecore.Canvas EE  = new Enlightenment.Ecore.Canvas();		
    EE.SoftwareX11New(":0", IntPtr.Zero, 0, 0, 800, 600);
	
       
    Image im = new Image(EE.Get());
    im.Set("/tmp/test.png", null);
	
    int[] pixels = new int[im.Geometry.W * im.Geometry.H];
	
    pixels = im.PixelsGet(1);
	
    // play around here.
	
    im.PixelsSet(pixels);
	
  }      
Exemplo n.º 3
0
    public static void Main(string [] args)
    {
        Enlightenment.Ecore.Canvas.Init();

        Enlightenment.Ecore.Canvas EE = new Enlightenment.Ecore.Canvas();
        EE.SoftwareX11New(":0", IntPtr.Zero, 0, 0, 800, 600);


        Image im = new Image(EE.Get());

        im.Set("/tmp/test.png", null);

        int[] pixels = new int[im.Geometry.W * im.Geometry.H];

        pixels = im.PixelsGet(1);

        // play around here.

        im.PixelsSet(pixels);
    }