1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.ComponentModel;
7 namespace Efl { namespace Ui {
8 /// <summary>Return error code when setting the style on a widget.</summary>
9 public enum ThemeApplyResult
11 /// <summary>Failed to apply theme. The widget may become unusable.</summary>
13 /// <summary>Successfully applied the default style. The widget may look different from the rest of the UI if a custom theme is in use, but it should be usable.</summary>
15 /// <summary>Successfully applied the requested style from the current theme.</summary>
19 namespace Efl { namespace Ui { namespace Focus {
20 /// <summary>Focus directions.</summary>
23 /// <summary>previous direction</summary>
25 /// <summary>next direction</summary>
27 /// <summary>up direction</summary>
29 /// <summary>down direction</summary>
31 /// <summary>right direction</summary>
33 /// <summary>left direction</summary>
35 /// <summary>last direction</summary>
39 namespace Efl { namespace Ui { namespace Focus {
40 /// <summary>Focus Movement Policy.
42 public enum MovePolicy
44 /// <summary>Move focus by mouse click or touch. Elementary focus is set on mouse click and this is checked at mouse up time. (default)</summary>
46 /// <summary>Move focus by mouse in. Elementary focus is set on mouse move when the mouse pointer is moved into an object.</summary>
48 /// <summary>Move focus by key. Elementary focus is set on key input like Left, Right, Up, Down, Tab, or Shift+Tab.</summary>
52 namespace Efl { namespace Ui {
53 /// <summary>Slider's indicator visibility mode.
55 public enum SliderIndicatorVisibleMode
57 /// <summary>show indicator on mouse down or change in slider value</summary>
59 /// <summary>Always show the indicator.</summary>
61 /// <summary>Show the indicator on focus</summary>
63 /// <summary>Never show the indicator</summary>
67 namespace Efl { namespace Ui { namespace Focus {
68 /// <summary>Focus Autoscroll Mode
70 public enum AutoscrollMode
72 /// <summary>Directly show the focused region or item automatically.</summary>
74 /// <summary>Do not show the focused region or item automatically.</summary>
76 /// <summary>Bring in the focused region or item automatically which might invole the scrolling.</summary>
80 namespace Efl { namespace Ui {
81 /// <summary>Software cursor mode.
83 public enum SoftcursorMode
85 /// <summary>Auto-detect if a software cursor should be used (default).</summary>
87 /// <summary>Always use a softcursor.</summary>
89 /// <summary>Never use a softcursor.</summary>
93 namespace Efl { namespace Ui {
94 /// <summary>Accessibility</summary>
97 /// <summary>Activate default</summary>
99 /// <summary>Activate up</summary>
101 /// <summary>Activate down</summary>
103 /// <summary>Activate right</summary>
105 /// <summary>Activate left</summary>
107 /// <summary>Activate back</summary>
111 namespace Efl { namespace Ui {
112 /// <summary>Widget orientation mode, or how the theme handles screen orientation.
113 /// Note: Support for this feature is highly dependent on the theme in use. At the time of writing, the default theme for EFL does not implement support for orientation modes.</summary>
114 public enum WidgetOrientationMode
116 /// <summary>Default or automatic mode: if the widget's theme supports orientation, it will be handled automatically.</summary>
118 /// <summary>No signal is sent to the widget's theme. Widget's theme will not change according to the window or screen orientation.</summary>