Textclass syntax

Still under construction

The basics

The required syntax for textclasses is:

__TCLASS __BGN
  __NAME TEXT
  __NORMAL "*font-border"
__END

Line 1 begins the textclass
Line 2 gives it a name
Line 3 identifies the font-alias and in which state (explained more below)
Line 4 ends the textclass


Textclass properties

__FORGROUND_COLOR 255 255 255
__BACKGROUND_COLOR 0 0 0
__JUSTIFICATION 512

__DRAWING_EFFECT __EFFECT_NORMAL
__DRAWING_EFFECT __EFFECT_SHADOW
__DRAWING_EFFECT __EFFECT_OUTLINE

__ORIENTATION __FONT_TO_UP
__ORIENTATION __FONT_TO_DOWN
__ORIENTATION __FONT_TO_LEFT
__ORIENTATION __FONT_TO_RIGHT

Visual feedback

Text State Name        Usage
__NORMAL Always, unless a more specific text declaration overrides it
__HILITED When mouse hovers over the image
__CLICKED When image is clicked on with the mouse
__NORMAL_ACTIVE When the window is currently active
__HILITED_ACTIVE Window is active and mouse hovers the image
__CLICKED_ACTIVE Window is active and mouse is clicking the image
__NORMAL_STICKY When window has been set to sticky (on all desktops)
__HILITED_STICKY Window is sticky and mouse hovers the image
__CLICKED_STICKY Window is sticky and mouse is clicking the image
__NORMAL_ACTIVE_STICKY When window is sticky and currently active
__HILITED_ACTIVE_STICKY Window is sticky/active and mouse is hovering image
__CLICKED_ACTIVE_STICKY Window is sticky/active and image is being clicked
Syndicate content