summaryrefslogtreecommitdiffstats
path: root/src/ui/toolbar/livecode-toolbar.h
blob: abfd4f46ff8de01708146bf39c79b45ec804d7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef SEEN_LIVECODE_TOOLBAR_H
#define SEEN_LIVECODE_TOOLBAR_H

/**
 * @file
 * Livecode aux toolbar
 */
/* Authors:
 *   Sol Bekic <s+inkscape@s-ol.nu>
 * Copyright (C) 2019 Authors
 *
 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
 */

#include "toolbar.h"

class SPDesktop;

namespace Inkscape {
namespace UI {
namespace Widget {
class ComboBoxEntryToolItem;
}

namespace Toolbar {
class LivecodeToolbar : public Toolbar {
private:
    UI::Widget::ComboBoxEntryToolItem *_active_script;
    Gtk::ToolButton *_select_library;

    bool _freeze;
    void active_script_value_changed();
    void select_library_pressed();

protected:
    LivecodeToolbar(SPDesktop *desktop);

public:
    static GtkWidget *create(SPDesktop *desktop);
};

}
}
}

#endif /* !SEEN_LIVECODE_TOOLBAR_H */