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

            国产亚州精品女人久久久久久 | 中文字幕无码精品亚洲资源网久久| .精品久久久麻豆国产精品| 少妇久久久久久被弄高潮| 国产精品久久久久…| 久久se精品一区二区影院| 久久性生大片免费观看性| 久久强奷乱码老熟女网站| 久久精品国产亚洲AV忘忧草18| 精品久久久久久中文字幕大豆网| 成人久久免费网站| 久久最新精品国产| 久久SE精品一区二区| 国产真实乱对白精彩久久| 久久精品国产亚洲av麻豆图片| 99久久国产综合精品麻豆| 亚洲国产小视频精品久久久三级| 无码精品久久久天天影视| 99久久人人爽亚洲精品美女| 超级碰碰碰碰97久久久久| 狠色狠色狠狠色综合久久| 久久久久亚洲av综合波多野结衣| 久久久精品午夜免费不卡| 日韩人妻无码精品久久免费一 | 亚洲精品97久久中文字幕无码| 久久久久久国产精品美女| 国产精品99久久久久久www| 久久婷婷五月综合色奶水99啪| 亚洲精品无码久久毛片| 88久久精品无码一区二区毛片| 久久综合国产乱子伦精品免费| 久久久久亚洲爆乳少妇无 | 久久综合成人网| 久久青草国产精品一区| 久久精品99久久香蕉国产色戒| 怡红院日本一道日本久久 | 亚洲天堂久久精品| 老色鬼久久亚洲AV综合| 亚洲中文字幕久久精品无码喷水 | 久久精品成人免费网站| 97久久超碰国产精品旧版|