亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? wizard.h

?? 浙江大學的悟空嵌入式系統模擬器
?? H
字號:
///////////////////////////////////////////////////////////////////////////////
// Name:        wizard.h
// Purpose:     wxWizard class: a GUI control presenting the user with a
//              sequence of dialogs which allows to simply perform some task
// Author:      Vadim Zeitlin (partly based on work by Ron Kuris and Kevin B.
//              Smith)
// Modified by: Robert Cavanaugh
//              Added capability to use .WXR resource files in Wizard pages
//              Added wxWIZARD_HELP event
// Created:     15.08.99
// RCS-ID:      $Id: wizard.h,v 1.1 2005/03/16 06:49:32 kehc Exp $
// Copyright:   (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
// Licence:     wxWindows license
///////////////////////////////////////////////////////////////////////////////

#ifndef _WX_WIZARD_H_
#define _WX_WIZARD_H_

#if wxUSE_WIZARDDLG

// ----------------------------------------------------------------------------
// headers and other simple declarations
// ----------------------------------------------------------------------------

#ifndef WX_PRECOMP
    #include "wx/dialog.h"      // the base class
    #include "wx/panel.h"       // ditto

    #include "wx/event.h"       // wxEVT_XXX constants
#endif // WX_PRECOMP

// Extended style to specify a help button
#define wxWIZARD_EX_HELPBUTTON   0x00000010

// forward declarations
class WXDLLEXPORT wxWizard;

// ----------------------------------------------------------------------------
// wxWizardPage is one of the wizards screen: it must know what are the
// following and preceding pages (which may be NULL for the first/last page).
//
// Other than GetNext/Prev() functions, wxWizardPage is just a panel and may be
// used as such (i.e. controls may be placed directly on it &c).
// ----------------------------------------------------------------------------

class WXDLLEXPORT wxWizardPage : public wxPanel
{
public:
    wxWizardPage() { Init(); }

    // ctor accepts an optional bitmap which will be used for this page instead
    // of the default one for this wizard (should be of the same size). Notice
    // that no other parameters are needed because the wizard will resize and
    // reposition the page anyhow
    wxWizardPage(wxWizard *parent,
                 const wxBitmap& bitmap = wxNullBitmap,
                 const wxChar* resource = NULL);

    bool Create(wxWizard *parent,
                const wxBitmap& bitmap = wxNullBitmap,
                const wxChar* resource = NULL);

    // these functions are used by the wizard to show another page when the
    // user chooses "Back" or "Next" button
    virtual wxWizardPage *GetPrev() const = 0;
    virtual wxWizardPage *GetNext() const = 0;

    // default GetBitmap() will just return m_bitmap which is ok in 99% of
    // cases - override this method if you want to create the bitmap to be used
    // dynamically or to do something even more fancy. It's ok to return
    // wxNullBitmap from here - the default one will be used then.
    virtual wxBitmap GetBitmap() const { return m_bitmap; }

protected:
    // common part of ctors:
    void Init();

    wxBitmap m_bitmap;

private:
    DECLARE_ABSTRACT_CLASS(wxWizardPage)
};

// ----------------------------------------------------------------------------
// wxWizardPageSimple just returns the pointers given to the ctor and is useful
// to create a simple wizard where the order of pages never changes.
//
// OTOH, it is also possible to dynamicly decide which page to return (i.e.
// depending on the user's choices) as the wizard sample shows - in order to do
// this, you must derive from wxWizardPage directly.
// ----------------------------------------------------------------------------

class WXDLLEXPORT wxWizardPageSimple : public wxWizardPage
{
public:
    wxWizardPageSimple() { Init(); }

    // ctor takes the previous and next pages
    wxWizardPageSimple(wxWizard *parent,
                       wxWizardPage *prev = (wxWizardPage *)NULL,
                       wxWizardPage *next = (wxWizardPage *)NULL,
                       const wxBitmap& bitmap = wxNullBitmap,
                       const wxChar* resource = NULL)
    {
        Create(parent, prev, next, bitmap, resource);
    }

    bool Create(wxWizard *parent = NULL, // let it be default ctor too
                wxWizardPage *prev = (wxWizardPage *)NULL,
                wxWizardPage *next = (wxWizardPage *)NULL,
                const wxBitmap& bitmap = wxNullBitmap,
                const wxChar* resource = NULL)
    {
        m_prev = prev;
        m_next = next;
        return wxWizardPage::Create(parent, bitmap, resource);
    }

