diff options
author | akshay-c | 2019-03-18 12:52:03 +0530 |
---|---|---|
committer | akshay-c | 2019-03-18 12:52:03 +0530 |
commit | 08ca539a8d6624e979bf4e85a61ff00567575667 (patch) | |
tree | dbdce755481abdbe999fdd83be9408c002401a71 /ldmicro/includes | |
parent | 0dbffa99fda94203c74b955f6f9fe534f30c6421 (diff) | |
download | LDmicroQt-08ca539a8d6624e979bf4e85a61ff00567575667.tar.gz LDmicroQt-08ca539a8d6624e979bf4e85a61ff00567575667.tar.bz2 LDmicroQt-08ca539a8d6624e979bf4e85a61ff00567575667.zip |
Cursor updates
Diffstat (limited to 'ldmicro/includes')
-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; |