oi10:presentation_server:darkencolor_method_system

DARKENCOLOR Method (System)

This method returns a darkened version of the specified color.

DkColor = Exec_Method( "SYSTEM", "DARKENCOLOR", Color, Amount )

NameRequiredDescription
ColorYesColor to darken.
AmountYesAmount by which to darken (between 0 and 1.0)

The darkened color.

N/A

 
//// Get the system BTNFACE color and create a darker version of it.//
  
  Color   = Get_Property( @Window, "VISUALSTYLECOLOR", SYSCOLOR_BTNFACE$ )
  DkColor = Exec_Method( "SYSTEM", "DARKENCOLOR", Color, 0.2 )
 
 
 

ALPHACOLOR method, LIGHTENCOLOR method, MIXCOLORS method.

  • oi10/presentation_server/darkencolor_method_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1