void wxFont::SetFamily(wxFontFamily family) { Unshare(); M_FONTDATA->m_family = family; M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now }
void wxFont::SetEncoding(wxFontEncoding encoding) { Unshare(); M_FONTDATA->m_encoding = encoding; M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now }
bool wxFont::SetFaceName(const wxString& faceName) { Unshare(); return M_FONTDATA->SetFaceName(faceName) && wxFontBase::SetFaceName(faceName); }
void wxFont::SetWeight(wxFontWeight weight) { Unshare(); M_FONTDATA->m_weight = weight; M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now }
void wxFont::SetStyle(wxFontStyle style) { Unshare(); M_FONTDATA->m_style = style; M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now }
void wxFont::SetPointSize(int pointSize) { Unshare(); M_FONTDATA->m_pointSize = pointSize; M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now }
void wxPen::SetCap( int nCap ) { Unshare(); M_PENDATA->m_nCap = nCap; RealizeResource(); } // end of wxPen::SetCap
void wxPen::SetJoin( int nJoin ) { Unshare(); M_PENDATA->m_nJoin = nJoin; RealizeResource(); } // end of wxPen::SetJoin
void wxPen::SetStyle( int nStyle ) { Unshare(); M_PENDATA->m_nStyle = nStyle; RealizeResource(); } // end of wxPen::SetStyle
void wxPen::SetWidth( int nWidth ) { Unshare(); M_PENDATA->m_nWidth = nWidth; RealizeResource(); } // end of wxPen::SetWidth
void wxPen::SetPS( HPS hPS ) { Unshare(); if (M_PENDATA->m_hPen) ::GpiDestroyPS(M_PENDATA->m_hPen); M_PENDATA->m_hPen = hPS; RealizeResource(); } // end of WxWinGdi_CPen::SetPS
void wxBrush::SetColour( const wxColour& rColour ) { Unshare(); M_BRUSHDATA->m_vColour = rColour; RealizeResource(); }
void wxPen::SetCap(int Cap) { Unshare(); M_PENDATA->m_cap = Cap; RealizeResource(); }
void wxPen::SetWidth(int Width) { Unshare(); M_PENDATA->m_width = Width; RealizeResource(); }
void wxPen::SetColour(const wxColour& col) { Unshare(); M_PENDATA->m_colour = col; RealizeResource(); }
void wxPen::SetColour(unsigned char r, unsigned char g, unsigned char b) { Unshare(); M_PENDATA->m_colour.Set(r, g, b); RealizeResource(); }
void wxPen::SetJoin(int Join) { Unshare(); M_PENDATA->m_join = Join; RealizeResource(); }
void wxBrush::SetStyle( int nStyle ) { Unshare(); M_BRUSHDATA->m_nStyle = nStyle; RealizeResource(); } // end of wxBrush::SetStyle
void wxPen::SetStyle(int Style) { Unshare(); M_PENDATA->m_style = Style; RealizeResource(); }
void wxBrush::SetStipple( const wxBitmap& rStipple ) { Unshare(); M_BRUSHDATA->m_vStipple = rStipple; RealizeResource(); } // end of wxBrush::SetStipple
void wxPen::SetStipple(const wxBitmap& Stipple) { Unshare(); M_PENDATA->m_stipple = Stipple; M_PENDATA->m_style = wxSTIPPLE; RealizeResource(); }
void wxPen::SetDashes(int nb_dashes, const wxDash *Dash) { Unshare(); M_PENDATA->m_nbDash = nb_dashes; M_PENDATA->m_dash = (wxDash *)Dash; RealizeResource(); }
bool wxFont::SetFaceName(const wxString& faceName) { Unshare(); M_FONTDATA->m_faceName = faceName; M_FONTDATA->m_nativeFontInfo.GetXFontName().Clear(); // invalid now return wxFontBase::SetFaceName(faceName); }
void wxPen::SetStipple( const wxBitmap& rStipple ) { Unshare(); M_PENDATA->m_vStipple = rStipple; M_PENDATA->m_nStyle = wxSTIPPLE; RealizeResource(); } // end of wxPen::SetStipple
void wxBrush::SetPS( HPS hPS ) { Unshare(); if (M_BRUSHDATA->m_hBrush) ::GpiDestroyPS(M_BRUSHDATA->m_hBrush); M_BRUSHDATA->m_hBrush = hPS; RealizeResource(); } // end of WxWinGdi_CPen::SetPS
void wxBrush::SetColour( unsigned char cRed , unsigned char cGreen , unsigned char cBlue ) { Unshare(); M_BRUSHDATA->m_vColour.Set( cRed ,cGreen ,cBlue ); RealizeResource(); } // end of wxBrush::SetColour
void wxFont::DoSetNativeFontInfo( const wxNativeFontInfo& info ) { Unshare(); M_FONTDATA->SetNativeFontInfo( info ); }
void wxFont::SetUnderlined(bool underlined) { Unshare(); M_FONTDATA->SetUnderlined(underlined); }
void wxFont::SetWeight(wxFontWeight weight) { Unshare(); M_FONTDATA->SetWeight(weight); }
void wxFont::SetEncoding(wxFontEncoding encoding) { Unshare(); M_FONTDATA->SetEncoding(encoding); }