diff options
Diffstat (limited to 'ldmicro/includes/ldmicro.h')
-rw-r--r-- | ldmicro/includes/ldmicro.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ldmicro/includes/ldmicro.h b/ldmicro/includes/ldmicro.h index fcbadb4..4372bfd 100644 --- a/ldmicro/includes/ldmicro.h +++ b/ldmicro/includes/ldmicro.h @@ -38,11 +38,7 @@ typedef signed long SDWORD; // Size of the font that we will use to draw the ladder diagrams, in pixels #define FONT_WIDTH 7 -#define FONT_HEIGHT 13 - -// Timer IDs associated with the main window. -#define TIMER_BLINK_CURSOR 1 -#define TIMER_SIMULATE 2 +#define FONT_HEIGHT 14 //----------------------------------------------- // Constants for the GUI. We have drop-down menus, a listview for the I/Os, @@ -299,6 +295,10 @@ extern HWID PinList; #define MAX_COMMENT_LEN 384 #define MAX_LOOK_UP_TABLE_LEN 60 +// Timer IDs associated with the main window. +extern int CursorTimer; +extern int SimulateTimer; + typedef struct ElemSubckParallelTag ElemSubcktParallel; typedef struct ElemCommentTag { @@ -495,7 +495,7 @@ typedef struct PlcProgramTag { #define X_PADDING 35 #define Y_PADDING 14 -typedef struct PlcCursorTag { +typedef class PlcCursorTag{ int left; int top; int width; @@ -683,7 +683,7 @@ extern ElemLeaf DisplayMatrixFiller; extern ElemLeaf *Selected; extern int SelectedWhich; -extern PlcCursor Cursor; +extern QRect Cursor; extern BOOL CanInsertEnd; extern BOOL CanInsertOther; extern BOOL CanInsertComment; |