Revision 66 ofxArgosUI.h

ofxArgosUI.h (revision 66)
1 1
/***********************************************************************
2 2
 
3
 Copyright (c) 2009 Dimitri Diakopoulos, http://www.dimitridiakopoulos.com/
4
 === Google Summer of Code 2009 - NUI Group === 
3
 Copyright (c) 2009, 2010 Dimitri Diakopoulos, http://www.dimitridiakopoulos.com/
5 4

  
6
 Portions Copyright (c) 2008, 2009 Memo Atkens, http://www.memo.tv/
5

  
6
 Portions Copyright (c) 2008, 2009 Memo Aktens, http://www.memo.tv/
7 7
 -> Based on ofxSimpleGuiToo
8 8
 
9 9
 Portions Copyright (c) 2008 Todd Vanderlin, http://toddvanderlin.com/
......
47 47
// ================================================================= ofxArgosUI
48 48
class ofxArgosUI {
49 49

  
50
// let editor access protected controls
51
friend class EditorPanel; 
52

  
50 53
public:
51 54
	
52 55
	ofxArgosUI();
......
70 73
	ofxArgosUI_View			*view(string name);
71 74
	ofxArgosUI_View			*addView(string name = "");
72 75

  
76
	ofxArgosUI_Control		*addSystemControl		(ofxArgosUI_Control *control);
77
	ofxArgosUI_Panel		*addSystemPanel			(string name, int x, int y, int width, int height); 
78

  
73 79
	ofxArgosUI_Control		*addControl		(ofxArgosUI_Control *control);
74

  
75 80
	ofxArgosUI_Panel		*addPanel		(string name, int x, int y, int width, int height); 
76 81
	ofxArgosUI_Button		*addButton		(string name, int x, int y, int width, int height, bool *value);
77 82
	ofxArgosUI_Toggle		*addToggle		(string name, int x, int y, int width, int height, bool *value);
......
101 106

  
102 107
	// ============================ List of Views
103 108
	ofxArgosUI_View					*headerView;
109

  
104 110
	vector <ofxArgosUI_View*>		views;				// 0 is for headerView
105 111
	
106 112
	void drawHeader(); 

Also available in: Unified diff