1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3 4<HEAD> 5 <META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6 <META http-equiv="Content-Style-Type" content="text/css"> 7 8 <LINK rel="stylesheet" href="./css/revolution.css" type="text/css"> 9 10 <TITLE>HBMCalc</TITLE> 11<style type="text/css" media="all"> 12<!-- 13@import url("css/hbm_common.css"); 14--> 15</style> 16</HEAD> 17<BODY> 18 19 20<H1>HBMCalc</H1> 21 22<H2>Syntax</H2> 23<dl><dd><pre><code> 24#include <revolution/hbm.h> 25 26<A href="hbm_HBMSelectBtnNum.html">HBMSelectBtnNum</A> HBMCalc( const <A href="hbm_HBMControllerData.html">HBMControllerData</A>* pController ); 27</code></pre></dd></dl> 28 29<H2>Arguments</H2> 30<TABLE border="1" > 31 <tr> 32 <TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>pController</EM></STRONG></CODE></TD> 33 <TD width="520">Wii Remote input information.</TD> 34 </tr> 35</TABLE> 36 37<H2>Return Values</H2> 38<P> 39Returns the number of the button just pressed on the HOME Menu. 40</P> 41 42<H2>Description</H2> 43<P> 44Performs the preprocessing for drawing according to the contents set in <STRONG><CODE><EM>pController</EM></CODE></STRONG>. Always call this function before calling <A href="hbm_HBMDraw.html"><CODE>HBMDraw()</CODE></A>. In addition, the clicked button is identified based on the information and set as the return value. 45</P> 46 47<H2>See Also</H2> 48<p> 49<code><A href="hbm_HBMDraw.html">HBMDraw</A></code>, <code><A href="hbm_HBMGetSelectBtnNum.html">HBMGetSelectBtnNum</A></code> 50</P> 51 52<H2>Revision History</H2> 53<DL class="history"> 54 <DT>2007/10/26<DD>Revised the header explanation. 55 <DT>2006/09/25<DD>Initial version. 56</DL> 57 58<hr><p>CONFIDENTIAL</p></body> 59</HTML>