31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ool<br />

GW.del(geo scenegroup GS , geo scene sc)<br />

removes sc from scene group GS and returns true, if<br />

the operation was succesful (false: sc was not in GS).<br />

i) Further Operations<br />

int GW.set button width(int w)<br />

int GW.set button height(int h)<br />

sets the width of the scene visibility buttons in GW<br />

and returns the previous value.<br />

sets the height of the scene visibility buttons in GW<br />

and returns the previous value.<br />

You can associate a) buttons with labels or b) bitmap buttons with the visibility of a<br />

scene in GeoWin. You cannot use a) and b) at the same time. <strong>The</strong> following operations<br />

allow you to use add such visibility buttons to GeoWin. Note that before setting bitmap<br />

buttons with the set bitmap operation you have to set the button width and height.<br />

void<br />

void<br />

void<br />

GW.set label(geo scene sc, string label)<br />

associates a button with label label with the visibility<br />

of scene sc.<br />

GW.set bitmap(geo scene sc, unsigned char ∗ bitmap)<br />

associates a button with bitmap bitmap with the visibility<br />

of scene sc.<br />

GW.add scene buttons(const list& Ls, const list& Ln)<br />

add a multiple choice panel for visibility of the scenes<br />

in Ls to GW . <strong>The</strong> button for the n-th scene in Ls<br />

gets the n-th label in Ln.<br />

void GW.add scene buttons(const list& Ls, int w, int h,<br />

unsigned char ∗ ∗bm)<br />

add a multiple choice panel for visibility of the scenes<br />

in Ls to GW . <strong>The</strong> button for the n-th scene in Ls<br />

gets the n-th bitmap in bm. <strong>The</strong> bitmaps have width<br />

w and height h.<br />

list GW.get scenes( ) returns the scenes of GW .<br />

list GW.get scenegroups( )<br />

list GW.get scenes(geo scenegroup gs)<br />

list GW.get visible scenes( )<br />

returns the scene groups of GW .<br />

returns the scenes of group gs.<br />

returns the visible scenes of GW .

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!