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.

int<br />

W.button(char ∗ pr1 , char ∗ pr2 , string s, int n, void (∗F )(int),<br />

const char ∗ hlp = 0)<br />

as above, but with pixrect pr1 and pr2.<br />

int W.button(char ∗ pr1 , char ∗ pr2 , string s, int n,<br />

const window handler& obj , const char ∗ hlp = 0)<br />

int W.button(string s, void (∗F )(int), const char ∗ hlp = 0)<br />

adds a button with label s, number equal to its<br />

rank and action function F to W . Function F is<br />

called with the value of the button as argument<br />

whenever the button is pressed.<br />

int W.button(string s, const window handler& obj , const char ∗ hlp = 0)<br />

int<br />

W.button(int w, int h, unsigned char ∗ bm, string s, void (∗F )(int),<br />

const char ∗ hlp = 0)<br />

adds a button with bitmap bm, label s, number<br />

equal to its rank and action function F to W . Function<br />

F is called with the value of the button as<br />

argument whenever the button is pressed.<br />

int W.button(int w, int h, unsigned char ∗ bm, string s,<br />

const window handler& obj , const char ∗ hlp = 0)<br />

int<br />

W.button(char ∗ pr1 , char ∗ pr2 , string s, void (∗F )(int),<br />

const char ∗ hlp = 0)<br />

as above, but with pixrect pr1 and pr2.<br />

int W.button(char ∗ pr1 , char ∗ pr2 , string s, const window handler& obj ,<br />

const char ∗ hlp = 0)<br />

int W.button(string s, int n, window& M, const char ∗ hlp = 0)<br />

adds a button with label s, number n and attached<br />

sub-window (menu) M to W . Window M is opened<br />

whenever the button is pressed.<br />

int W.button(int w, int h, unsigned char ∗ bm, string s, int n, window& M,<br />

const char ∗ hlp = 0)<br />

adds a button with bitmap bm, label s, number n<br />

and attached sub-window (menu) M to W . Window<br />

M is opened whenever the button is pressed.<br />

int W.button(char ∗ pr1 , char ∗ pr2 , string s, int n, window& M,<br />

const char ∗ hlp = 0)<br />

as above, but with pixrect pr1 and pr2.

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

Saved successfully!

Ooh no, something went wrong!