    // the pointers may be also set later - but before starting the wizard
    void SetPrev(wxWizardPage *prev) { m_prev = prev; }
    void SetNext(wxWizardPage *next) { m_next = next; }

    // a convenience function to make the pages follow each other
    static void Chain(wxWizardPageSimple *first, wxWizardPageSimple *second)
    {
        wxCHECK_RET( first && second,
                     wxT("NULL passed to wxWizardPageSimple::Chain") );

        first->SetNext(second);
        second->SetPrev(first);
    }

    // base class pure virtuals
    virtual wxWizardPage *GetPrev() const;
    virtual wxWizardPage *GetNext() const;

private:
    // common part of ctors:
    void Init()
    {
        m_prev = m_next = NULL;
    }

    // pointers are private, the derived classes shouldn't mess with them -
    // just derive from wxWizardPage directly to implement different behaviour
    wxWizardPage *m_prev,
                 *m_next;

    DECLARE_DYNAMIC_CLASS(wxWizardPageSimple)
};

// ----------------------------------------------------------------------------
// wxWizard
// ----------------------------------------------------------------------------

class WXDLLEXPORT wxWizardBase : public wxDialog
{
public:
    /*
       The derived class (i.e. the real wxWizard) has a ctor and Create()
       function taking the following arguments:

        wxWizard(wxWindow *parent,
                 int id = -1,
                 const wxString& title = wxEmptyString,
                 const wxBitmap& bitmap = wxNullBitmap,
                 const wxPoint& pos = wxDefaultPosition);
    */

    // executes the wizard starting from the given page, returns TRUE if it was
    // successfully finished, FALSE if user cancelled it
    virtual bool RunWizard(wxWizardPage *firstPage) = 0;

    // get the current page (NULL if RunWizard() isn't running)
    virtual wxWizardPage *GetCurrentPage() const = 0;

    // set the min size which should be available for the pages: a
    // wizard will take into account the size of the bitmap (if any)
    // itself and will never be less than some predefined fixed size
    virtual void SetPageSize(const wxSize& size) = 0;

    // get the size available for the page: the wizards are not resizeable, so
    // this size doesn't change
    virtual wxSize GetPageSize() const = 0;

    // set the best size for the wizard, i.e. make it big enough to contain all
    // of the pages starting from the given one
    //
    // this function may be called several times and possible with different
    // pages in which case it will only increase the page size if needed (this
    // may be useful if not all pages are accessible from the first one by
    // default)
    virtual void FitToPage(const wxWizardPage *firstPage) = 0;

    // wxWizard should be created using "new wxWizard" now, not with Create()
#ifdef WXWIN_COMPATIBILITY_2_2
    static wxWizard *Create(wxWindow *parent,
                            int id = -1,
                            const wxString& title = wxEmptyString,
                            const wxBitmap& bitmap = wxNullBitmap,
                            const wxPoint& pos = wxDefaultPosition,
                            const wxSize& size = wxDefaultSize);
#endif // WXWIN_COMPATIBILITY_2_2

    // the methods below may be overridden by the derived classes to provide
    // custom logic for determining the pages order

    virtual bool HasNextPage(wxWizardPage *page)
        { return page->GetNext() != NULL; }

    virtual bool HasPrevPage(wxWizardPage *page)
        { return page->GetPrev() != NULL; }
};

// include the real class declaration
#include "wx/generic/wizard.h"

// ----------------------------------------------------------------------------
// wxWizardEvent class represents an event generated by the wizard: this event
// is first sent to the page itself and, if not processed there, goes up the
// window hierarchy as usual
// ----------------------------------------------------------------------------

class WXDLLEXPORT wxWizardEvent : public wxNotifyEvent
{
public:
    wxWizardEvent(wxEventType type = wxEVT_NULL,
                  int id = -1,
                  bool direction = TRUE,
                  wxWizardPage* page = NULL);

    // for EVT_WIZARD_PAGE_CHANGING, return TRUE if we're going forward or
    // FALSE otherwise and for EVT_WIZARD_PAGE_CHANGED return TRUE if we came
    // from the previous page and FALSE if we returned from the next one
    // (this function doesn't make sense for CANCEL events)
    bool GetDirection() const { return m_direction; }

    wxWizardPage*   GetPage() const { return m_page; }

private:
    bool m_direction;
    wxWizardPage*    m_page;

    DECLARE_DYNAMIC_CLASS(wxWizardEvent)
};

