mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-25 06:43:24 +03:00
41 lines
1.0 KiB
Objective-C
41 lines
1.0 KiB
Objective-C
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
// TODO: keep in sync with HlAttrs struct in ui.h
|
|
typedef struct {
|
|
bool bold, underline, undercurl, italic, reverse;
|
|
int foreground, background, special;
|
|
} HighlightAttributes;
|
|
|
|
@protocol NeoVimUiBridgeProtocol
|
|
|
|
- (void)resizeToRows:(int)rows columns:(int)columns;
|
|
- (void)clear;
|
|
- (void)eolClear;
|
|
- (void)cursorGotoRow:(int)row column:(int)column;
|
|
- (void)updateMenu;
|
|
- (void)busyStart;
|
|
- (void)busyStop;
|
|
- (void)mouseOn;
|
|
- (void)mouseOff;
|
|
- (void)modeChange:(int)mode;
|
|
- (void)setScrollRegionToTop:(int)top bottom:(int)bottom left:(int)left right:(int)right;
|
|
- (void)scroll:(int)count;
|
|
- (void)highlightSet:(HighlightAttributes)attrs;
|
|
- (void)put:(NSString *)string;
|
|
- (void)bell;
|
|
- (void)visualBell;
|
|
- (void)flush;
|
|
- (void)updateForeground:(int)fg;
|
|
- (void)updateBackground:(int)bg;
|
|
- (void)updateSpecial:(int)sp;
|
|
- (void)suspend;
|
|
- (void)setTitle:(NSString *)title;
|
|
- (void)setIcon:(NSString *)icon;
|
|
- (void)stop;
|
|
|
|
@end |