• <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 閱讀(179) 評論(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

            欧美一区二区三区久久综合| 狠狠88综合久久久久综合网 | 日本免费一区二区久久人人澡| 91久久婷婷国产综合精品青草| 99久久综合国产精品二区| 久久99久久无码毛片一区二区| 成人久久免费网站| 成人午夜精品久久久久久久小说 | 久久综合中文字幕| 亚洲七七久久精品中文国产| 国内精品久久久久久久涩爱 | 久久久久高潮毛片免费全部播放 | 国产精品国色综合久久| 精品久久久久久无码人妻蜜桃 | 午夜精品久久久久9999高清| 久久青青草原国产精品免费 | 97久久久久人妻精品专区 | 天天做夜夜做久久做狠狠| 中文无码久久精品| 久久99久久无码毛片一区二区 | 久久久久国产精品嫩草影院| 久久丝袜精品中文字幕| 久久精品人妻一区二区三区| 999久久久免费精品国产| 国内精品综合久久久40p| 久久久久久久久久免免费精品| 99久久国产热无码精品免费| 亚洲va久久久噜噜噜久久男同| 久久精品国产99国产精品亚洲| 国产激情久久久久影院老熟女免费| 日本强好片久久久久久AAA| 久久只有这精品99| 久久久免费精品re6| 伊人久久综合无码成人网| 欧美久久久久久午夜精品| 激情综合色综合久久综合| 久久综合中文字幕| 中文字幕亚洲综合久久| 久久久亚洲欧洲日产国码是AV| 亚洲午夜福利精品久久| 久久久久99这里有精品10|