Esempio n. 1
0
 public GroupBox()
 {
     mPoint = new Point2I();
     mSize = new Size2I();
     mGroupBox = null;
     mText = null;
 }
Esempio n. 2
0
 public TextLabel()
 {
     mLabel = null;
     mSize = null;
     mName = null;
     mPoint = null;
 }
Esempio n. 3
0
 public RadioButton()
 {
     mRadioButton = null;
     mPoint = new Point2I();
     mSize = new Size2I();
     mContain = null;
     mText = null;
 }
Esempio n. 4
0
 public Panel()
 {
     mBackColor = null;
     mDockStyle = @"None";
     mAutoScroll = false;
     mPanel = null;
     mSize = null;
 }
Esempio n. 5
0
 public TextBox()
 {
     mTextChangedCommand = null;
     mTextChangedCmd = null;
     mTextBox = null;
     mPoint = null;
     mSize = null;
     mText = null;
 }
Esempio n. 6
0
 public RadioButtonEx()
 {
     mCheckCommand = null;
     mCheckCmd = null;
     mRadioButton = null;
     mPoint = new Point2I();
     mSize = new Size2I();
     mContain = null;
     mText = null;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 public Button()
 {
     mPoint = new Point2I();
     mSize = new Size2I();
     mCommand = null;
     mOnClick = null;
     mButton = null;
     mContain = null;
     mText = null;
     mEnable = true;
 }
Esempio n. 9
0
 public TreeView()
 {
     mShowRootLines = false;
     mDockStyle = @"None";
     mInitCommand = null;
     mInitCmd = null;
     mTreeView = null;
     mContain = null;
     mSize = null;
     mLoadCommand = null;
     mLoadCmd = null;
     mTreeNodes = new List<ITreeNode>();
 }
Esempio n. 10
0
 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;
 }
Esempio n. 11
0
File: Form.cs Progetto: zyouhua/nvwa
 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;
 }
Esempio n. 12
0
        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_);
        }
Esempio n. 13
0
        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_);
        }
Esempio n. 14
0
 __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_);
 }
Esempio n. 15
0
        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_);
        }
Esempio n. 16
0
 public void _setSize(Size2I nSize)
 {
     mSize._setWidth(nSize._getWidth());
     mSize._setHeight(nSize._getHeight());
 }
Esempio n. 17
0
 public Size2I _getSize()
 {
     Size2I result_ = new Size2I(mSize);
     return result_;
 }
Esempio n. 18
0
 public Rect2I()
 {
     mPoint = new Point2I();
     mSize = new Size2I();
 }
Esempio n. 19
0
 public Rect2I(Rect2I nRect)
 {
     mPoint = new Point2I(nRect._getPoint());
     mSize = new Size2I(nRect._getSize());
 }