• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            08年05月09日

            Posted on 2008-05-09 15:32 RichardHe 閱讀(176) 評論(0)  編輯 收藏 引用
            CEGUI的設計模式:

            像其中的單件模式比較容易理解.

            但是像如下的設計不知道為什么要這樣?
            class CEGUIEXPORT DragContainer : public Window
                {
                public:
                    /*************************************************************************
                        Constants
                    *************************************************************************/
                    static const String WidgetTypeName;     //!< Type name for DragContainer.
                    static const String EventNamespace;     //!< Namespace for global events
                    static const String EventDragStarted;   //!< Name of the event fired when the user begins dragging the thumb.
                    static const String EventDragEnded;     //!< Name of the event fired when the user releases the thumb.
                    static const String EventDragPositionChanged;   //!< Event fired when the drag position has changed.
                    static const String EventDragEnabledChanged;    //!< Event fired when dragging is enabled or disabled.
                    static const String EventDragAlphaChanged;      //!< Event fired when the alpha value used when dragging is changed.
                    static const String EventDragMouseCursorChanged;//!< Event fired when the mouse cursor used when dragging is changed.
                    static const String EventDragThresholdChanged;  //!< Event fired when the drag pixel threshold is changed.
                    static const String EventDragDropTargetChanged; //!< Event fired when the drop target changes.
                   ...
                   ...
                   ...
                private:
                    /*************************************************************************
                        Static properties for the Spinner widget
                    *************************************************************************/
                    static DragContainerProperties::DragAlpha       d_dragAlphaProperty;
                    static DragContainerProperties::DragCursorImage d_dragCursorImageProperty;
                    static DragContainerProperties::DraggingEnabled d_dragEnabledProperty;
                    static DragContainerProperties::DragThreshold   d_dragThresholdProperty;
            };
            為什么上面的有的設計為public,有的又是private,
            為什么又要設計為靜態的呢???誰幫我解釋下?

            posts - 94, comments - 138, trackbacks - 0, articles - 94

            Copyright © RichardHe

            久久中文骚妇内射| 人妻无码精品久久亚瑟影视| 久久婷婷激情综合色综合俺也去| 亚洲AV日韩精品久久久久| 精品一区二区久久| 久久精品无码免费不卡| 亚洲精品国精品久久99热一| 久久国产乱子伦精品免费强| 亚洲色欲久久久久综合网| 久久精品亚洲一区二区三区浴池 | 一本久久久久久久| 久久精品国产99久久丝袜| 亚洲精品乱码久久久久久按摩| 草草久久久无码国产专区| 精品久久久一二三区| 亚洲午夜久久久精品影院| 国产色综合久久无码有码| 国产成人AV综合久久| 精品永久久福利一区二区 | 国内精品综合久久久40p| 99热精品久久只有精品| AV色综合久久天堂AV色综合在| 欧美精品国产综合久久| 精品久久久久久无码人妻蜜桃| av无码久久久久不卡免费网站 | 国产精品成人99久久久久| 亚洲国产精品久久久天堂| 久久福利资源国产精品999| 99久久免费国产精品| 青青草国产精品久久| 国产亚洲婷婷香蕉久久精品| 性色欲网站人妻丰满中文久久不卡| 亚洲欧美久久久久9999| 无码任你躁久久久久久| 久久夜色撩人精品国产| 欧美伊人久久大香线蕉综合69 | 欧美日韩精品久久久久| 一本色道久久综合| 久久亚洲熟女cc98cm| 久久99精品久久久大学生| 热re99久久精品国99热|