summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_mapbuf.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_mapbuf.eo')
-rw-r--r--src/lib/elementary/elm_mapbuf.eo128
1 files changed, 0 insertions, 128 deletions
diff --git a/src/lib/elementary/elm_mapbuf.eo b/src/lib/elementary/elm_mapbuf.eo
deleted file mode 100644
index 1f59bb8..0000000
--- a/src/lib/elementary/elm_mapbuf.eo
+++ /dev/null
@@ -1,128 +0,0 @@
1class Elm.Mapbuf extends Efl.Ui.Widget implements Efl.Content, Efl.Ui.Legacy
2{
3 [[Elementary mapbuf class]]
4 legacy_prefix: elm_mapbuf;
5 eo_prefix: elm_private_mapbuf;
6 methods {
7 @property auto {
8 set {
9 [[Set or unset auto flag for map rendering.
10
11 When a ampbuf object has "auto mode" enabled, then it will
12 enable and disable map mode based on current visibility.
13 Mapbuf will track if you show or hide it AND if the object
14 is inside the canvas viewport or not when it is moved or
15 resized. Note that if you turn automode off, then map mode
16 will be in a disabled state at this point. When you turn it
17 on for the first time, the current state will be evaluated
18 base on current properties of the mapbuf object.
19
20 Auto mode is disabled by default.
21 ]]
22 }
23 get {
24 [[Get a value whether auto mode is enabled or not.]]
25 }
26 values {
27 on: bool; [[The auto mode state.]]
28 }
29 }
30 @property smooth {
31 set {
32 [[Enable or disable smooth map rendering.
33
34 This sets smoothing for map rendering. If the object is a
35 type that has its own smoothing settings, then both the
36 smooth settings for this object and the map must be turned off.
37
38 By default smooth maps are enabled.
39 ]]
40 }
41 get {
42 [[Get a value whether smooth map rendering is enabled or not.]]
43 }
44 values {
45 smooth: bool; [[The smooth mode state.]]
46 }
47 }
48 @property alpha {
49 set {
50 [[Set or unset alpha flag for map rendering.
51
52 This sets alpha flag for map rendering. If the object is a
53 type that has its own alpha settings, then this will take
54 precedence. Only image objects have this currently. It stops
55 alpha blending of the map area, and is useful if you know the
56 object and/or all sub-objects is 100% solid.
57
58 Alpha is enabled by default.
59 ]]
60 }
61 get {
62 [[Get a value whether alpha blending is enabled or not.]]
63 }
64 values {
65 alpha: bool; [[The alpha state.]]
66 }
67 }
68 @property enabled {
69 set {
70 [[Enable or disable the map.
71
72 This enables the map that is set or disables it. On enable,
73 the object geometry will be saved, and the new geometry will
74 change (position and size) to reflect the map geometry set.
75
76 Also, when enabled, alpha and smooth states will be used, so
77 if the content isn't solid, alpha should be enabled, for
78 example, otherwise a black rectangle will fill the content.
79
80 When disabled, the stored map will be freed and geometry prior
81 to enabling the map will be restored.
82
83 It's disabled by default.
84 ]]
85 }
86 get {
87 [[Get a value whether map is enabled or not.]]
88 }
89 values {
90 enabled: bool; [[The enabled state.]]
91 }
92 }
93 @property point_color {
94 [[The color of a point (vertex) in the mapbuf.
95
96 This represents the color of the vertex in the mapbuf. Colors will
97 be linearly interpolated between vertex points through the mapbuf.
98 Color will multiply the "texture" pixels (like GL_MODULATE in
99 OpenGL). The default color of a vertex in a mapbuf is white
100 solid (255, 255, 255, 255) which means it will have no effect on
101 modifying the texture pixels.
102
103 @since 1.9
104 ]]
105 keys {
106 idx: int; [[Index of point to change, from 0 to 3.]]
107 }
108 values {
109 r: int; [[Red (0 - 255)]]
110 g: int; [[Green (0 - 255)]]
111 b: int; [[Blue (0 - 255)]]
112 a: int; [[Alpha (0 - 255)]]
113 }
114 }
115 }
116 implements {
117 class.constructor;
118 Efl.Object.constructor;
119 Efl.Gfx.Entity.visible { set; }
120 Efl.Gfx.Entity.position { set; }
121 Efl.Gfx.Entity.size { set; }
122 Efl.Ui.Widget.theme_apply;
123 Efl.Ui.Widget.widget_sub_object_del;
124 Efl.Content.content { get; set; }
125 Efl.Content.content_unset;
126 Efl.Part.part_get;
127 }
128}