Advertisement
Guest User

Untitled

a guest
Dec 8th, 2013
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 6.88 KB | None | 0 0
  1. Elm_Image {
  2. {
  3.    legacy elm_image;
  4.    inherits {Elm_Widget, Evas_Clickable_Interface};
  5.    constructors {
  6.    };
  7.    properties {
  8.       editable {
  9.          set {
  10.             /*@ Make the image 'editable'. */
  11.          };
  12.          get {
  13.             /*@ Check if the image is 'editable'. */
  14.          };
  15.          params {
  16.             Eina_Bool set; /*@  */
  17.             Evas_Object* parent; /*@  */
  18.          };
  19.       };
  20.       smooth_scale {
  21.          set {
  22.             /*@ No description supplied by the EAPI. */
  23.          };
  24.          get {
  25.             /*@ No description supplied by the EAPI. */
  26.          };
  27.          params {
  28.             Eina_Bool smooth; /*@  */
  29.          };
  30.       };
  31.       resize_down {
  32.          set {
  33.             /*@ No description supplied by the EAPI. */
  34.          };
  35.          get {
  36.             /*@ No description supplied by the EAPI. */
  37.          };
  38.          params {
  39.             Eina_Bool resize_down; /*@  */
  40.          };
  41.       };
  42.       load_size {
  43.          set {
  44.             /*@ No description supplied by the EAPI. */
  45.          };
  46.          get {
  47.             /*@ No description supplied by the EAPI. */
  48.          };
  49.          params {
  50.             int size; /*@  */
  51.          };
  52.       };
  53.       animated_play {
  54.          set {
  55.             /*@ Start or stop an image object's animation. */
  56.          };
  57.          get {
  58.             /*@ Get whether an image object is under animation or not. */
  59.          };
  60.          params {
  61.             Eina_Bool play; /*@  */
  62.          };
  63.       };
  64.       resize_up {
  65.          set {
  66.             /*@ No description supplied by the EAPI. */
  67.          };
  68.          get {
  69.             /*@ No description supplied by the EAPI. */
  70.          };
  71.          params {
  72.             Eina_Bool resize_up; /*@  */
  73.          };
  74.       };
  75.       smooth {
  76.          set {
  77.             /*@ Set the smooth effect for an image. */
  78.          };
  79.          get {
  80.             /*@ Get the smooth effect for an image. */
  81.          };
  82.          params {
  83.             Eina_Bool smooth; /*@  */
  84.          };
  85.       };
  86.       no_scale {
  87.          set {
  88.             /*@ Disable scaling of this object. */
  89.          };
  90.          get {
  91.             /*@ Get whether scaling is disabled on the object. */
  92.          };
  93.          params {
  94.             Eina_Bool no_scale; /*@  */
  95.          };
  96.       };
  97.       animated {
  98.          set {
  99.             /*@ Set whether an image object (which supports animation) is to */
  100.          };
  101.          get {
  102.             /*@ Get whether an image object has animation enabled or not. */
  103.          };
  104.          params {
  105.             Eina_Bool anim; /*@  */
  106.          };
  107.       };
  108.       scale {
  109.          set {
  110.             /*@ No description supplied by the EAPI. */
  111.          };
  112.          get {
  113.             /*@ No description supplied by the EAPI. */
  114.          };
  115.          params {
  116.             double scale; /*@  */
  117.          };
  118.       };
  119.       fill_inside {
  120.          set {
  121.             /*@ No description supplied by the EAPI. */
  122.          };
  123.          get {
  124.             /*@ No description supplied by the EAPI. */
  125.          };
  126.          params {
  127.             Eina_Bool fill_inside; /*@  */
  128.          };
  129.       };
  130.       aspect_fixed {
  131.          set {
  132.             /*@ Set whether the original aspect ratio of the image should be kept on resize. */
  133.          };
  134.          get {
  135.             /*@ Get if the object retains the original aspect ratio. */
  136.          };
  137.          params {
  138.             Eina_Bool fixed; /*@  */
  139.          };
  140.       };
  141.       orient {
  142.          set {
  143.             /*@ Set the image orientation. */
  144.          };
  145.          get {
  146.             /*@ Get the image orientation. */
  147.          };
  148.          params {
  149.             Elm_Image_Orient orient; /*@  */
  150.          };
  151.       };
  152.       fill_outside {
  153.          set {
  154.             /*@ Set if the image fills the entire object area, when keeping the aspect ratio. */
  155.          };
  156.          get {
  157.             /*@ Get if the object is filled outside */
  158.          };
  159.          params {
  160.             Eina_Bool fill_outside; /*@  */
  161.          };
  162.       };
  163.       resizable {
  164.          set {
  165.             /*@ Set if the object is (up/down) resizable. */
  166.          };
  167.          get {
  168.             /*@ Get if the object is (up/down) resizable. */
  169.          };
  170.          params {
  171.             Eina_Bool up; /*@  */
  172.             Eina_Bool down; /*@  */
  173.          };
  174.       };
  175.       preload_disabled {
  176.          set {
  177.             /*@ Enable or disable preloading of the image */
  178.          };
  179.          params {
  180.             Eina_Bool disabled; /*@  */
  181.          };
  182.       };
  183.       animated_available {
  184.          get {
  185.             /*@ Get whether an image object supports animation or not. */
  186.          };
  187.          params {
  188.             Eina_Bool ret; /*@  */
  189.          };
  190.       };
  191.       object {
  192.          get {
  193.             /*@ Get the inlined image object of the image widget. */
  194.          };
  195.          params {
  196.             Evas_Object* ret; /*@  */
  197.          };
  198.       };
  199.       object_size {
  200.          get {
  201.             /*@ No description supplied by the EAPI. */
  202.          };
  203.          params {
  204.             int w; /*@  */
  205.             int h; /*@  */
  206.          };
  207.       };
  208.    };
  209.    methods {
  210.       sizing_eval {
  211.          /*@ No description supplied by the EAPI. */
  212.          params {
  213.          };
  214.       };
  215.       file_set {
  216.          /*@ Set the file that will be used as the image's source. */
  217.          return Eina_Bool;
  218.          params {
  219.             in const char* file; /*@  */
  220.             in const char* group; /*@  */
  221.          };
  222.       };
  223.       file_get {
  224.          /*@ Get the file that will be used as image. */
  225.          params {
  226.             out const char* file; /*@  */
  227.             out const char* group; /*@  */
  228.          };
  229.       };
  230.       mmap_set {
  231.          /*@ Set the file that will be used as the image's source. */
  232.          return Eina_Bool;
  233.          params {
  234.             in const Eina_File* file; /*@  */
  235.             in const char* group; /*@  */
  236.          };
  237.       };
  238.       memfile_set {
  239.          /*@ Set a location in memory to be used as an image object's source */
  240.          return Eina_Bool;
  241.          params {
  242.             in const void* img; /*@  */
  243.             in size_t size; /*@  */
  244.             in const char* format; /*@  */
  245.             in const char* key; /*@  */
  246.          };
  247.       };
  248.    };
  249.    implements {
  250.       Evas_Smart :: hide;
  251.       Evas_Smart :: clip set_only;
  252.       Evas_Smart :: clip_unset;
  253.       Evas_Smart :: show;
  254.       Evas_Smart :: color set_only;
  255.       Evas_Smart :: move;
  256.       Evas_Smart :: add;
  257.       Elm_Widget :: theme;
  258.       Evas_Smart :: del;
  259.       Eo_Base :: constructor;
  260.       Evas_Smart :: member_add;
  261.       Elm_Widget :: event;
  262.       Evas_Smart :: resize;
  263.    };
  264.    signals {
  265.       drop; /*@  */
  266.       clicked; /*@  */
  267.       download,start; /*@  */
  268.       download,progress; /*@  */
  269.       download,done; /*@  */
  270.       download,error; /*@  */
  271.    };
  272.  
  273. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement