public GroupBox() { mPoint = new Point2I(); mSize = new Size2I(); mGroupBox = null; mText = null; }
public TextLabel() { mLabel = null; mSize = null; mName = null; mPoint = null; }
public RadioButton() { mRadioButton = null; mPoint = new Point2I(); mSize = new Size2I(); mContain = null; mText = null; }
public Panel() { mBackColor = null; mDockStyle = @"None"; mAutoScroll = false; mPanel = null; mSize = null; }
public TextBox() { mTextChangedCommand = null; mTextChangedCmd = null; mTextBox = null; mPoint = null; mSize = null; mText = null; }
public RadioButtonEx() { mCheckCommand = null; mCheckCmd = null; mRadioButton = null; mPoint = new Point2I(); mSize = new Size2I(); mContain = null; mText = null; }
public ComboBox() { mComboBoxItems = new List<ComboBoxItem>(); mCommands = new List<ICommand>(); m_tSelectTextSlot = null; mPoint = new Point2I(); mSize = new Size2I(); mComboBox = null; mContain = null; mEnable = true; }
public Button() { mPoint = new Point2I(); mSize = new Size2I(); mCommand = null; mOnClick = null; mButton = null; mContain = null; mText = null; mEnable = true; }
public TreeView() { mShowRootLines = false; mDockStyle = @"None"; mInitCommand = null; mInitCmd = null; mTreeView = null; mContain = null; mSize = null; mLoadCommand = null; mLoadCmd = null; mTreeNodes = new List<ITreeNode>(); }
public ListView() { mDockStyle = @"None"; mViewStyle = "List"; mContain = null; mInitCommand = null; mInitCmd = null; mLoadCommand = null; mLoadCmd = null; mItemActivateCommand = null; mItemActivateCmd = null; mSelectedIndexChangedCommand = null; mSelectedIndexChangedCmd = null; mSize = null; }
public Form() { m_tSerializeTypeSlot = null; m_tHeadSerializeSlot = null; mForm = null; mSize = null; mCaption = null; mStartPosition = null; mBorderStyle = null; mIconUrl = null; mTag = null; mInitCommand = null; mInitCmd = null; mLoadCommand = null; mLoadCmd = null; }
public Rect2I(Point2I nPoint, Size2I nSize) { Point2I point_ = new Point2I(); point_._setX(nPoint._getX() + nSize._getWidth()); point_._setY(nPoint._getY() + nSize._getHeight()); __tuple<Point2I, Point2I> tuple_ = nPoint._minMax(point_); Point2I min_ = tuple_._get_0(); Point2I max_ = tuple_._get_1(); Size2I size_ = new Size2I(); size_._setWidth(max_._getX() - min_._getX()); size_._setHeight(max_._getY() - min_._getY()); mPoint = new Point2I(min_); mSize = new Size2I(size_); }
public Rect2I(int nX, int nY, int nWidth, int nHeight) { Point2I point0_ = new Point2I(nX, nY); Point2I point_ = new Point2I(); point_._setX(nX + nWidth); point_._setY(nY + nHeight); __tuple<Point2I, Point2I> tuple_ = point0_._minMax(point_); Point2I min_ = tuple_._get_0(); Point2I max_ = tuple_._get_1(); Size2I size_ = new Size2I(); size_._setWidth(max_._getX() - min_._getX()); size_._setHeight(max_._getY() - min_._getY()); mPoint = new Point2I(min_); mSize = new Size2I(size_); }
__tuple<Point2I, Size2I> _moveInfo(Point2I nPoint) { Point2I vector_ = nPoint._vectorFrom(mMouseDown); __tuple<Point2I, Point2I> tuple_ = this._moveMinMax(); Point2I min_ = tuple_._get_0(); Point2I max_ = tuple_._get_1(); Size2I size_ = new Size2I(); int width_ = max_._getX() - min_._getX(); int height_ = max_._getY() - min_._getY(); size_._setWidth(width_); size_._setHeight(height_); Point2I begin_ = new Point2I(); if (vector_._getX() > 0) { begin_._setX(max_._getX()); } else { begin_._setX(min_._getX()); } if (vector_._getY() > 0) { begin_._setY(max_._getY()); } else { begin_._setY(min_._getY()); } Point2I end_ = begin_ + vector_; ScreenSingleton screenSingleton_ = __singleton<ScreenSingleton>._instance(); end_ = screenSingleton_._normalPoint(end_); vector_ = end_ - begin_; return new __tuple<Point2I, Size2I>(vector_, size_); }
public Rect2I(Point2I nBeg, Point2I nEnd) { __tuple<Point2I, Point2I> tuple_ = nBeg._minMax(nEnd); Point2I min_ = tuple_._get_0(); Point2I max_ = tuple_._get_1(); Size2I size_ = new Size2I(); size_._setWidth(max_._getX() - min_._getX()); size_._setHeight(max_._getY() - min_._getY()); mPoint = new Point2I(min_); mSize = new Size2I(size_); }
public void _setSize(Size2I nSize) { mSize._setWidth(nSize._getWidth()); mSize._setHeight(nSize._getHeight()); }
public Size2I _getSize() { Size2I result_ = new Size2I(mSize); return result_; }
public Rect2I() { mPoint = new Point2I(); mSize = new Size2I(); }
public Rect2I(Rect2I nRect) { mPoint = new Point2I(nRect._getPoint()); mSize = new Size2I(nRect._getSize()); }