gambas-source-code/comp/src/gb.chart/_CTitle.class
Benoît Minisini ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00

53 lines
644 B
Text

' Gambas class file
EXPORT
PRIVATE $oFont AS NEW Font
PRIVATE $sText AS String
PRIVATE $bVisible AS Boolean
PROPERTY {Font} AS Font
PROPERTY Text AS String
PROPERTY Visible AS Boolean
PUBLIC SUB _New()
$bVisible = TRUE
$oFont.Size = 16
END
PRIVATE FUNCTION Font_Read() AS Font
RETURN $oFont
END
PRIVATE SUB Font_Write(Value AS Font)
$oFont = Value
END
PRIVATE FUNCTION Text_Read() AS String
RETURN $sText
END
PRIVATE SUB Text_Write(Value AS String)
$sText = Value
END
PRIVATE FUNCTION Visible_Read() AS Boolean
RETURN $bVisible
END
PRIVATE SUB Visible_Write(Value AS Boolean)
$bVisible = Value
END