From 0008a4c7a3da20e050412a41a8447d2330c03039 Mon Sep 17 00:00:00 2001 From: NatsuDrag9 Date: Tue, 12 Jun 2018 13:08:14 +0530 Subject: Added accelerator labels and mnemonic. --- ldmicro/lib/linuxUI/linuxUI.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ldmicro/lib/linuxUI/linuxUI.h') diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h index 82d1614..ff56863 100644 --- a/ldmicro/lib/linuxUI/linuxUI.h +++ b/ldmicro/lib/linuxUI/linuxUI.h @@ -42,6 +42,11 @@ extern const UINT MF_GRAYED; extern const UINT MF_CHECKED; extern const UINT MF_UNCHECKED; +/// Accelerators (keyboard shortcuts) +extern GtkAccelGroup* AccelGroup; +extern GClosure* closure; + + /// ListStore extern GtkWidget* view; extern GtkTreeViewColumn *column; -- cgit From c05949bafcc68a09153201097f7e46103bdb8864 Mon Sep 17 00:00:00 2001 From: NatsuDrag9 Date: Fri, 15 Jun 2018 14:55:30 +0530 Subject: Created ConfDialog and attached it MCU Parameters. --- ldmicro/lib/linuxUI/linuxUI.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ldmicro/lib/linuxUI/linuxUI.h') diff --git a/ldmicro/lib/linuxUI/linuxUI.h b/ldmicro/lib/linuxUI/linuxUI.h index 4ddf164..279bf86 100644 --- a/ldmicro/lib/linuxUI/linuxUI.h +++ b/ldmicro/lib/linuxUI/linuxUI.h @@ -51,10 +51,9 @@ extern const UINT MF_UNCHECKED; extern GtkAccelGroup* AccelGroup; extern GClosure* closure; - /// ListStore -extern GtkWidget *view; -extern GtkTreeViewColumn *column; +extern HWID view; +extern HTVC column; /// data types typedef struct OpenFileInfoData { @@ -76,6 +75,8 @@ BOOL GetSaveFileName(OPENFILENAME* ); void EnableMenuItem(HMENU, HMENU, UINT); void CheckMenuItem(HMENU, HMENU, UINT); HBRUSH GetStockObject(int fnObject); +// bool KeyPressEnter (HWID, GdkEventKey, gpointer); +// bool KeyPressEsc (HWID, GdkEventKey, gpointer); HWID CreateWindowEx( DWORD dwExStyle, -- cgit