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 From 6da996846d7bcc0414b87c47efa9dbea5e1f4600 Mon Sep 17 00:00:00 2001 From: Rr42 Date: Fri, 29 Jun 2018 13:38:48 +0530 Subject: Bug fix: Fixes a bug where draw area puckups mouse clicks in the IoList. --- ldmicro/ldmicro.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ldmicro/ldmicro.cpp b/ldmicro/ldmicro.cpp index be02fd5..ea4e1f0 100644 --- a/ldmicro/ldmicro.cpp +++ b/ldmicro/ldmicro.cpp @@ -719,6 +719,17 @@ gboolean LD_GTK_mouse_click_hook(GtkWidget *widget, GdkEvent *event, gpointer us * WM_LBUTTONDBLCLK, WM_LBUTTONDOWN */ + RECT Rect; + GetWindowRect(ScrollWindow, &Rect); + int wy; + gtk_window_get_position(GTK_WINDOW(MainWindow), NULL, &wy); + + // g_print("net: %i\n", wy + 30 + Rect.bottom); + + /// Identify if mouse is clicked outside drawing area + if (wy + 30 + Rect.bottom < event->button.y_root) + return FALSE; + GtkAdjustment *adjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(ScrollWindow)); switch(event->button.type) -- cgit