Panda3D
displaySearchParameters.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file displaySearchParameters.h
10  * @author aignacio
11  * @date 2007-01-17
12  */
13 
14 #ifndef DISPLAYSEARCHPARAMETERS_H
15 #define DISPLAYSEARCHPARAMETERS_H
16 
17 #include "pandabase.h"
18 
19 /**
20  * Parameters used for searching display capabilities.
21  */
22 class EXPCL_PANDA_DISPLAY DisplaySearchParameters {
23 
24 PUBLISHED:
27 
28  void set_minimum_width(int minimum_width);
29  void set_maximum_width(int maximum_width);
30  void set_minimum_height(int minimum_height);
31  void set_maximum_height(int maximum_height);
32  void set_minimum_bits_per_pixel(int minimum_bits_per_pixel);
33  void set_maximum_bits_per_pixel(int maximum_bits_per_pixel);
34 
35 public:
36  int _minimum_width;
37  int _maximum_width;
38  int _minimum_height;
39  int _maximum_height;
40  int _minimum_bits_per_pixel;
41  int _maximum_bits_per_pixel;
42 };
43 
44 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Parameters used for searching display capabilities.