SC_CreateToolbar

Usage

int SC_CreateToolbar( int ToolbarNumber, string &title, int x, int y, int docked, int LocalOnly)


Summary

Creates a toolbar on the game screen.


More Information

int ToolbarNumber = Ranges from 0 to 4 (you can have to 5 toolbars at any one time).
title = The text to display along the top of the toolbar.
x, y = The screen coordinates of the toolbar.
docked = set to 1 to lock the toolbar position else use 0 to allow the user to drag the toolbar around the screen.
LocalOnly = set to 1 to only add the toolbar on the current machine during network games, else set to 0.


Use SC_AddToolbarButton to add buttons to your toolbars.

This function returns 1 on success or 0 if the creation failed.


Example

SC_CreateToolbar( 0, "My Cool Toolbar", 10, 10, 0, 0);


Last Revised: 10 May 2008

Full Functions List


Copyright 2008 by James Bunting
www.jbgames.com/games/rod3d/

This page was automatically generated by jbgames Script Docs Generator