fontdlg.cpp

来自「很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.」· C++ 代码 · 共 53 行

CPP
53
字号
/////////////////////////////////////////////////////////////////////////////// Name:        src/mac/classic/fontdlg.cpp// Purpose:     wxFontDialog class. NOTE: you can use the generic class//              if you wish, instead of implementing this.// Author:      Stefan Csomor// Modified by:// Created:     1998-01-01// RCS-ID:      $Id: fontdlg.cpp,v 1.6 2006/05/25 21:08:03 ABX Exp $// Copyright:   (c) Stefan Csomor// Licence:     wxWindows licence/////////////////////////////////////////////////////////////////////////////#include "wx/wxprec.h"#include "wx/mac/fontdlg.h"#ifndef WX_PRECOMP    #include "wx/cmndata.h"#endifIMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)/* * wxFontDialog */wxFontDialog::wxFontDialog(){    m_dialogParent = NULL;}wxFontDialog::wxFontDialog(wxWindow *parent, const wxFontData&  data){    Create(parent, data);}bool wxFontDialog::Create(wxWindow *parent, const wxFontData& data){    m_dialogParent = parent;    m_fontData = data;    // TODO: you may need to do dialog creation here, unless it's    // done in ShowModal.    return true;}int wxFontDialog::ShowModal(){    // TODO: show (maybe create) the dialog    return wxID_CANCEL;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?