fsMapViewSetBackgroundColor

This function can be used to select a color which will be used to color the uncolored part of any MapView, such as the sky in 3D mode. 

 

 

Syntax
bool fsMapViewSetBackgroundColor(
    FsContext ctx,
    FsTextureId id,
    FsColor color
    ) 

 

 

Members
Parameters Description
ctx A value of type FsContext provided as an argument of the gauge callback.
id The MapView render ID as returned by the function fsMapViewCreate.
color An FsColor struct that is used to set the background colour.

 

             

Return Values

Returns false if:

  • no texture matches the given MapView ID
  • the ctx is invalid

Otherwise it will return true.

 

 

Remarks

N/A
 

 

See Also