SP_SLS_SHADPOS

SLS_SHADPOS()

  Short:
  ------
 SLS_SHADPOS() A Superlib color setting function

 Returns
 <nSetting> => Current value of the setting

 Syntax
 SLS_SHADPOS([nNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_SHADPOS([nNew])        Shadow position             1  (lower left)
                            (uses numeric keypad
                            as guide)
                              7 upper left
                              1 lower left
                              3 lower right
                              9 upper right
                              0 none

 [nNew] sets the setting to a new setting
 If [nNew] is passed, the setting is changed and the
 new setting is returned.

 Examples

  SLS_SHADPOS(0)        //  NO SHADOW

 Notes:

 Source: S_GLOBAL.PRG

 

SP_SLS_SHADATT

SLS_SHADATT()

  Short:
  ------
 SLS_SHADATT() A Superlib color setting function

 Returns
 <nSetting> => Current value of the setting

 Syntax
 SLS_SHADATT([nNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_SHADATT([nNew])        Shadow attribute            8  (+N/N)

 [nNew] sets the setting to a new setting
 If [nNew] is passed, the setting is changed and the
 new setting is returned.

 Values are numeric color settings (see color chart)

 Examples

  SLS_SHADATT(127)        // shadow of +w/w

 Notes:

 Source: S_GLOBAL.PRG

 

SP_SLS_POPMENU

SLS_POPMENU()

  Short:
  ------
 SLS_POPMENU() A Superlib color setting function

 Returns
 <cSetting> => Current value of the setting

 Syntax
 SLS_POPMENU([cNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_POPMENU([cNew])        Popup MENU color            'N/W,W/N,,,+W/N'

 [cNew] sets the setting to a new setting
 If [cNew] is passed, the setting is changed and the
 new setting is returned.

 Examples

  SETCOLOR(sls_POPMENU()  )        // use to setcolor()

 Notes:

 Source: S_GLOBAL.PRG

 

SP_SLS_POPCOL

SLS_POPCOL()

  Short:
  ------
 SLS_POPCOL() A Superlib color setting function

 Returns
 <cSetting> => Current value of the setting

 Syntax
 SLS_POPCOL([cNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_POPCOL([cNew])         Popup screen output         'N/W,+W/N,,,W/N'

 [cNew] sets the setting to a new setting
 If [cNew] is passed, the setting is changed and the
 new setting is returned.

 Examples

  SETCOLOR(sls_POPCOL()  )        // use to setcolor()

 Notes:

 Source: S_GLOBAL.PRG

 

SP_SLS_NORMMENU

SLS_NORMMENU()

  Short:
  ------
 SLS_NORMMENU() A Superlib color setting function

 Returns
 <cSetting> => Current value of the setting

 Syntax
 SLS_NORMMENU([cNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_NORMMENU([cNew])       Normal MENU color           'W/N,N/W,,,+W/N'

 [cNew] sets the setting to a new setting
 If [cNew] is passed, the setting is changed and the
 new setting is returned.

 Examples

  SETCOLOR(sls_NORMMENU()  )        // use to setcolor()

 Notes:

 Source: S_GLOBAL.PRG

 

SP_SLS_NORMCOL

()

  Short:
  ------
 SLS_NORMCOL() A Superlib color setting function

 Returns
 <cSetting> => Current value of the setting

 Syntax
 SLS_NORMCOL([cNew])

 Function                   Setting                     Default
 --------------------------------------------------------------
 SLS_NORMCOL([cNew])        Normal screen output        'W/N,N/W,,,+W/N'

 [cNew] sets the setting to a new setting
 If [cNew] is passed, the setting is changed and the
 new setting is returned.

 Examples

  SETCOLOR(sls_normcol()  )        // use to setcolor()

 Notes:

 Source: S_GLOBAL.PRG

 

SP_SETCOLORS

SETCOLORS()

  Short:
  ------
  SETCOLORS() Interactive color setting interface

  Returns:
  --------
  Nothing

  Syntax:
  -------
  SETCOLORS()

  Description:
  ------------
  This is a development tool for finding nice
  combinations of colors for the global superfunction colors. I would
  not give this to an end user, as it is just TOO MANY CHOICES! I
  normally select 10-15 nice combinations of the colors and give
  the user a selection of those, giving them such names as
  'Hawaiian Blue' or 'Royal Red'. In fact, see COLPIK() for just
  such a function.

  If SETBLINK() is set to False (.f.), the high
  intensity colors will be available - if your monitor supports them.

  Examples:
  ---------
   SETCOLORS()

  Notes:
  -------
  First, a word on the Superfunction color scheme:

  This is not the perfect color scheme. It is the one
  on which this library runs. (hey - I hadda pick something) I
  also realize full well that color selection is more art than it
  is technical, and it is difficult to get two people to agree on
  a color scheme.

  Several global color settings are used, and they are
  recorded and accessed via the functions:

     sls_normcol([cNew])    -  For normal input/output
     sls_normmenu([cNew])   -  For normal 'menu to' operations
     sls_popcol([cNew])     -  For popup box colors
     sls_popmenu([cNew])    -  For popup box menus
     sls_frame([cNew])      -  Frame string
     sls_shadatt([nNew])    -  Shadow color attribute
                              (numeric)
     sls_shadpos([nNew])    -  Shadow position (0,1,3,7,9)
     sls_xplode([lNew])     -  Logical - explode windows?

     (All of the colors are of the format "f/b,f/b,,,f/b"
      where f=foreground b=background)

  SETCOLORS() allows interactive setting of these
  colors. The settings can stored as color sets in COLORS.DBF -
  which is created if needed by SETCOLORS().

  If COLORS.DBF is not present, SuperLib will use a
  default set of colors.

  See the SATT*() functons, and the SLS_*() functions
  for more info.

  See the appendix for more general colors info.

  See the upgrade notes for more info on upgrading from
  older SuperLibs, which used a public variable scheme.

  Source:
  -------
  S_SETCOL.PRG