| | |
| | | public TextInputExControl(int i_Width, int i_Height, bool real = false) |
| | | { |
| | | this.InitSize(i_Width, i_Height, real); |
| | | this.TextColor = UserCenterColor.Current.TextGrayColor;
|
| | | this.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | |
|
| | | this.TextChangeEventHandler += this.TextChangeEvent; |
| | | this.EditorEnterAction += this.EditorEnterEvent; |
| | |
| | | public TextInputExControl(int i_Width, bool real = false) |
| | | {
|
| | | this.InitSize(i_Width, real);
|
| | | this.TextColor = UserCenterColor.Current.TextGrayColor; |
| | | this.TextColor = UserCenterColor.Current.TextGrayColor3; |
| | | |
| | | this.TextChangeEventHandler += this.TextChangeEvent; |
| | | this.EditorEnterAction += this.EditorEnterEvent; |
| | |
| | | /// <param name="view"></param>
|
| | | private void EditorEnterEvent(View view)
|
| | | {
|
| | | this.TextColor = UserCenterColor.Current.TextGrayColor;
|
| | | this.TextColor = UserCenterColor.Current.TextGrayColor3;
|
| | | this.IsTextBlack = false;
|
| | | this.FinishInputEvent?.Invoke();
|
| | | }
|