highscore_set_colors() (Game Maker)

highscore_set_colors()

(Game Maker 6.1, 7)

highscore_set_colors - set the colors of the highscore table

Description

highscore_set_colors ( background, new, other )

  • background - background color
  • new - new entry color
  • old - color of old and default entries

highscore_set_colors() sets the colors of the highscore table. The first argument is the color of the background. The second argument is the color of a new entry (if any), and the third is the color of all other entries.

Examples

Example of Use

highscore_set_colors(c_white,c_red,c_black);

In this example, highscore_set_colors() sets the highscore table's colors this way : the background is set white, the new entry is set red, and all the other entries are black.

Related Pages

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.