Register forum user name Search FAQ

Redraw

Script function

world.Redraw

Read about scripting

Type

Method

Summary

Schedules a redraw for all windows for this world

Prototype

void Redraw();

View list of data type meanings

Description

Schedules a redraw of all windows for this world. Use this after changing colours, or changing miniwindows.

Note that the main window is not actually redrawn at this point, however it is scheduled for redraw next time through the main event loop.


VBscript example

Redraw


Jscript example

Redraw();


PerlScript example

$world->Redraw();


Python example

Redraw


Lua example

Redraw ()


Return value

Nothing.


See Also ...

Functions

(BoldColour) Gets/sets the RGB colour for one of the 8 ANSI bold colours
(CustomColourBackground) Sets the RGB value for the background of a custom colour
(CustomColourText) Sets the RGB value for the text of a custom colour
(NormalColour) Gets/sets the RGB colour for one of the 8 ANSI normal colours
(NoteColour) Chooses which custom colour will be used for world notes.
(Repaint) Forces an immediate redraw for all windows for this world

(Help topic: function=Redraw)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.