From c7cef3198aeecc36dfe6102de6732eb461856899 Mon Sep 17 00:00:00 2001 From: Rr42 Date: Mon, 18 Jun 2018 15:50:12 +0530 Subject: updated freeze location --- ldmicro/lib/freezeLD/freezeLD.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldmicro/lib/freezeLD/freezeLD.h b/ldmicro/lib/freezeLD/freezeLD.h index 5c00504..3e1c0b7 100644 --- a/ldmicro/lib/freezeLD/freezeLD.h +++ b/ldmicro/lib/freezeLD/freezeLD.h @@ -10,7 +10,7 @@ #ifndef __FREEZE_H #define __FREEZE_H -#define FREEZE_REGISTER "/usr/share/ldmicro" +#define FREEZE_REGISTER "~/.ldmicro" #define FREEZE_SUBKEY "LDMicro" -- cgit From 8752670c1cd4f39f993dc791cf8925a1aa39a4a5 Mon Sep 17 00:00:00 2001 From: NatsuDrag9 Date: Fri, 29 Jun 2018 10:32:37 +0530 Subject: Update - processors are selected and displayed. --- ldmicro/ldmicro.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp index be02fd5..7a39478 100644 --- a/ldmicro/ldmicro.cpp +++ b/ldmicro/ldmicro.cpp @@ -896,6 +896,15 @@ gboolean LD_WM_Command_call(GtkMenuItem* men, gpointer gpcode) return FALSE; } +void ProcessorCall(GtkCheckMenuItem* men, gpointer gpcode) +{ + int tempcode = GPOINTER_TO_INT(gpcode); + if(gtk_check_menu_item_get_active(men)) + { + ProcessMenu (tempcode); + } +} + gboolean LD_WM_SetFocus_call(GtkWidget *widget, GdkEvent *event, gpointer user_data) { /* Handles: @@ -1144,6 +1153,12 @@ inline void MenuHandler () g_signal_connect(G_OBJECT(AboutMenu), "activate", G_CALLBACK(LD_WM_Command_call), GINT_TO_POINTER(MNU_ABOUT)); + // Connect microcontroller signals automatically + for(int i = 0; i < NUM_SUPPORTED_MCUS; i++) + { + g_signal_connect(G_OBJECT(ProcessorMenuItems[i]), "toggled", + G_CALLBACK(ProcessorCall), GINT_TO_POINTER((MNU_PROCESSOR_0 + i))); + } } //----------------------------------------------------------------------------- -- cgit From c3419cfd88f16eebe7c199bdb92f69aeae37aa8d Mon Sep 17 00:00:00 2001 From: Ramana Date: Fri, 29 Jun 2018 12:55:26 +0530 Subject: minor changes --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 0f0b022..cdb3983 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,7 @@ Simply run `make` in the build directory of the project to compile. _Note_: In order to compile the Makefile must first be generated (see [Building the Makefile](#building-the-makefile)). -Multiple Perl Scripts are executed during the build phase. In order to execute these scripts, you need perl. This project uses ActivePerl Community Edition, which can be obtained from the following website: - -http://www.activestate.com/activeperl - -or install the perl packages from the terminal (see [External package dependencies](#external-package-dependencies)). +Multiple Perl Scripts are executed during the build phase. In order to execute these scripts, to install the perl packages from the terminal (see [External package dependencies](#external-package-dependencies)). ## External package dependencies The install commands for all the packages required to compile LDMicro for Linux are given below: -- cgit