xref: /haiku/src/tests/kits/opengl/glinfo/CapabilitiesView.h (revision 25a7b01d15612846f332751841da3579db313082)
1 /*
2  * Copyright 2009-2012 Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef CAPABILITIES_VIEW_H
6 #define CAPABILITIES_VIEW_H
7 
8 
9 #include <ColumnListView.h>
10 #include <ColumnTypes.h>
11 #include <GL/gl.h>
12 #include <GroupView.h>
13 
14 
15 class CapabilitiesView : public BGroupView {
16 public:
17 								CapabilitiesView();
18 		virtual					~CapabilitiesView();
19 
20 private:
21 				BRow*			_CreateCapabilitiesRow(GLenum capability,
22 									const char* name);
23 				BRow*			_CreateConvolutionCapabilitiesRow();
24 
25 				BColumnListView* fCapabilitiesList;
26 				BStringColumn*	fCapabilityColumn;
27 				BStringColumn*	fValueColumn;
28 };
29 
30 
31 #endif	/* CAPABILITIES_VIEW_H */
32