forked from enlightenment/efl
declare a few classes stable
this is the first wave of stablization declarations fixes T7562 fixes T7846 fixes T7848 fixes T7859 fixes T7860 fixes T7861 fixes T7863 fixes T7878 fixes T7899 fixes T7918 fixes T7919 fixes T7963 fixes T7964 fixes T7965 fixes T7967 fixes T7969 fixes T7970 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9264
This commit is contained in:
parent
dc2dba6c88
commit
1c8f6132af
|
@ -1,6 +1,6 @@
|
|||
parse efl_ui_layout_orientable;
|
||||
|
||||
enum @beta Efl.Gfx.Image_Orientation
|
||||
enum Efl.Gfx.Image_Orientation
|
||||
{
|
||||
[[An orientation type, to rotate and flip images.
|
||||
|
||||
|
@ -25,7 +25,7 @@ enum @beta Efl.Gfx.Image_Orientation
|
|||
flip_bitmask = 12 [[Bitmask that can be used to isolate flipping values, that is, $flip_vertical and $flip_horizontal.]]
|
||||
}
|
||||
|
||||
interface @beta Efl.Gfx.Image_Orientable
|
||||
interface Efl.Gfx.Image_Orientable
|
||||
{
|
||||
[[Interface for objects which can be oriented.]]
|
||||
c_prefix: efl_gfx_image;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
enum @beta Efl.Input.Device_Type
|
||||
enum Efl.Input.Device_Type
|
||||
{
|
||||
[[General type of input device.
|
||||
|
||||
|
@ -19,7 +19,7 @@ enum @beta Efl.Input.Device_Type
|
|||
@property canvas { values { canvas: Efl.Canvas; } }
|
||||
*/
|
||||
|
||||
class @beta Efl.Input.Device extends Efl.Object
|
||||
class Efl.Input.Device extends Efl.Object
|
||||
{
|
||||
[[Represents a pointing device such as a touch finger, pen or mouse.
|
||||
]]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
enum @beta Efl.Pointer.Action
|
||||
enum Efl.Pointer.Action
|
||||
{
|
||||
[[Pointer event type. Represents which kind of event this is.
|
||||
|
||||
|
@ -18,7 +18,7 @@ enum @beta Efl.Pointer.Action
|
|||
axis, [[Axis event (pen, stick, ...).]]
|
||||
}
|
||||
|
||||
enum @beta Efl.Pointer.Flags
|
||||
enum Efl.Pointer.Flags
|
||||
{
|
||||
[[Pointer flags indicating whether a double or triple click is under way.
|
||||
|
||||
|
@ -29,7 +29,7 @@ enum @beta Efl.Pointer.Flags
|
|||
triple_click = (1 << 1), [[This mouse button press was the 3rd press of a triple click]]
|
||||
}
|
||||
|
||||
enum @beta Efl.Input.Flags
|
||||
enum Efl.Input.Flags
|
||||
{
|
||||
[[Special flags set during an input event propagation.
|
||||
|
||||
|
@ -74,7 +74,7 @@ enum @beta Efl.Input.Object_Pointer_Mode {
|
|||
]]
|
||||
}
|
||||
|
||||
enum @beta Efl.Input.Value {
|
||||
enum @beta Efl.Input.Value {
|
||||
[[Keys for the generic values of all events.
|
||||
|
||||
@since 1.19
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface @beta Efl.Pack extends Efl.Container
|
||||
interface Efl.Pack extends Efl.Container
|
||||
{
|
||||
[[Common interface for objects (containers) with multiple contents
|
||||
(sub-objects) which can be added and removed at runtime.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface @beta Efl.Pack_Linear extends Efl.Pack
|
||||
interface Efl.Pack_Linear extends Efl.Pack
|
||||
{
|
||||
[[Common interface for objects (containers) with multiple contents
|
||||
(sub-objects) which can be added and removed at runtime in a linear fashion.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface @beta Efl.Ui.Autorepeat {
|
||||
interface Efl.Ui.Autorepeat {
|
||||
[[Interface for autorepeating clicks.
|
||||
|
||||
This interface abstracts functions for enabling / disabling this feature.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
parse efl_gfx_image_orientable;
|
||||
|
||||
enum @beta Efl.Ui.Layout_Orientation
|
||||
enum Efl.Ui.Layout_Orientation
|
||||
{
|
||||
[[Orientation for UI objects and layouts that can have multiple configurations.
|
||||
|
||||
|
@ -24,10 +24,10 @@ enum @beta Efl.Ui.Layout_Orientation
|
|||
along the selected axis.]]
|
||||
}
|
||||
|
||||
interface @beta Efl.Ui.Layout_Orientable
|
||||
interface Efl.Ui.Layout_Orientable
|
||||
{
|
||||
[[Interface for UI objects which can have more than one orientation.
|
||||
|
||||
|
||||
For example, sliders, which can be horizontal or vertical, or container
|
||||
boxes, which can arrange their elements in a horizontal or vertical fashion.
|
||||
]]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pack_Layout,
|
||||
class Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pack_Layout,
|
||||
Efl.Ui.Layout_Orientable, Efl.Gfx.Arrangement
|
||||
{
|
||||
[[A container that arranges children widgets in a vertical or horizontal fashion.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Ui.Button extends Efl.Ui.Layout_Base implements Efl.Ui.Clickable, Efl.Ui.Autorepeat,
|
||||
class Efl.Ui.Button extends Efl.Ui.Layout_Base implements Efl.Ui.Clickable, Efl.Ui.Autorepeat,
|
||||
Efl.Text, Efl.Content,
|
||||
Efl.Access.Widget.Action
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
struct Efl.Ui.Clickable_Clicked {
|
||||
struct @beta Efl.Ui.Clickable_Clicked {
|
||||
[[A struct that expresses a click in elementary.]]
|
||||
repeated : int; [[The amount of how often the clicked event was repeated in a certain amount of time]]
|
||||
button : int; [[The Button that is pressed]]
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
class @beta Efl.Ui.Table extends Efl.Ui.Widget implements Efl.Pack_Table, Efl.Pack_Layout,
|
||||
class Efl.Ui.Table extends Efl.Ui.Widget implements Efl.Pack_Table, Efl.Pack_Layout,
|
||||
Efl.Ui.Layout_Orientable, Efl.Gfx.Arrangement
|
||||
{
|
||||
[[Widget container that arranges its elements in a grid.
|
||||
|
||||
|
||||
The amount of rows and columns can be controlled with @Efl.Pack_Table.table_rows
|
||||
and @Efl.Pack_Table.table_columns, and elements can be manually positioned with
|
||||
@Efl.Pack_Table.pack_table.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_input_types;
|
||||
|
||||
mixin @beta Efl.Input.Event requires Efl.Object extends Efl.Duplicate
|
||||
mixin Efl.Input.Event requires Efl.Object extends Efl.Duplicate
|
||||
{
|
||||
[[Represents a generic event data.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Input.Hold extends Efl.Object implements Efl.Input.Event
|
||||
class Efl.Input.Hold extends Efl.Object implements Efl.Input.Event
|
||||
{
|
||||
[[Event data sent when inputs are put on hold or resumed.]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
interface @beta Efl.Input.Interface
|
||||
interface Efl.Input.Interface
|
||||
{
|
||||
[[An object implementing this interface can send pointer events.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class @beta Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
||||
class Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
||||
{
|
||||
[[Represents a single key event from a keyboard or similar device.
|
||||
]]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_input_types;
|
||||
|
||||
class @beta Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
||||
class Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
||||
{
|
||||
[[Event data carried over with any pointer event (mouse, touch, pen, ...)
|
||||
]]
|
||||
|
@ -11,7 +11,7 @@ class @beta Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl
|
|||
act: Efl.Pointer.Action; [[Event action]]
|
||||
}
|
||||
}
|
||||
@property value_has {
|
||||
@property value_has @beta {
|
||||
[[$true if this event carries a valid value for the specified $key.]]
|
||||
get {}
|
||||
keys {
|
||||
|
@ -21,7 +21,7 @@ class @beta Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl
|
|||
has: bool; [[$true if input value is valid, $false otherwise]]
|
||||
}
|
||||
}
|
||||
@property value {
|
||||
@property value @beta {
|
||||
[[Represents a generic value for this event.
|
||||
|
||||
Refer to the documentation of @Efl.Input.Value for each value's
|
||||
|
|
Loading…
Reference in New Issue