1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
/* $Id: defines.hh,v 1.13 1996/09/15 19:24:23 aml Exp $
*/
#define XXL_OK 0
#define XXL_BAD_FILE 1
#define XXL_BAD_RECORD 2
#define XXL_ERROR_WRIT 3
#define XXL_ABORT 4
/*#define DEFAULT_FONT "-adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1" */
#define DEFAULT_FONT_FAMILY 1
#define DEFAULT_FONT_SIZE 2
#define DEFAULT_FONT_ITALICS 0
#define DEFAULT_FONT_BOLD 0
#define DEFAULT_FONT_WIDTH 7
#define DEFAULTWIDTHINCELLS 12
#define DEFAULTHEIGHTINCELLS 18
#define DEFMAXROW 36
#define DEFMAXCOL 36
#define INTERNAL_CELL_BORDER 3
#define DEFAULT_CHARS_PER_CELL 10
#define DEFSHEETWIDTH 256
#define DEFSHEETHEIGHT 8096
#define DEFCELLHEIGHT 20
#define DEFCELLWIDTH (DEFAULT_CHARS_PER_CELL*DEFAULT_FONT_WIDTH+INTERNAL_CELL_BORDER)
#define NCHARSPERCELL 9
/*
$Log: defines.hh,v $
Revision 1.13 1996/09/15 19:24:23 aml
Rulling and shading.
Optionally hide cell borders.
Works well, but is very slow for large spreadsheets.
# Revision 1.12 1996/09/02 10:51:17 aml
# Cell fonts created, loaded and saved.
# Row height created.
#
# Revision 1.11 1996/08/26 12:08:44 aml
# Fixed problem with several sheets. Each canvas now has its own
# canvas info.
# Fixed scroll up and down. Implemented max_row and max_col.
# Fairly stable version.
#
Revision 1.10 1996/08/24 10:16:06 aml
Scroll almost fixed. We are missing scroll steps.
Several sheets work again, but need to be fixed right.
# Revision 1.9 1996/08/23 16:13:36 aml
# Top window resizing now works well.
# Range selection now uses a filled rectangle with overall good results.
# Intermediate version, does not work well.
#
Revision 1.8 1996/07/23 14:01:11 aml
Changed canvas widget to handle special items like cell borders.
Seems to work well. Spreadsheet size is no more limited now.
Revision 1.7 1996/07/18 10:19:25 aml
Created formats for cells.
Load cell now makes copy of old file.
Revision 1.6 1996/04/27 11:12:37 aml
Inserted check and delete button.
Font selection widget created.
Fixed bug canvas_information destructor.
# Revision 1.5 1996/03/29 21:45:38 aml
# Changed key based scrolls to be synchronous. Work fine, but are somewhat slow.
# Fixed abnormaly in state machine after range defition causing canvas scroll.
# Solid, working version.
#
# Revision 1.4 1996/03/07 20:33:03 aml
# Created print range ability.
# Set in gray non-working menus.
# Created RangeKill command.
# Created round function and macros for single argument functions.
#
Revision 1.3 1996/02/19 15:47:37 aml
Fixed abnormality with mouse click.
Variable width columns implemented, but not yet saved.
Labels are now a lex element, fixing some aberrant behavior that existed.
# Revision 1.2 1996/01/07 09:07:34 aml
# Sheet::save and Sheet::load created.
# Program can now write and read wk1 files.
# Slight changes made to relative references. Bit 14 is now always 0.
#
# Revision 1.1 1996/01/06 20:51:33 aml
# Initial revision
#
*/
|