Panda3D
displaySearchParameters.cxx
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.cxx
10  * @author aignacio
11  * @date 2007-01-17
12  */
13 
15 
16 /**
17  *
18  */
19 DisplaySearchParameters::
20 ~DisplaySearchParameters() {
21 
22 }
23 
24 /**
25  *
26  */
27 DisplaySearchParameters::
28 DisplaySearchParameters() {
29  _minimum_width = 640;
30  _minimum_height = 480;
31  _maximum_width = 6400;
32  _maximum_height = 4800;
33  _minimum_bits_per_pixel = 16;
34  _maximum_bits_per_pixel = 32;
35 }
36 
37 /**
38  *
39  */
40 void DisplaySearchParameters::
41 set_minimum_width (int minimum_width) {
42  _minimum_width = minimum_width;
43 }
44 
45 /**
46  *
47  */
48 void DisplaySearchParameters::
49 set_maximum_width (int maximum_width) {
50  _maximum_width = maximum_width;
51 }
52 
53 /**
54  *
55  */
56 void DisplaySearchParameters::
57 set_minimum_height (int minimum_height) {
58  _minimum_height = minimum_height;
59 }
60 
61 /**
62  *
63  */
64 void DisplaySearchParameters::
65 set_maximum_height (int maximum_height) {
66  _maximum_height = maximum_height;
67 }
68 
69 /**
70  *
71  */
72 void DisplaySearchParameters::
73 set_minimum_bits_per_pixel (int minimum_bits_per_pixel) {
74  _minimum_bits_per_pixel = minimum_bits_per_pixel;
75 }
76 
77 /**
78  *
79  */
80 void DisplaySearchParameters::
81 set_maximum_bits_per_pixel (int maximum_bits_per_pixel) {
82  _maximum_bits_per_pixel = maximum_bits_per_pixel;
83 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.