FreeRDP
Loading...
Searching...
No Matches
RDPKeyboardToolbarView.h
1/*
2 Toolbar of modifier and special keys shown above the ios keyboard
3
4 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
5 If a copy of the MPL was not distributed with this file, You can obtain one at
6 http://mozilla.org/MPL/2.0/.
7 */
8
9#import <UIKit/UIKit.h>
10
11@class RDPKeyboard;
12
13@interface RDPKeyboardToolbarView : UIView <UIScrollViewDelegate, UIInputViewAudioFeedback>
14{
15 @private
16 UIView *_bar;
17 UIVisualEffectView *_background;
18 UIView *_keys_container;
19 UIScrollView *_keys_scrollview;
20 CAGradientLayer *_fade_mask;
21 NSMutableArray *_key_buttons;
22 UIView *_divider;
23 UIButton *_toggle_button;
24}
25
26- (id)initWithTarget:(id)target;
27
28// latch the modifier keys that are currently pressed on the keyboard
29- (void)updateModifiersWithKeyboard:(RDPKeyboard *)keyboard;
30
31// highlight the keyboard toggle while the extended keyboard is shown
32- (void)setExtendedKeyboardActive:(BOOL)active;
33
34@end