1 /* 2 * Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/> 3 * (C) 2020 Vladimir Sadovnikov <sadko4u@gmail.com> 4 * 5 * This file is part of lsp-plugins 6 * Created on: 17 июл. 2017 г. 7 * 8 * lsp-plugins is free software: you can redistribute it and/or modify 9 * it under the terms of the GNU Lesser General Public License as published by 10 * the Free Software Foundation, either version 3 of the License, or 11 * any later version. 12 * 13 * lsp-plugins is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public License 19 * along with lsp-plugins. If not, see <https://www.gnu.org/licenses/>. 20 */ 21 22 #ifndef UI_CTL_CTLALIGN_H_ 23 #define UI_CTL_CTLALIGN_H_ 24 25 namespace lsp 26 { 27 namespace ctl 28 { 29 class CtlAlign: public CtlWidget 30 { 31 public: 32 static const ctl_class_t metadata; 33 34 public: 35 explicit CtlAlign(CtlRegistry *src, LSPAlign *widget); 36 virtual ~CtlAlign(); 37 38 public: 39 virtual void init(); 40 41 virtual void set(widget_attribute_t att, const char *value); 42 43 virtual status_t add(CtlWidget *child); 44 }; 45 46 } /* namespace ctl */ 47 } /* namespace lsp */ 48 49 #endif /* UI_CTL_CTLALIGN_H_ */ 50