public override void Add(Enlightenment.Evas.Canvas canvas) { i = new Enlightenment.Evas.Image(canvas); i.Set(file, null); shadow = new Enlightenment.Evas.Image(canvas); shadow.Set(file, null); shadow.Set(DataConfig.DATADIR + "/data/test/images/shadow.png", null); shadow.Border = new ImageBorder(5, 5, 5, 5); }
public EventController(EcoreEvasCallback Event, Enlightenment.Ecore.Window c) { window = c; evnt_num = Event; private_callback = new PrivEventHandler(EventCallback); switch(evnt_num) { case EcoreEvasCallback.Resize: ecore_evas_callback_resize_set(window.Raw, private_callback); break; case EcoreEvasCallback.Move: ecore_evas_callback_move_set(window.Raw, private_callback); break; case EcoreEvasCallback.Show: ecore_evas_callback_show_set(window.Raw, private_callback); break; case EcoreEvasCallback.Hide: ecore_evas_callback_hide_set(window.Raw, private_callback); break; case EcoreEvasCallback.DeleteRequest: ecore_evas_callback_delete_request_set(window.Raw, private_callback); break; case EcoreEvasCallback.Destroy: ecore_evas_callback_destroy_set(window.Raw, private_callback); break; case EcoreEvasCallback.FocusIn: ecore_evas_callback_focus_in_set(window.Raw, private_callback); break; case EcoreEvasCallback.FocusOut: ecore_evas_callback_focus_out_set(window.Raw, private_callback); break; case EcoreEvasCallback.MouseIn: ecore_evas_callback_mouse_in_set(window.Raw, private_callback); break; case EcoreEvasCallback.MouseOut: ecore_evas_callback_mouse_out_set(window.Raw, private_callback); break; case EcoreEvasCallback.PreRender: ecore_evas_callback_pre_render_set(window.Raw, private_callback); break; case EcoreEvasCallback.PostRender: ecore_evas_callback_post_render_set(window.Raw, private_callback); break; } }
public override void StackBelow(Enlightenment.Evas.Item below) { i.StackBelow(below); }
public override void Add(Enlightenment.Evas.Canvas canvas) { i = new Image(canvas); i.Set(file.FullName, null); }
public static void AppResizeHandler(Enlightenment.Ecore.Canvas ee) { int x, y, w, h; Rectangle rect = (Rectangle)EE.DataGet("bg_rect"); EE.GeometryGet(out x, out y, out w, out h); rect.Resize(w, h); rect = (Rectangle)EE.DataGet("left_toolbar"); rect.Resize(100, h); rect = (Rectangle)EE.DataGet("top_toolbar"); rect.Resize(w, 50); cont.Resize(w - 100, h - 50); }
public override String ToString() { throw Enlightenment.Exception(); }
public Lazy(LazyThreadSafetyMode mode) { throw Enlightenment.Exception(); }
public Lazy(Func <T> valueFactory, LazyThreadSafetyMode mode) { throw Enlightenment.Exception(); }
public Lazy(Func <T> valueFactory, Boolean isThreadSafe) { throw Enlightenment.Exception(); }
public Lazy(Func <T> valueFactory) { throw Enlightenment.Exception(); }
public Lazy(Boolean isThreadSafe) { throw Enlightenment.Exception(); }
public Lazy() { throw Enlightenment.Exception(); }
public static void _xwindow_resize_cb(Enlightenment.Ecore.Window ee) { Edje background; System.Console.WriteLine("Resizing Application XWindow!"); background = (Edje)window.DataGet("background"); background.Resize(window.Geometry.W, window.Geometry.H); }
public static void AppResizeHandler(Enlightenment.Ecore.Canvas ee) { int w, h; Box box; w = Application.EE.Geometry.W; h = Application.EE.Geometry.H; box = (Box)Application.EE.DataGet("box_icons"); box.Resize(box.Geometry.W, h - 37); box = (Box)Application.EE.DataGet("box_left"); box.Resize(box.Geometry.W, h - 37); box = (Box)Application.EE.DataGet("box_images"); box.Resize(w - 70 - 2, h - 37 - 2); Edje win_bg = (Edje)Application.EE.DataGet("win_bg"); win_bg.Resize(w, h); imageTable.Resize(w- 60 - 2, h - 37 - 2); MenuBar mb = (MenuBar)Application.EE.DataGet("mb"); mb.Resize(w, mb.Geometry.H); }
public static void AppAboutButtonHandler(Enlightenment.Evas.Item item, object EventInfo) { Dialog d = new Dialog("About EFL#", "EFL# Widget Test", "Coded by Hisham Mardam Bey"); d.AddButton("Close", AppAboutButtonCloseHandler); d.Run(); }
public static void AppQuitButtonHandler(Enlightenment.Evas.Item item, object EventInfo) { Dialog d = new Dialog("Quit Application", "Are you sure you want to quit?", "Quitting will lose all unsaved data!"); d.AddButton("Yes", AppQuitButtonYesHandler); d.AddButton("No", AppQuitButtonNoHandler); d.Run(); }