-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NUI] Add value type: control state #6546
base: DevelNUI
Are you sure you want to change the base?
Conversation
Internal API ChangedAdded: 23, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.LControlState
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::All
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Disabled
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::DisabledFocused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::DisabledSelected
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Focused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Normal
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Other
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Pressed
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Selected
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::SelectedFocused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::SelectedPressed
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Contains(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Equals(System.Object)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Equals(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::HasIntersectionWith(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static System.Boolean Tizen.NUI.BaseComponents.LControlState::op_Equality(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static System.Boolean Tizen.NUI.BaseComponents.LControlState::op_Inequality(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Int32 Tizen.NUI.BaseComponents.LControlState::GetHashCode()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.String Tizen.NUI.BaseComponents.LControlState::ToString()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Create(System.String)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::op_Addition(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::op_Subtraction(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
|
/// Defines a value type of control state. | ||
/// </summary> | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
public readonly struct LControlState |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we discussed on offline,
It is slightly different with other L-Struct so I think it could be renamed something else. ControlState has this struct(has-a), so State, or StateValue could be the option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please review the updated code. Thank you :)
b6011e4
to
7116a12
Compare
Internal API ChangedAdded: 23, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.LControlState
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::All
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Disabled
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::DisabledFocused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::DisabledSelected
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Focused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Normal
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Other
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Pressed
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Selected
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::SelectedFocused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::SelectedPressed
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Contains(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Equals(System.Object)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Equals(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::HasIntersectionWith(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static System.Boolean Tizen.NUI.BaseComponents.LControlState::op_Equality(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static System.Boolean Tizen.NUI.BaseComponents.LControlState::op_Inequality(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Int32 Tizen.NUI.BaseComponents.LControlState::GetHashCode()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.String Tizen.NUI.BaseComponents.LControlState::ToString()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Create(System.String)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::op_Addition(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::op_Subtraction(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
|
Introduce the value type of ControlState. It replaces ControlState implementation. Signed-off-by: Jiyun Yang <[email protected]>
7116a12
to
71eb54f
Compare
Internal API ChangedAdded: 23, Removed: 0, Changed: 0Added+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ Tizen.NUI.BaseComponents.LControlState
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::All
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Disabled
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::DisabledFocused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::DisabledSelected
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Focused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Normal
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Other
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Pressed
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Selected
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::SelectedFocused
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::SelectedPressed
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Contains(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Equals(System.Object)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::Equals(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.BaseComponents.LControlState::HasIntersectionWith(Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static System.Boolean Tizen.NUI.BaseComponents.LControlState::op_Equality(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static System.Boolean Tizen.NUI.BaseComponents.LControlState::op_Inequality(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Int32 Tizen.NUI.BaseComponents.LControlState::GetHashCode()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.String Tizen.NUI.BaseComponents.LControlState::ToString()
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::Create(System.String)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::op_Addition(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static Tizen.NUI.BaseComponents.LControlState Tizen.NUI.BaseComponents.LControlState::op_Subtraction(Tizen.NUI.BaseComponents.LControlState,Tizen.NUI.BaseComponents.LControlState)
|
Description of Change
Introduce the value type of ControlState. It replaces ControlState implementation.
API Changes