1. wxFontMapper almost finished
2. font helper functions are now in separate files, not utilsunx.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,11 +14,7 @@
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/object.h"
|
||||
#include "wx/string.h"
|
||||
#include "wx/hash.h"
|
||||
#include "wx/gdiobj.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// classes
|
||||
@@ -30,12 +26,6 @@ class wxWindow;
|
||||
|
||||
class wxFont;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// global variables
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
extern const wxChar* wxEmptyString;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxFont
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -46,6 +36,7 @@ public:
|
||||
// ctors and such
|
||||
wxFont() { Init(); }
|
||||
wxFont(const wxFont& font) { Init(); Ref(font); }
|
||||
wxFont(const wxString& fontname, const wxFontData& fontdata);
|
||||
|
||||
// assignment
|
||||
wxFont& operator=(const wxFont& font);
|
||||
@@ -91,7 +82,6 @@ public:
|
||||
virtual void SetEncoding(wxFontEncoding encoding);
|
||||
|
||||
// implementation from now on
|
||||
wxFont( GdkFont* font, char *xFontName );
|
||||
void Unshare();
|
||||
|
||||
GdkFont* GetInternalFont(float scale = 1.0) const;
|
||||
|
@@ -2,10 +2,10 @@
|
||||
// Name: fontdlgg.h
|
||||
// Purpose: wxFontDialog
|
||||
// Author: Robert Roebling
|
||||
// Created:
|
||||
// Created:
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Robert Roebling
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __GTK_FONTDLGH__
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
wxFontDialog( wxWindow *parent, wxFontData *data = (wxFontData *) NULL );
|
||||
~wxFontDialog();
|
||||
|
||||
inline wxFontData& GetFontData() { return m_fontData; }
|
||||
wxFontData& GetFontData() { return m_fontData; }
|
||||
|
||||
//protected:
|
||||
wxFontData m_fontData;
|
||||
|
Reference in New Issue
Block a user