Logo Search packages:      
Sourcecode: iterm version File versions  Download package

core.h File Reference


Detailed Description

VTCore class definition.

Definition in file core.h.

#include <stdio.h>
#include <wchar.h>
#include "io.h"
#include "screen.h"

Go to the source code of this file.

Classes

struct  _VTCore

Typedefs

typedef struct _VTCore VTCore

Enumerations

enum  {
  VTM_SHIFT = 0x0004, VTM_META = 0x0008, VTM_CONTROL = 0x0010, VTK_LEFT = 0xFF51,
  VTK_UP = 0xFF52, VTK_RIGHT = 0xFF53, VTK_DOWN = 0xFF54, VTK_CR = 0xFF0D,
  VTK_KP_0 = 0xFF00, VTK_KP_1 = 0xFF01, VTK_KP_2 = 0xFF02, VTK_KP_3 = 0xFF03,
  VTK_KP_4 = 0xFF04, VTK_KP_5 = 0xFF05, VTK_KP_6 = 0xFF06, VTK_KP_7 = 0xFF07,
  VTK_KP_8 = 0xFF08, VTK_KP_9 = 0xFF09, VTK_KP_DASH = 0xFF0A, VTK_KP_COMMA = 0xFF0B,
  VTK_KP_PERIOD = 0xFF0C, VTK_KP_ENTER = 0xFF0D, VTK_KP_PF1 = 0xFF0E, VTK_KP_PF2 = 0xFF0F,
  VTK_KP_PF3 = 0xFF10, VTK_KP_PF4 = 0xFF11, VTK_F1 = 0x1000, VTK_F2 = 0x1001,
  VTK_F3 = 0x1002, VTK_F4 = 0x1003, VTK_F5 = 0x1004, VTK_F6 = 0x1005,
  VTK_F7 = 0x1006, VTK_F8 = 0x1007, VTK_F9 = 0x1008, VTK_F10 = 0x1009,
  VTK_F11 = 0x1010, VTK_F12 = 0x1011, VTK_F13 = 0x1012, VTK_F14 = 0x1013,
  VTK_F15 = 0x1014, VTK_F16 = 0x1015, VTK_F17 = 0x1016, VTK_F18 = 0x1017
}

Functions

void VTCore_clear_selection (VTCore *core)
void VTCore_copy_buffer (VTCore *core, int scol, int srow, int ecol, int erow, char *dest, int dest_size)
void VTCore_copy_selected_buffer (VTCore *core, char *dest, int dest_size)
void VTCore_destroy (VTCore *core)
void VTCore_dispatch (VTCore *core)
void VTCore_extend_selection (VTCore *core, int scol, int srow)
VTCoreVTCore_new (TerminalIO *io, int num_cols, int num_rows, int num_history)
void VTCore_redraw (VTCore *core, int scol, int srow, int ecol, int erow)
void VTCore_scroll (VTCore *core, double top)
void VTCore_scroll_down (VTCore *core, int num_line)
void VTCore_scroll_up (VTCore *core, int num_line)
int VTCore_send_key (VTCore *core, int type)
int VTCore_send_mouse_position (VTCore *core, int button, int modifiers, int pressed, int col, int row)
void VTCore_set_exit_callback (VTCore *core, void(*proc)(VTScreenView *view))
void VTCore_set_reverse_video (VTCore *core, int on)
void VTCore_set_screen_size (VTCore *core, int width, int height)
void VTCore_set_screen_view (VTCore *core, VTScreenView *view)
void VTCore_start_selection (VTCore *core, int scol, int srow, int type)
int VTCore_write (struct _VTCore *core, char *mb, int length)


Generated by  Doxygen 1.6.0   Back to index