(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
| 56 | } |
| 57 | |
| 58 | internal void CreateWidgetImpl(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name) |
| 59 | { |
| 60 | mParent = _parent; |
| 61 | IntPtr parent = _parent != null ? _parent.Native : IntPtr.Zero; |
| 62 | mNative = ExportGui_CreateWidget(parent, _style, GetWidgetType(), _skin, ref _coord, _align, _layer, _name); |
| 63 | |
| 64 | ExportGui_WrapWidget(mNative); |
| 65 | mWidgets.Add(mNative, this); |
| 66 | mIsWrap = false; |
| 67 | |
| 68 | if (mParent != null) |
| 69 | mParent.mChilds.Add(this); |
| 70 | else |
| 71 | mRoots.Add(this); |
| 72 | } |
| 73 | |
| 74 | public object UserData |
| 75 | { |
no test coverage detected