| 1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
|---|---|
| 2 | // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 |
| 3 | |
| 4 | component TestButtonImpl inherits Rectangle { |
| 5 | in-out property<string> button_text; |
| 6 | Text { |
| 7 | x: 10phx; |
| 8 | y: 10phx; |
| 9 | text: root.button_text; |
| 10 | } |
| 11 | } |
| 12 | export { TestButtonImpl as TestButton } |
| 13 | |
| 14 | export component ColorButton inherits TestButtonImpl { |
| 15 | in-out property<color> button_color; |
| 16 | } |
| 17 |
