Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NUI] Refactoring ControlState to use bitmask
ControlState was implemented inefficently on the memory and the performance. This patch purposed to reduce inefficency by using bitflags on the state instead of string list. [https://github.sec.samsung.net/NUI/OneUIComponents/issues/15] long type bitmask will be represent each states, 1 1 1 1 1 O S D P F Normal : 0L Focused : 1L Pressed : 2L Disabled : 4L Selected : 8L Other : 16L and All : 31L This concept is based on VisualState of NUI2, https://github.sec.samsung.net/dotnet/nui2/blob/main/src/Tizen.NUI2.Components/Base/ViewState.cs but we had to modified few states to keep backward compatibility of NUI ControlState.
- Loading branch information