summaryrefslogtreecommitdiff
path: root/src/lib/ector/ector_surface.eo
blob: 13922ca20295fad7f5d2dc8bc94306b42362ecae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
mixin Ector.Surface (Ector.Buffer)
{
   [[Surface interface for Ector]]

   eo_prefix: ector_surface;
   data: null;
   methods {
      @property reference_point {
         [[This defines where (0,0) is in pixel coordinates inside the surface]]
         set @pure_virtual {
         }
         values {
            x: int; [[X coordinate for reference point]]
            y: int; [[Y coordinate for reference point]]
         }
      }
      renderer_factory_new @pure_virtual {
         [[Create a new renderer factory for the given type]]
         return: Efl.Object; [[Renderer factory object]] /* FIXME: Should be a more restricted type, only here for cyclic. */
         params {
            @in type: const(Efl.Class) @nonull; [[Efl class]] /* FIXME: Should probably be a more restricted type */
         }
      }
   }
}