Function:cs2srcb

From S2PLOT

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:08, 7 January 2009
S2plot admin (Talk | contribs)

← Previous diff
Revision as of 22:10, 7 January 2009
S2plot admin (Talk | contribs)

Next diff →
Line 12: Line 12:
<table> <table>
<tr><td>[[Function:cs2socb |cs2socb]]</td><td>Register function that will draw direct OpenGL graphics when called.</td></tr> <tr><td>[[Function:cs2socb |cs2socb]]</td><td>Register function that will draw direct OpenGL graphics when called.</td></tr>
 +<tr><td>[[Function:s2ldev |s2ldev]]</td><td>List the available S2PLOT devices on stdout.</td></tr>
<tr><td>[[Function:s2disp |s2disp]]</td><td>Draw the scene, but return control when a timeout occurs or when shift-ENTER is pressed.</td></tr> <tr><td>[[Function:s2disp |s2disp]]</td><td>Draw the scene, but return control when a timeout occurs or when shift-ENTER is pressed.</td></tr>
<tr><td>[[Function:s2show | s2show ]]</td><td>Draw the scene and enter interactive mode if interactive is non-zero. </td></tr> <tr><td>[[Function:s2show | s2show ]]</td><td>Draw the scene and enter interactive mode if interactive is non-zero. </td></tr>

Revision as of 22:10, 7 January 2009

cs2srcb

Register when remote control data is received.

Prototype

void cs2srcb(void *remcb);

Description

Register function that is called when remote control data comes in eg. from is2remote running on a wireless iPod touch. This function can consume the event (by returning 1) to prevent further (built-in) handling by S2PLOT.

See Also

cs2socbRegister function that will draw direct OpenGL graphics when called.
s2ldevList the available S2PLOT devices on stdout.
s2dispDraw the scene, but return control when a timeout occurs or when shift-ENTER is pressed.
s2show Draw the scene and enter interactive mode if interactive is non-zero.

Sample Code

Back to S2PLOT function list.




Back to template page.

Personal tools