calc/calc.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <tchar.h>
#include <iup.h>
#include "calcHsm.h"

Functions

int btnClick (Ihandle *self)
void attach_button_events (Ihandle *ih)
int main (int argc, char **argv)

Detailed Description

Author:
Daniel Newton <djpnewton@gmail.com>
Version:
1.0

LICENSE

Copyright (c) 2009 Daniel Newton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

DESCRIPTION

The calc state machine example program

Function Documentation

void attach_button_events ( Ihandle *  ih  ) 

Attach button click event handlers to all the child buttons of a control

Parameters:
ih The parent control

int btnClick ( Ihandle *  self  ) 

Handle any button clicks and send the relevant signal to the calc state machine

Parameters:
self The button that was clicked

int main ( int  argc,
char **  argv 
)

The main function of this program


Generated on Thu Feb 4 09:32:56 2010 for simplehsm(C) by  doxygen 1.5.9