// ----------------------------------------------------------------------------
// macros for handling wxWizardEvents
// ----------------------------------------------------------------------------

BEGIN_DECLARE_EVENT_TYPES()
    DECLARE_EVENT_TYPE(wxEVT_WIZARD_PAGE_CHANGED, 900)
    DECLARE_EVENT_TYPE(wxEVT_WIZARD_PAGE_CHANGING, 901)
    DECLARE_EVENT_TYPE(wxEVT_WIZARD_CANCEL, 902)
    DECLARE_EVENT_TYPE(wxEVT_WIZARD_HELP, 903)
    DECLARE_EVENT_TYPE(wxEVT_WIZARD_FINISHED, 903)
END_DECLARE_EVENT_TYPES()

typedef void (wxEvtHandler::*wxWizardEventFunction)(wxWizardEvent&);

// notifies that the page has just been changed (can't be vetoed)
#define EVT_WIZARD_PAGE_CHANGED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_WIZARD_PAGE_CHANGED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxWizardEventFunction) & fn, (wxObject *)NULL),

// the user pressed "<Back" or "Next>" button and the page is going to be
// changed - unless the event handler vetoes the event
#define EVT_WIZARD_PAGE_CHANGING(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_WIZARD_PAGE_CHANGING, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxWizardEventFunction) & fn, (wxObject *)NULL),

// the user pressed "Cancel" button and the wizard is going to be dismissed -
// unless the event handler vetoes the event
#define EVT_WIZARD_CANCEL(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_WIZARD_CANCEL, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxWizardEventFunction) & fn, (wxObject *)NULL),

// the user pressed "Finish" button and the wizard is going to be dismissed -
#define EVT_WIZARD_FINISHED(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_WIZARD_FINISHED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxWizardEventFunction) & fn, (wxObject *)NULL),

// the user pressed "Help" button 
#define EVT_WIZARD_HELP(id, fn) DECLARE_EVENT_TABLE_ENTRY(wxEVT_WIZARD_HELP, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxWizardEventFunction) & fn, (wxObject *)NULL),

#endif // wxUSE_WIZARDDLG

