Added strings for mouse-over image feedback and changed drag table data struct

This commit is contained in:
cmanske%netscape.com 1998-09-12 01:40:46 +00:00
parent 014baf696e
commit c1d7846d18
3 changed files with 29 additions and 17 deletions

View File

@ -6515,9 +6515,9 @@ ResDef(XP_EDT_CHARSET_LABEL, (XP_MSG_BASE + 849),
ResDef(XP_EDT_CHARSET_CANT_EDIT, (XP_MSG_BASE + 850),
"\nCommunicator does not recognize this and cannot edit it.")
ResDef(XP_EDT_CURRENT_CHARSET, (XP_MSG_BASE + 851),
"\nYour current character set is '%s'.\n")
"\nYour current character set is '%s'.")
ResDef(XP_EDT_CHARSET_EDIT_REPLACE, (XP_MSG_BASE + 852),
"\nSelect OK to edit the page and change the character set label to '%s'.")
"\n\nSelect OK to edit the page and change the character set label to '%s'.")
ResDef(XP_EDT_CHARSET_EDIT_CANCEL, (XP_MSG_BASE + 853),
"\nSelect Cancel to abort editing this page.")
ResDef(XP_EDT_CHARSET_EDIT_NOREPLACE, (XP_MSG_BASE + 854),
@ -7377,6 +7377,12 @@ ResDef(XP_EDT_DRAG_TABLE, XP_MSG_BASE + 1185,
ResDef(XP_EDT_NOT_ALL_CELLS_PASTED, XP_MSG_BASE + 1186,
"Not all cells in source were pasted\n")
ResDef(XP_EDT_CLICK_TO_SELECT_IMAGE, XP_MSG_BASE + 1187,
"Click to select the image before you can drag it")
ResDef(XP_EDT_CLICK_AND_DRAG_IMAGE, XP_MSG_BASE + 1188,
"Click mouse button down and drag to move or copy image")
/* XP_NSCOLOR_BASE and the 70 color strings removed
* We would like to reserve the range through 1250 for Editor
*/

View File

@ -6515,9 +6515,9 @@ ResDef(XP_EDT_CHARSET_LABEL, (XP_MSG_BASE + 849),
ResDef(XP_EDT_CHARSET_CANT_EDIT, (XP_MSG_BASE + 850),
"\nCommunicator does not recognize this and cannot edit it.")
ResDef(XP_EDT_CURRENT_CHARSET, (XP_MSG_BASE + 851),
"\nYour current character set is '%s'.\n")
"\nYour current character set is '%s'.")
ResDef(XP_EDT_CHARSET_EDIT_REPLACE, (XP_MSG_BASE + 852),
"\nSelect OK to edit the page and change the character set label to '%s'.")
"\n\nSelect OK to edit the page and change the character set label to '%s'.")
ResDef(XP_EDT_CHARSET_EDIT_CANCEL, (XP_MSG_BASE + 853),
"\nSelect Cancel to abort editing this page.")
ResDef(XP_EDT_CHARSET_EDIT_NOREPLACE, (XP_MSG_BASE + 854),
@ -7377,6 +7377,12 @@ ResDef(XP_EDT_DRAG_TABLE, XP_MSG_BASE + 1185,
ResDef(XP_EDT_NOT_ALL_CELLS_PASTED, XP_MSG_BASE + 1186,
"Not all cells in source were pasted\n")
ResDef(XP_EDT_CLICK_TO_SELECT_IMAGE, XP_MSG_BASE + 1187,
"Click to select the image before you can drag it")
ResDef(XP_EDT_CLICK_AND_DRAG_IMAGE, XP_MSG_BASE + 1188,
"Click mouse button down and drag to move or copy image")
/* XP_NSCOLOR_BASE and the 70 color strings removed
* We would like to reserve the range through 1250 for Editor
*/

View File

@ -214,19 +214,19 @@ typedef enum {
} ED_CopyType;
struct _EDT_DragTableData {
void *pSourceTable; /* So we can tell if dragging between different tables */
ED_HitType iSourceType; /* One of the ED_HIT_SEL_... enums */
ED_DropType iDropType; /* One of ED_DROP_... enums */
LO_Element *pFirstSelectedCell; /* First cell in source being dragged */
LO_Element *pDragOverCell; /* Cell being dragged over */
int32 iRows; /* Number of rows being dragged */
int32 iColumns; /* Number of columns being dragged (counts COLSPAN) */
int32 *pCellsPerRow; /* Array of number of actual cells in each row (size = iRows) */
/* (this doesn't count COLSPAN effects) */
int32 X; /* Location to place highlighting or make caret */
int32 Y; /* to show where to drop cells */
int32 iWidth; /* The width and */
int32 iHeight; /* height of the insert-between-cells feedback */
LO_TableStruct *pSourceTable; /* So we can tell if dragging over the source table */
ED_HitType iSourceType; /* One of the ED_HIT_SEL_... enums */
ED_DropType iDropType; /* One of ED_DROP_... enums */
LO_Element *pFirstSelectedCell; /* First cell in source being dragged */
LO_Element *pDragOverCell; /* Cell being dragged over */
int32 iRows; /* Number of rows being dragged */
int32 iColumns; /* Number of columns being dragged (counts COLSPAN) */
int32 *pCellsPerRow; /* Array of number of actual cells in each row (size = iRows) */
/* (this doesn't count COLSPAN effects) */
int32 X; /* Location to place highlighting or make caret */
int32 Y; /* to show where to drop cells */
int32 iWidth; /* The width and */
int32 iHeight; /* height of the insert-between-cells feedback */
};
typedef struct _EDT_DragTableData EDT_DragTableData;