From daefc42465c1473edf47be112699c377e61e5c75 Mon Sep 17 00:00:00 2001 From: jongough <2803240+jongough@users.noreply.github.com> Date: Sun, 20 Oct 2024 08:49:53 +1100 Subject: [PATCH] Update to revert back to OCPN API 117 as 118 has issues with drawings. --- CMakeLists.txt | 8 ++++---- include/ocpn_draw_pi.h | 2 +- src/ocpn_draw_pi.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95481f1d..05fd0cd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,12 +60,12 @@ set(PACKAGE "ocpn_draw") set(VERSION_MAJOR "1") set(VERSION_MINOR "8") -set(VERSION_PATCH "54") -set(VERSION_TWEAK "2") -set(VERSION_DATE "19/10/2024") # DD/MM/YYYY format +set(VERSION_PATCH "55") +set(VERSION_TWEAK "0") +set(VERSION_DATE "20/10/2024") # DD/MM/YYYY format set(OCPN_MIN_VERSION "ov50") set(OCPN_API_VERSION_MAJOR "1") -set(OCPN_API_VERSION_MINOR "18") +set(OCPN_API_VERSION_MINOR "17") set(OD_API_VERSION_MAJOR "1") set(OD_API_VERSION_MINOR "1") diff --git a/include/ocpn_draw_pi.h b/include/ocpn_draw_pi.h index 435bbb02..3aaf1a28 100644 --- a/include/ocpn_draw_pi.h +++ b/include/ocpn_draw_pi.h @@ -363,7 +363,7 @@ class ODPlugIn_Position_Fix_Ex : public PlugIn_Position_Fix_Ex }; -class ocpn_draw_pi : public opencpn_plugin_118 +class ocpn_draw_pi : public opencpn_plugin_117 { public: diff --git a/src/ocpn_draw_pi.cpp b/src/ocpn_draw_pi.cpp index 8bc3a0fc..a45aff0b 100644 --- a/src/ocpn_draw_pi.cpp +++ b/src/ocpn_draw_pi.cpp @@ -373,7 +373,7 @@ extern "C" DECL_EXP void destroy_pi(opencpn_plugin* p) // //--------------------------------------------------------------------------------------------------------- ocpn_draw_pi::ocpn_draw_pi(void *ppimgr) -:opencpn_plugin_118(ppimgr) +:opencpn_plugin_117(ppimgr) { // Create the PlugIn icons g_ocpn_draw_pi = this;