#endif // _WX_WIZARD_H_

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久九九久久九九| 不卡一区二区三区四区| 视频一区二区国产| 欧美视频在线播放| 免费不卡在线视频| 岛国精品在线观看| 91国偷自产一区二区开放时间 | 激情成人综合网| 成人国产精品免费网站| 国产精品动漫网站| 久久国内精品自在自线400部| 97aⅴ精品视频一二三区| 欧美一区二区成人| 国产精品区一区二区三| 麻豆91在线播放免费| 91国模大尺度私拍在线视频| 亚洲sss视频在线视频| 成人av网站在线| 亚洲夂夂婷婷色拍ww47| 丁香啪啪综合成人亚洲小说| 日韩三级视频中文字幕| 一区二区在线免费观看| 成人深夜福利app| 亚洲国产精品一区二区www| 成人a免费在线看| 亚洲一二三四区| 欧美大肚乱孕交hd孕妇| 日韩av一级片| 欧美日韩激情一区二区三区| 亚洲精品国产精华液| 4438x成人网最大色成网站| 一区二区三区 在线观看视频| 成人黄色免费短视频| 亚洲一区二区三区影院| 久久久久高清精品| 精品亚洲porn| 久久在线免费观看| 玖玖九九国产精品| 一区二区在线观看免费| www久久精品| 欧美日韩一区中文字幕| 午夜在线电影亚洲一区| 国产欧美一区二区精品久导航 | 欧美日韩一级黄| 成人黄色av网站在线| 免费高清不卡av| 亚洲无线码一区二区三区| 国产精品午夜在线观看| 91精品啪在线观看国产60岁| 日本精品一级二级| 成人性色生活片| 捆绑变态av一区二区三区| 亚洲一区在线观看免费| 国产精品理伦片| 久久婷婷综合激情| 欧美一级艳片视频免费观看| 欧美亚洲愉拍一区二区| www.激情成人| 偷窥国产亚洲免费视频| 欧美一区二区三区免费在线看 | 成人黄色免费短视频| 狠狠色2019综合网| 日本不卡视频在线| 丝袜国产日韩另类美女| 亚洲高清免费观看高清完整版在线观看| 国产精品国产自产拍在线| 国产区在线观看成人精品| 久久亚洲免费视频| 久久综合久久久久88| 日韩免费看的电影| 日韩欧美中文字幕制服| 欧美蜜桃一区二区三区| 欧美日韩国产小视频| 在线免费观看日本欧美| 久久99九九99精品| 免费在线观看不卡| 免费观看91视频大全| 日韩精品欧美成人高清一区二区| 亚洲综合精品久久| 亚洲风情在线资源站| 亚洲电影一级黄| 蜜桃视频在线一区| 国产尤物一区二区| 亚洲国产欧美在线| 亚洲高清免费在线| 免费久久99精品国产| 日本成人中文字幕在线视频| 蜜桃视频在线一区| 国产一区二区剧情av在线| 国产精品18久久久久久vr| 久久精品人人爽人人爽| 久久精品在线免费观看| 国产女同性恋一区二区| 国产精品国产a级| 亚洲高清视频在线| 美女视频免费一区| 国产成人精品亚洲午夜麻豆| 成人免费视频一区二区| 色婷婷综合激情| 韩国午夜理伦三级不卡影院| 国产精品一区二区x88av| 成人97人人超碰人人99| 欧美亚洲国产bt| 日韩欧美国产高清| 国产欧美va欧美不卡在线| 亚洲色图欧美偷拍| 国产午夜精品在线观看| 国产精品区一区二区三| 一级女性全黄久久生活片免费| 五月天激情综合| 国产成人亚洲综合a∨婷婷| 色哟哟一区二区在线观看| 欧美欧美欧美欧美| 亚洲国产精品ⅴa在线观看| 91麻豆精品国产91久久久资源速度 | 日韩**一区毛片| 国产一本一道久久香蕉| 色欧美片视频在线观看| 欧美变态tickling挠脚心| 色国产综合视频| 日韩视频免费观看高清完整版在线观看 | 国产精品国产三级国产aⅴ入口| 亚洲久本草在线中文字幕| 美女脱光内衣内裤视频久久影院| 成人免费av网站| 91精品国产91综合久久蜜臀| 国产精品剧情在线亚洲| 美女视频一区二区| 欧美性猛交xxxx黑人交| 欧美国产精品专区| 天天综合色天天| 成人avav影音| 欧美精品一区二区三区蜜桃| 欧美丝袜第三区| 久久久不卡网国产精品二区| 亚洲丰满少妇videoshd| 国产精品羞羞答答xxdd| 91精品国产色综合久久不卡电影 | 一区二区久久久久久| 国产精品影音先锋| 欧美一卡二卡三卡四卡| 亚洲一区在线观看视频| 成人av资源网站| 亚洲精品一区二区三区精华液 | 亚洲免费观看视频| 一区二区三区欧美在线观看| 韩国三级电影一区二区| 337p亚洲精品色噜噜| 一区二区三区在线观看国产 | 亚洲福利电影网| 一本到三区不卡视频| 国产日韩精品一区二区三区| 久久av老司机精品网站导航| 欧美日韩国产电影| 亚洲国产欧美另类丝袜| 一本大道久久a久久综合婷婷| 国产色爱av资源综合区| 久久er99热精品一区二区| 91精品国产全国免费观看| 亚洲一区二区av在线| 欧美在线观看一区| 亚洲欧美日韩精品久久久久| 成人高清视频免费观看| 国产欧美一二三区| 成人一区二区三区视频在线观看 | 亚洲最色的网站| 欧美无人高清视频在线观看| 亚洲综合色噜噜狠狠| 在线观看www91| 香蕉久久夜色精品国产使用方法| 日本黄色一区二区| 亚洲理论在线观看| 91精品福利视频| 亚洲永久精品国产| 欧美日韩精品一区二区天天拍小说 | 18成人在线观看| 丝袜a∨在线一区二区三区不卡| 欧美性猛交一区二区三区精品| 一区二区三区欧美| 欧美日韩一级片在线观看| 日韩电影在线免费观看| 欧美精品日日鲁夜夜添| 国产精品视频第一区| 不卡在线观看av| 亚洲精品视频免费观看| 色婷婷综合久久久中文一区二区| 一区二区三区免费在线观看| 欧美三级中文字幕在线观看| 亚洲成人动漫在线免费观看| 欧美一级视频精品观看| 久久成人麻豆午夜电影| 国产欧美日韩三级| 色婷婷精品大在线视频| 视频在线观看一区二区三区| 欧美成人精品3d动漫h| 成人中文字幕电影| 亚洲一区二区在线免费看| 日韩西西人体444www| 国产大陆a不卡| 一区二区三区国产精华|