2013-02-14 17:59:12 +04:00
|
|
|
/*
|
|
|
|
controller for screen settings selection
|
2019-11-06 17:24:51 +03:00
|
|
|
|
2013-12-04 14:37:57 +04:00
|
|
|
Copyright 2013 Thincast Technologies GmbH, Author: Martin Fleisz
|
2019-11-06 17:24:51 +03:00
|
|
|
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
|
|
|
If a copy of the MPL was not distributed with this file, You can obtain one at
|
|
|
|
http://mozilla.org/MPL/2.0/.
|
2013-02-14 17:59:12 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#import "EditorBaseController.h"
|
|
|
|
|
|
|
|
@class ConnectionParams;
|
|
|
|
@class OrderedDictionary;
|
|
|
|
|
|
|
|
@interface ScreenSelectionController : EditorBaseController
|
|
|
|
{
|
2019-11-06 17:24:51 +03:00
|
|
|
@private
|
|
|
|
NSString *_keyPath;
|
|
|
|
ConnectionParams *_params;
|
|
|
|
|
|
|
|
// avaiable options
|
|
|
|
OrderedDictionary *_color_options;
|
|
|
|
NSArray *_resolution_modes;
|
|
|
|
|
|
|
|
// current selections
|
|
|
|
int _selection_color;
|
|
|
|
int _selection_resolution;
|
2013-02-14 17:59:12 +04:00
|
|
|
}
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
- (id)initWithConnectionParams:(ConnectionParams *)params;
|
|
|
|
- (id)initWithConnectionParams:(ConnectionParams *)params keyPath:(NSString *)keyPath;
|
2013-02-14 17:59:12 +04:00
|
|
|
|
|
|
|
@end
|