Redraw
Script function

world.Redraw

DOC_scripting Read about scripting

Type

Method

Summary

Schedules a redraw for all windows for this world

Prototype

void Redraw();

DOC_data_types 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

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

(Help topic: function=Redraw)

DOC_contents Documentation contents page