From df1231112f08a66addd444c08839dee87905974d Mon Sep 17 00:00:00 2001 From: akshay-c Date: Tue, 9 Apr 2019 10:46:06 +0530 Subject: Drawing Elements and HelpDialog --- ldmicro/includes/ldmicro.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'ldmicro/includes') diff --git a/ldmicro/includes/ldmicro.h b/ldmicro/includes/ldmicro.h index 4372bfd..fa9ae53 100644 --- a/ldmicro/includes/ldmicro.h +++ b/ldmicro/includes/ldmicro.h @@ -295,10 +295,6 @@ 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 { @@ -608,6 +604,14 @@ extern McuIoInfo SupportedMcus[NUM_SUPPORTED_MCUS]; void CheckHeap(char *file, int line); #define ok() CheckHeap(__FILE__, __LINE__) +class MyWidget : public QWidget +{ + public: + void keyPressEvent(QKeyEvent* event); + void mouseReleaseEvent(QMouseEvent* event); + void mouseDoubleClickEvent(QMouseEvent* event); +}; + // maincontrols.cpp void MakeMainWindowControls(void); HMENU MakeMainWindowMenus(void); @@ -732,6 +736,7 @@ BOOL CanUndo(void); // loadsave.cpp BOOL LoadProjectFromFile(char *filename); BOOL SaveProjectToFile(char *filename); +void ManageLineEnding(char* line); // iolist.cpp int GenerateIoList(int prevSel); -- cgit