iOS/Csound iOS Obj-C Examples/Csound iOS Examples/ViewControllers/MultiTouchXY/MultiTouchXYViewController.h
raw symbols SCIP| 1 | /* |
| 2 | |
| 3 | MultiTouchXYViewController.h: |
| 4 | |
| 5 | Copyright (C) 2011 Steven Yi |
| 6 | |
| 7 | This file is part of Csound iOS Examples. |
| 8 | |
| 9 | The Csound for iOS Library is free software; you can redistribute it |
| 10 | and/or modify it under the terms of the GNU Lesser General Public |
| 11 | License as published by the Free Software Foundation; either |
| 12 | version 2.1 of the License, or (at your option) any later version. |
| 13 | |
| 14 | Csound is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | GNU Lesser General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU Lesser General Public |
| 20 | License along with Csound; if not, write to the Free Software |
| 21 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA |
| 22 | 02111-1307 USA |
| 23 | |
| 24 | */ |
| 25 | |
| 26 | #import <UIKit/UIKit.h> |
| 27 | #import "BaseCsoundViewController.h" |
| 28 | #import "CsoundObj.h" |
| 29 | |
| 30 | @interface MultiTouchXYViewController : BaseCsoundViewController |
| 31 | <CsoundBinding> { |
| 32 | |
| 33 | int touchIds[10]; |
| 34 | float touchX[10]; |
| 35 | float touchY[10]; |
| 36 | float* touchXPtr[10]; |
| 37 | float* touchYPtr[10]; |
| 38 | UITouch* touchArray[10]; |
| 39 | unsigned long touchesCount; |
| 40 | |
| 41 | IBOutlet UILabel *touchesLabel; |
| 42 | } |
| 43 | |
| 44 | |
| 45 | |
| 46 | @end |