mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2024-12-22 07:30:40 +00:00
cef619bae7
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3169 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
38 lines
628 B
Objective-C
38 lines
628 B
Objective-C
//
|
|
// GSOSConsole.h
|
|
// 2Term
|
|
//
|
|
// Created by Kelvin Sherlock on 7/9/2016.
|
|
//
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "Emulator.h"
|
|
#include "iGeometry.h"
|
|
#include "Screen.h"
|
|
|
|
struct gsos_context : public context {
|
|
bool consWrap = true;
|
|
bool consAdvance = true;
|
|
bool consLF = true;
|
|
bool consScroll = true;
|
|
bool consVideo = true;
|
|
bool consDLE = true;
|
|
bool consMouse = false;
|
|
uint8_t consFill = 0xa0;
|
|
};
|
|
|
|
@interface GSOSConsole : NSObject <Emulator> {
|
|
|
|
|
|
gsos_context _context;
|
|
std::vector<gsos_context> _context_stack;
|
|
|
|
unsigned cs;
|
|
int _scratch[4];
|
|
int _cursorType;
|
|
}
|
|
|
|
@end
|