diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-10-30 21:29:30 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-10-30 21:29:30 +0000 |
commit | 62f81e5cafbacfb90ac0f86e52e8e3176aa5ba8f (patch) | |
tree | 8f8f6028fa880b3296b1e42bc8d87cead73aaf78 /output.h | |
download | dhex-62f81e5cafbacfb90ac0f86e52e8e3176aa5ba8f.tar.gz |
Imported Upstream version 0.65upstream/0.65
Diffstat (limited to '')
-rw-r--r-- | output.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/output.h b/output.h new file mode 100644 index 0000000..cef29e9 --- /dev/null +++ b/output.h @@ -0,0 +1,21 @@ +#ifndef OUTPUT_H +#define OUTPUT_H + +#include <stdio.h> +#include <ncurses.h> +#include "buffers.h" +#include "machine_type.h" +#include "datatypes.h" + +void initcolors(); +void colorpair(tOutput* output,uicolors uicol,short fg,short bg,int attr); +void pairsinit(tOutput* output); +void setcolor(tOutput* output,uicolors col); +void printbuffersingle(tOutput* output,tBuffer* hBuf1,tInt64 cursorpos1,tUInt64 firstpos1,tUInt8 windowfield); +void printbufferdiff(tOutput* output,tBuffer* hBuf1,tBuffer* hBuf2,tInt64 cursorpos1,tInt64 cursorpos2); +void printmainmenu(tOutput* output,tBool diffmode); +void drawframe(tOutput* output,tInt16 y,tInt16 x,tInt8 h,tInt8 w,char* header); +void drawcenterframe(tOutput* output,tInt8 h,tInt8 w,char* header); +tInt32 movepositions(tInt64* cursorpos,tInt64* firstpos,tInt64 maxbufsize,tInt32 chars,tInt32 lines,tInt32 pages,tBool diffmode); + +#endif |