summaryrefslogtreecommitdiff
path: root/ldmicro/includes
diff options
context:
space:
mode:
authorakshay-c2019-04-09 10:46:06 +0530
committerakshay-c2019-04-09 10:46:06 +0530
commitdf1231112f08a66addd444c08839dee87905974d (patch)
treeba9409f32310c1a2163943e58057e59f15e89474 /ldmicro/includes
parent04220d0ad3d86a996f6163ed16a86d1a71574132 (diff)
downloadLDmicroQt-df1231112f08a66addd444c08839dee87905974d.tar.gz
LDmicroQt-df1231112f08a66addd444c08839dee87905974d.tar.bz2
LDmicroQt-df1231112f08a66addd444c08839dee87905974d.zip
Drawing Elements and HelpDialog
Diffstat (limited to 'ldmicro/includes')
-rw-r--r--ldmicro/includes/ldmicro.h13
1 files changed, 9 insertions, 4 deletions
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);