equal
deleted
inserted
replaced
37 |
37 |
38 /** |
38 /** |
39 * --connect |
39 * --connect |
40 */ |
40 */ |
41 std::string arg_connect; |
41 std::string arg_connect; |
|
42 |
|
43 /** |
|
44 * --fullscreen |
|
45 */ |
|
46 bool arg_fullscreen; |
|
47 |
|
48 /** |
|
49 * --resolution |
|
50 */ |
|
51 PixelCoordinate arg_resolution; |
|
52 |
|
53 /** |
|
54 * Set the arg_* members |
|
55 * |
|
56 * @return true if execution should proceed, false if execution should stop |
|
57 */ |
|
58 bool parse_args (int argc, char **argv); |
|
59 |
|
60 /** |
|
61 * Parse and set --resolution/arg_resolution WIDTHxHEIGHT |
|
62 */ |
|
63 void parse_arg_resolution (const std::string &val); |
42 |
64 |
43 /** |
65 /** |
44 * Set the arg_* members |
66 * Print out a list of display modes |
45 */ |
67 */ |
46 void parse_args (int argc, char **argv); |
68 void dump_display_modes (void); |
47 |
69 |
48 public: |
70 public: |
49 /** |
71 /** |
50 * IT BEGAN IN AFRIKA |
72 * IT BEGAN IN AFRIKA |
51 */ |
73 */ |