From 2dc9d118efb64de6ea54a5a9eb4474f8e5ef3145 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 01:50:44 +0100 Subject: Initial commit --- tsalis/include/handler.h | 6 ++++++ tsalis/include/printer.h | 35 +++++++++++++++++++++++++++++++++++ tsalis/include/tsalis.h | 11 +++++++++++ 3 files changed, 52 insertions(+) create mode 100644 tsalis/include/handler.h create mode 100644 tsalis/include/printer.h create mode 100644 tsalis/include/tsalis.h (limited to 'tsalis/include') diff --git a/tsalis/include/handler.h b/tsalis/include/handler.h new file mode 100644 index 0000000..9bb4b0e --- /dev/null +++ b/tsalis/include/handler.h @@ -0,0 +1,6 @@ +#ifndef TSALIS_HANDLER_H +#define TSALIS_HANDLER_H + +void tsh_handleEvent (int event); + +#endif diff --git a/tsalis/include/printer.h b/tsalis/include/printer.h new file mode 100644 index 0000000..5356594 --- /dev/null +++ b/tsalis/include/printer.h @@ -0,0 +1,35 @@ +#ifndef TSALIS_PRINTER_H +#define TSALIS_PRINTER_H + +extern const int PROC_ELEMENT_COUNT; + +extern int g_currentPage; +extern sword g_selectedProcess; +extern sbool g_processShowGenes; +extern sword g_processVertScroll; +extern sword g_processDataScroll; +extern sword g_processGeneScroll; +extern sword g_worldPos; +extern sword g_worldZoom; + +void tsp_init (void); +void tsp_quit (void); +void tsp_onResize (void); +void tsp_prevPage (void); +void tsp_nextPage (void); +void tsp_scrollUp (void); +void tsp_scrollDown (void); +void tsp_scrollLeft (void); +void tsp_scrollRight (void); +void tsp_scrollToTop (void); +void tsp_scrollToLeft (void); +void tsp_zoomIn (void); +void tsp_zoomOut (void); +void tsp_prevOrganism (void); +void tsp_nextOrganism (void); +void tsp_gotoSelectedProc (void); +void tsp_selectProcess (sword proc); +void tsp_moveTo (sword loc); +void tsp_printData (void); + +#endif diff --git a/tsalis/include/tsalis.h b/tsalis/include/tsalis.h new file mode 100644 index 0000000..d60b7c7 --- /dev/null +++ b/tsalis/include/tsalis.h @@ -0,0 +1,11 @@ +#ifndef TSALIS_H +#define TSALIS_H + +#define NAME_MAX_SIZE 10 + +extern sbool g_exit; +extern sbool g_running; +extern sword g_autoSaveInterval; +extern char g_simName[]; + +#endif -- cgit v1.2.1