2011-04-16 09:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpfontdialog.prg
! Minor.
* contrib/hbxbp/xbpwindow.prg
! Protected: :setStyleSheet() method.
It was not Xbase++ compatible so to achieve exactly Xbase++
compatibility, this is necessary.
This commit is contained in:
@@ -16,6 +16,15 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-04-16 09:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
* contrib/hbxbp/xbpfontdialog.prg
|
||||
! Minor.
|
||||
|
||||
* contrib/hbxbp/xbpwindow.prg
|
||||
! Protected: :setStyleSheet() method.
|
||||
It was not Xbase++ compatible so to achieve exactly Xbase++
|
||||
compatibility, this is necessary.
|
||||
|
||||
2011-04-16 16:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
+ contrib/hbqt/tests/testres.hbp
|
||||
+ Added project file for testres.
|
||||
|
||||
@@ -332,7 +332,7 @@ METHOD XbpFontDialog:XbpFontObject()
|
||||
oXbp:nominalPointSize := ::oFont:pointSize()
|
||||
oXbp:weightClass := ::oFont:weight()
|
||||
|
||||
oXbp:setCompoundName( hb_ntos( oXbp:nominalPointSize ) + "." + oXbp:familyName )
|
||||
oXbp:setCompoundName( trim( hb_ntos( oXbp:nominalPointSize ) + "." + oXbp:familyName + " " + iif( oXbp:bold, "bold", "" ) + iif( oXbp:italic, "italic", "" ) ) )
|
||||
|
||||
oXbp:create()
|
||||
|
||||
|
||||
@@ -189,8 +189,6 @@ CLASS XbpWindow INHERIT XbpPartHandler
|
||||
METHOD isDerivedFrom( cClassORoObject )
|
||||
METHOD setPresParam( aPPNew )
|
||||
METHOD setCSSAttribute( cAttr, cCSS )
|
||||
METHOD setStyleSheet( cAttr, cCSS )
|
||||
METHOD getCSS( nAttr, xValue )
|
||||
|
||||
DATA cTitle INIT ""
|
||||
METHOD title( cTitle ) SETGET
|
||||
@@ -270,6 +268,10 @@ CLASS XbpWindow INHERIT XbpPartHandler
|
||||
|
||||
ACCESS pParent INLINE iif( empty( ::oParent ), NIL, ::oParent:oWidget )
|
||||
|
||||
PROTECTED:
|
||||
METHOD setStyleSheet( cAttr, cCSS )
|
||||
METHOD getCSS( nAttr, xValue )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user