-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implemented automatic scale of spectrum graph switch. * Aligned the height of the blocks in "cgroup". * Implemented split frequency display. * Threshold markers are now editable. * Updated build scripts and dependencies.
- Loading branch information
Showing
26 changed files
with
654 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
/* | ||
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/> | ||
* (C) 2023 Vladimir Sadovnikov <[email protected]> | ||
* | ||
* This file is part of lsp-plugins-mb-gate | ||
* Created on: 6 дек. 2023 г. | ||
* | ||
* lsp-plugins-mb-gate is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Lesser General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* any later version. | ||
* | ||
* lsp-plugins-mb-gate is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public License | ||
* along with lsp-plugins-mb-gate. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
#ifndef PRIVATE_UI_MB_GATE_H_ | ||
#define PRIVATE_UI_MB_GATE_H_ | ||
|
||
#include <lsp-plug.in/plug-fw/ui.h> | ||
#include <lsp-plug.in/lltl/darray.h> | ||
|
||
namespace lsp | ||
{ | ||
namespace plugui | ||
{ | ||
class mb_gate_ui: public ui::Module, public ui::IPortListener | ||
{ | ||
protected: | ||
typedef struct split_t | ||
{ | ||
mb_gate_ui *pUI; | ||
ui::IPort *pFreq; | ||
|
||
tk::GraphMarker *wMarker; // Graph marker for editing | ||
tk::GraphText *wNote; // Text with note and frequency | ||
} split_t; | ||
|
||
protected: | ||
lltl::darray<split_t> vSplits; // List of split widgets and ports | ||
const char **fmtStrings; // List of format strings | ||
|
||
protected: | ||
|
||
static status_t slot_split_mouse_in(tk::Widget *sender, void *ptr, void *data); | ||
static status_t slot_split_mouse_out(tk::Widget *sender, void *ptr, void *data); | ||
|
||
protected: | ||
|
||
template <class T> | ||
T *find_split_widget(const char *fmt, const char *base, size_t id); | ||
ui::IPort *find_port(const char *fmt, const char *base, size_t id); | ||
split_t *find_split_by_widget(tk::Widget *widget); | ||
|
||
protected: | ||
void on_split_mouse_in(split_t *s); | ||
void on_split_mouse_out(); | ||
|
||
void add_splits(); | ||
void update_split_note_text(split_t *s); | ||
|
||
public: | ||
explicit mb_gate_ui(const meta::plugin_t *meta); | ||
virtual ~mb_gate_ui() override; | ||
|
||
virtual status_t post_init() override; | ||
|
||
virtual void notify(ui::IPort *port, size_t flags) override; | ||
}; | ||
} // namespace plugui | ||
} // namespace lsp | ||
|
||
#endif /* PRIVATE_UI_MB_GATE_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,93 +19,93 @@ | |
# | ||
|
||
# Variables that describe dependencies | ||
LSP_3RD_PARTY_VERSION := 1.0.13 | ||
LSP_3RD_PARTY_VERSION := 1.0.14 | ||
LSP_3RD_PARTY_NAME := lsp-3rd-party | ||
LSP_3RD_PARTY_TYPE := hdr | ||
LSP_3RD_PARTY_INC_OPT := -idirafter | ||
LSP_3RD_PARTY_URL_RO := https://github.com/lsp-plugins/$(LSP_3RD_PARTY_NAME).git | ||
LSP_3RD_PARTY_URL_RW := [email protected]:lsp-plugins/$(LSP_3RD_PARTY_NAME).git | ||
|
||
LSP_COMMON_LIB_VERSION := 1.0.32 | ||
LSP_COMMON_LIB_VERSION := 1.0.33 | ||
LSP_COMMON_LIB_NAME := lsp-common-lib | ||
LSP_COMMON_LIB_TYPE := src | ||
LSP_COMMON_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_COMMON_LIB_NAME).git | ||
LSP_COMMON_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_COMMON_LIB_NAME).git | ||
|
||
LSP_DSP_LIB_VERSION := 1.0.19 | ||
LSP_DSP_LIB_VERSION := 1.0.20 | ||
LSP_DSP_LIB_NAME := lsp-dsp-lib | ||
LSP_DSP_LIB_TYPE := src | ||
LSP_DSP_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_LIB_NAME).git | ||
LSP_DSP_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_DSP_LIB_NAME).git | ||
|
||
LSP_DSP_UNITS_VERSION := 1.0.18 | ||
LSP_DSP_UNITS_VERSION := 1.0.19 | ||
LSP_DSP_UNITS_NAME := lsp-dsp-units | ||
LSP_DSP_UNITS_TYPE := src | ||
LSP_DSP_UNITS_URL_RO := https://github.com/lsp-plugins/$(LSP_DSP_UNITS_NAME).git | ||
LSP_DSP_UNITS_URL_RW := [email protected]:lsp-plugins/$(LSP_DSP_UNITS_NAME).git | ||
|
||
LSP_LLTL_LIB_VERSION := 1.0.15 | ||
LSP_LLTL_LIB_VERSION := 1.0.16 | ||
LSP_LLTL_LIB_NAME := lsp-lltl-lib | ||
LSP_LLTL_LIB_TYPE := src | ||
LSP_LLTL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_LLTL_LIB_NAME).git | ||
LSP_LLTL_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_LLTL_LIB_NAME).git | ||
|
||
LSP_R3D_BASE_LIB_VERSION := 1.0.15 | ||
LSP_R3D_BASE_LIB_VERSION := 1.0.16 | ||
LSP_R3D_BASE_LIB_NAME := lsp-r3d-base-lib | ||
LSP_R3D_BASE_LIB_TYPE := src | ||
LSP_R3D_BASE_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git | ||
LSP_R3D_BASE_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_BASE_LIB_NAME).git | ||
|
||
LSP_R3D_IFACE_VERSION := 1.0.15 | ||
LSP_R3D_IFACE_VERSION := 1.0.16 | ||
LSP_R3D_IFACE_NAME := lsp-r3d-iface | ||
LSP_R3D_IFACE_TYPE := src | ||
LSP_R3D_IFACE_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_IFACE_NAME).git | ||
LSP_R3D_IFACE_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_IFACE_NAME).git | ||
|
||
LSP_R3D_GLX_LIB_VERSION := 1.0.15 | ||
LSP_R3D_GLX_LIB_VERSION := 1.0.16 | ||
LSP_R3D_GLX_LIB_NAME := lsp-r3d-glx-lib | ||
LSP_R3D_GLX_LIB_TYPE := bin | ||
LSP_R3D_GLX_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git | ||
LSP_R3D_GLX_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_GLX_LIB_NAME).git | ||
|
||
LSP_R3D_WGL_LIB_VERSION := 1.0.10 | ||
LSP_R3D_WGL_LIB_VERSION := 1.0.11 | ||
LSP_R3D_WGL_LIB_NAME := lsp-r3d-wgl-lib | ||
LSP_R3D_WGL_LIB_TYPE := bin | ||
LSP_R3D_WGL_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git | ||
LSP_R3D_WGL_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_R3D_WGL_LIB_NAME).git | ||
|
||
LSP_RUNTIME_LIB_VERSION := 1.0.18 | ||
LSP_RUNTIME_LIB_VERSION := 1.0.19 | ||
LSP_RUNTIME_LIB_NAME := lsp-runtime-lib | ||
LSP_RUNTIME_LIB_TYPE := src | ||
LSP_RUNTIME_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git | ||
LSP_RUNTIME_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_RUNTIME_LIB_NAME).git | ||
|
||
LSP_TEST_FW_VERSION := 1.0.22 | ||
LSP_TEST_FW_VERSION := 1.0.23 | ||
LSP_TEST_FW_NAME := lsp-test-fw | ||
LSP_TEST_FW_TYPE := src | ||
LSP_TEST_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_TEST_FW_NAME).git | ||
LSP_TEST_FW_URL_RW := [email protected]:lsp-plugins/$(LSP_TEST_FW_NAME).git | ||
|
||
LSP_TK_LIB_VERSION := 1.0.18 | ||
LSP_TK_LIB_VERSION := 1.0.19 | ||
LSP_TK_LIB_NAME := lsp-tk-lib | ||
LSP_TK_LIB_TYPE := src | ||
LSP_TK_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_TK_LIB_NAME).git | ||
LSP_TK_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_TK_LIB_NAME).git | ||
|
||
LSP_WS_LIB_VERSION := 1.0.18 | ||
LSP_WS_LIB_VERSION := 1.0.19 | ||
LSP_WS_LIB_NAME := lsp-ws-lib | ||
LSP_WS_LIB_TYPE := src | ||
LSP_WS_LIB_URL_RO := https://github.com/lsp-plugins/$(LSP_WS_LIB_NAME).git | ||
LSP_WS_LIB_URL_RW := [email protected]:lsp-plugins/$(LSP_WS_LIB_NAME).git | ||
|
||
# Plugin-related module dependencies | ||
LSP_PLUGIN_FW_VERSION := 1.0.20 | ||
LSP_PLUGIN_FW_VERSION := 1.0.21 | ||
LSP_PLUGIN_FW_NAME := lsp-plugin-fw | ||
LSP_PLUGIN_FW_TYPE := src | ||
LSP_PLUGIN_FW_URL_RO := https://github.com/lsp-plugins/$(LSP_PLUGIN_FW_NAME).git | ||
LSP_PLUGIN_FW_URL_RW := [email protected]:lsp-plugins/$(LSP_PLUGIN_FW_NAME).git | ||
|
||
LSP_PLUGINS_SHARED_VERSION := 1.0.19 | ||
LSP_PLUGINS_SHARED_VERSION := 1.0.20 | ||
LSP_PLUGINS_SHARED_NAME := lsp-plugins-shared | ||
LSP_PLUGINS_SHARED_TYPE := src | ||
LSP_PLUGINS_SHARED_URL_RO := https://github.com/lsp-plugins/$(LSP_PLUGINS_SHARED_NAME).git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.