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: 11 апр. 2020 г.
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_TK_WIDGETS_LSPVOID_H_
23 #define UI_TK_WIDGETS_LSPVOID_H_
24 
25 namespace lsp
26 {
27     namespace tk
28     {
29 
30         class LSPVoid: public LSPWidget
31         {
32             public:
33                 static const w_class_t    metadata;
34 
35             protected:
36                 LSPSizeConstraints  sConstraints;
37 
38             public:
39                 explicit LSPVoid(LSPDisplay *dpy);
40                 virtual ~LSPVoid();
41 
42             public:
constraints()43                 inline LSPSizeConstraints  *constraints()   { return &sConstraints; }
44 
45             public:
46                 virtual void        render(ISurface *s, bool force);
47 
48                 virtual void        size_request(size_request_t *r);
49         };
50 
51     } /* namespace tk */
52 } /* namespace lsp */
53 
54 #endif /* UI_TK_WIDGETS_LSPVOID_H_ */
55