• <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

            久久精品国产日本波多野结衣| 亚洲国产精久久久久久久| 久久午夜免费视频| 99久久免费国产特黄| 久久九九久精品国产| 久久久久亚洲av综合波多野结衣 | 久久国内免费视频| 麻豆一区二区99久久久久| 91久久九九无码成人网站| 奇米影视7777久久精品人人爽| 久久A级毛片免费观看| 狠狠色丁香婷婷久久综合 | 日日躁夜夜躁狠狠久久AV| 国产AV影片久久久久久| 久久婷婷五月综合97色直播| 国产激情久久久久影院老熟女| 亚洲AV乱码久久精品蜜桃| 久久不见久久见免费影院www日本| 亚洲欧洲日产国码无码久久99| 精品久久人人妻人人做精品 | 高清免费久久午夜精品| 亚洲综合久久夜AV | 久久精品国产久精国产| 一本色道久久HEZYO无码| 亚洲国产成人乱码精品女人久久久不卡 | 久久精品国产欧美日韩| 99久久精品费精品国产一区二区| 中文精品久久久久人妻| 欧美午夜A∨大片久久| 久久e热在这里只有国产中文精品99| 欧洲精品久久久av无码电影| 久久香综合精品久久伊人| 久久亚洲电影| 亚洲国产成人久久综合碰| 天堂无码久久综合东京热| 亚洲精品NV久久久久久久久久| 久久久亚洲精品蜜桃臀| 久久天天躁狠狠躁夜夜2020| 久久99热这里只有精品国产| 99久久免费只有精品国产| 国产精品伦理久久久久久|