TwoTerm/Emulators/GSOSConsole.h
Kelvin Sherlock cef619bae7 rewrite GS/OS Console.
git-svn-id: svn://qnap.local/TwoTerm/branches/fix-gno-scrolling-region@3169 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
2017-02-17 03:54:52 +00:00

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