Evas filters: Add @protected tag where applicable

The Evas.Filter interface is basically just an internal thing.
This commit is contained in:
Jean-Philippe Andre 2015-06-23 17:25:44 +09:00
parent d15308efef
commit c86a5edc9f
4 changed files with 13 additions and 7 deletions

View File

@ -3,7 +3,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
// Evas internal implementation // Evas internal implementation
legacy_prefix: null; legacy_prefix: null;
methods { methods {
@property changed { @property changed @protected {
set { set {
[[Marks this filter as changed.]] [[Marks this filter as changed.]]
} }
@ -11,7 +11,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
val: bool; val: bool;
} }
} }
@property invalid { @property invalid @protected {
set { set {
[[Marks this filter as invalid.]] [[Marks this filter as invalid.]]
} }
@ -19,24 +19,24 @@ mixin Evas.Filter (Efl.Gfx.Filter)
val: bool; val: bool;
} }
} }
constructor { constructor @protected {
[[Initialize the Evas.Filter mixin. [[Initialize the Evas.Filter mixin.
Should be called in a parent's class constructor. Should be called in a parent's class constructor.
]] ]]
} }
destructor { destructor @protected {
[[Release all data held by this Evas.Filter. [[Release all data held by this Evas.Filter.
This may include image buffers allocated by the Evas engine. This may include image buffers allocated by the Evas engine.
This should be called at the beginning of a parent's class destructor. This should be called at the beginning of a parent's class destructor.
]] ]]
} }
input_alpha { input_alpha @protected {
[[Called by Evas.Filter to determine whether the input is alpha or rgba.]] [[Called by Evas.Filter to determine whether the input is alpha or rgba.]]
return: bool; return: bool;
} }
input_render { input_render @protected {
[[Called by Evas.Filter when the parent class must render the input. [[Called by Evas.Filter when the parent class must render the input.
; ;
]] ]]
@ -51,7 +51,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
do_async: bool; do_async: bool;
} }
} }
dirty { dirty @protected {
[[Called when the filter changes must trigger a redraw of the object. [[Called when the filter changes must trigger a redraw of the object.
Virtual, to be implemented in the parent class. Virtual, to be implemented in the parent class.

View File

@ -1,3 +1,5 @@
#define EVAS_FILTER_PROTECTED
#include "evas_common_private.h" #include "evas_common_private.h"
#include "evas_private.h" #include "evas_private.h"
#include "../../lib/efl/interfaces/efl_gfx_filter.eo.h" #include "../../lib/efl/interfaces/efl_gfx_filter.eo.h"

View File

@ -1,3 +1,5 @@
#define EVAS_FILTER_PROTECTED
#include "evas_common_private.h" #include "evas_common_private.h"
#include <sys/types.h> #include <sys/types.h>

View File

@ -1,3 +1,5 @@
#define EVAS_FILTER_PROTECTED
#include "evas_common_private.h" /* Includes evas_bidi_utils stuff. */ #include "evas_common_private.h" /* Includes evas_bidi_utils stuff. */
#include "evas_private.h" #include "evas_private.h"