summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-06-23 17:25:44 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-06-25 14:36:09 +0900
commitc86a5edc9f4dbee7660166309d441790e9149e80 (patch)
treea779e19a68d6d4d43a54179828fe90dd928efb97
parentd15308efef24d3e23860a6888b9f321dedb025cc (diff)
Evas filters: Add @protected tag where applicable
The Evas.Filter interface is basically just an internal thing.
-rw-r--r--src/lib/evas/canvas/evas_filter.eo14
-rw-r--r--src/lib/evas/canvas/evas_filter_mixin.c2
-rw-r--r--src/lib/evas/canvas/evas_object_image.c2
-rw-r--r--src/lib/evas/canvas/evas_object_text.c2
4 files changed, 13 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/evas_filter.eo b/src/lib/evas/canvas/evas_filter.eo
index b461de9d5f..5f8442f68a 100644
--- a/src/lib/evas/canvas/evas_filter.eo
+++ b/src/lib/evas/canvas/evas_filter.eo
@@ -3,7 +3,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
3 // Evas internal implementation 3 // Evas internal implementation
4 legacy_prefix: null; 4 legacy_prefix: null;
5 methods { 5 methods {
6 @property changed { 6 @property changed @protected {
7 set { 7 set {
8 [[Marks this filter as changed.]] 8 [[Marks this filter as changed.]]
9 } 9 }
@@ -11,7 +11,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
11 val: bool; 11 val: bool;
12 } 12 }
13 } 13 }
14 @property invalid { 14 @property invalid @protected {
15 set { 15 set {
16 [[Marks this filter as invalid.]] 16 [[Marks this filter as invalid.]]
17 } 17 }
@@ -19,24 +19,24 @@ mixin Evas.Filter (Efl.Gfx.Filter)
19 val: bool; 19 val: bool;
20 } 20 }
21 } 21 }
22 constructor { 22 constructor @protected {
23 [[Initialize the Evas.Filter mixin. 23 [[Initialize the Evas.Filter mixin.
24 24
25 Should be called in a parent's class constructor. 25 Should be called in a parent's class constructor.
26 ]] 26 ]]
27 } 27 }
28 destructor { 28 destructor @protected {
29 [[Release all data held by this Evas.Filter. 29 [[Release all data held by this Evas.Filter.
30 30
31 This may include image buffers allocated by the Evas engine. 31 This may include image buffers allocated by the Evas engine.
32 This should be called at the beginning of a parent's class destructor. 32 This should be called at the beginning of a parent's class destructor.
33 ]] 33 ]]
34 } 34 }
35 input_alpha { 35 input_alpha @protected {
36 [[Called by Evas.Filter to determine whether the input is alpha or rgba.]] 36 [[Called by Evas.Filter to determine whether the input is alpha or rgba.]]
37 return: bool; 37 return: bool;
38 } 38 }
39 input_render { 39 input_render @protected {
40 [[Called by Evas.Filter when the parent class must render the input. 40 [[Called by Evas.Filter when the parent class must render the input.
41 ; 41 ;
42 ]] 42 ]]
@@ -51,7 +51,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
51 do_async: bool; 51 do_async: bool;
52 } 52 }
53 } 53 }
54 dirty { 54 dirty @protected {
55 [[Called when the filter changes must trigger a redraw of the object. 55 [[Called when the filter changes must trigger a redraw of the object.
56 56
57 Virtual, to be implemented in the parent class. 57 Virtual, to be implemented in the parent class.
diff --git a/src/lib/evas/canvas/evas_filter_mixin.c b/src/lib/evas/canvas/evas_filter_mixin.c
index 70e37b0991..046683baf5 100644
--- a/src/lib/evas/canvas/evas_filter_mixin.c
+++ b/src/lib/evas/canvas/evas_filter_mixin.c
@@ -1,3 +1,5 @@
1#define EVAS_FILTER_PROTECTED
2
1#include "evas_common_private.h" 3#include "evas_common_private.h"
2#include "evas_private.h" 4#include "evas_private.h"
3#include "../../lib/efl/interfaces/efl_gfx_filter.eo.h" 5#include "../../lib/efl/interfaces/efl_gfx_filter.eo.h"
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index 0446edeaac..807f27cc5e 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1,3 +1,5 @@
1#define EVAS_FILTER_PROTECTED
2
1#include "evas_common_private.h" 3#include "evas_common_private.h"
2 4
3#include <sys/types.h> 5#include <sys/types.h>
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index 21b91d9824..111379115f 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -1,3 +1,5 @@
1#define EVAS_FILTER_PROTECTED
2
1#include "evas_common_private.h" /* Includes evas_bidi_utils stuff. */ 3#include "evas_common_private.h" /* Includes evas_bidi_utils stuff. */
2#include "evas_private.h" 4#include "evas_private.h"
3 5