Skip to content

Commit

Permalink
Added header support by tk::LedMeter
Browse files Browse the repository at this point in the history
  • Loading branch information
sadko4u committed Jul 15, 2024
1 parent 96c4db1 commit 8d0493f
Show file tree
Hide file tree
Showing 4 changed files with 188 additions and 44 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

=== 1.0.23 ===
* Added header support by tk::LedMeterChannel.
* Added header support by tk::LedMeter.
* Updated build scripts.

=== 1.0.22 ===
Expand Down
10 changes: 8 additions & 2 deletions include/lsp-plug.in/tk/widgets/specific/LedMeter.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2023 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2023 Vladimir Sadovnikov <sadko4u@gmail.com>
* Copyright (C) 2024 Linux Studio Plugins Project <https://lsp-plug.in/>
* (C) 2024 Vladimir Sadovnikov <sadko4u@gmail.com>
*
* This file is part of lsp-tk-lib
* Created on: 25 сент. 2020 г.
Expand Down Expand Up @@ -41,8 +41,10 @@ namespace lsp
prop::Integer sBorder;
prop::Integer sAngle;
prop::String sEstText;
prop::String sEstHeader;
prop::Boolean sSGroups;
prop::Boolean sTextVisible;
prop::Boolean sHeaderVisible;
prop::Color sColor;
prop::Integer sMinChannelWidth;
LSP_TK_STYLE_DEF_END
Expand All @@ -67,8 +69,10 @@ namespace lsp
prop::Integer sBorder;
prop::Integer sAngle;
prop::String sEstText;
prop::String sEstHeader;
prop::Boolean sSGroups;
prop::Boolean sTextVisible;
prop::Boolean sHeaderVisible;
prop::Color sColor;
prop::Integer sMinChannelWidth;

Expand Down Expand Up @@ -105,8 +109,10 @@ namespace lsp
LSP_TK_PROPERTY(Integer, border, &sBorder)
LSP_TK_PROPERTY(Integer, angle, &sAngle)
LSP_TK_PROPERTY(String, estimation_text, &sEstText)
LSP_TK_PROPERTY(String, estimation_header, &sEstHeader)
LSP_TK_PROPERTY(Boolean, stereo_groups, &sSGroups)
LSP_TK_PROPERTY(Boolean, text_visible, &sTextVisible)
LSP_TK_PROPERTY(Boolean, header_visible, &sHeaderVisible)
LSP_TK_PROPERTY(Color, color, &sColor)
LSP_TK_PROPERTY(Integer, min_channel_width, &sMinChannelWidth)

Expand Down
Loading

0 comments on commit 8d0493f

Please sign in to comment.