annotate UI code/UIGrid.h @ 52:89944ab3e129 tip

fix oF linker errors ios8
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Tue, 03 Feb 2015 13:18:23 +0000
parents a223551fdc1f
children
rev   line source
rt300@0 1 //
rt300@0 2 // UIGrid.h
rt300@0 3 // emptyExample
rt300@0 4 //
rt300@0 5 // Created by Robert Tubb on 22/05/2013.
rt300@0 6 //
rt300@0 7 //
rt300@0 8
rt300@0 9 #ifndef __emptyExample__UIGrid__
rt300@0 10 #define __emptyExample__UIGrid__
rt300@0 11 #include "ofMain.h"
rt300@0 12 #include "Buttron.h" // no
rt300@0 13 #include "UIElement.h"
rt300@0 14 #include "UIElementContainer.h"
rt300@0 15 #include <iostream>
rt300@0 16
rt300@0 17 template<class T>
rt300@0 18 class UIGrid: public UIElementContainer{
rt300@0 19 public:
rt300@0 20 int rows;
rt300@0 21 int columns;
rt300@0 22 int spacing;
rt300@0 23 // too fuckin long
rt300@0 24 UIGrid(int ax,int ay, int awidth, int aheight, int numRows, int numColumns, int spacing,ofColor hi, ofColor lo, ofColor bg);
rt300@0 25 vector<vector<UIElement *> > subElementsByCoordinate;
rt300@0 26
rt300@0 27 // draw and touch all handled by UIElementContainer...
rt300@0 28
rt300@0 29 void print();
rt300@0 30
rt300@0 31 };
rt300@0 32 #endif /* defined(__emptyExample__UIGrid__) */