blob: aa19e653c2808375f1429e924a2fcc7f9146d112 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "ToolSelector.h"
const gchar *ToolSelector::name = (const gchar*)"Select";
ToolSelector::ToolSelector(EditManager *editManager) {
this->editManager = editManager;
image = gtk_image_new_from_stock(GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_BUTTON);
g_object_ref_sink(G_OBJECT(image));
}
ToolSelector::~ToolSelector() {
g_object_unref(G_OBJECT(image));
}
GtkWidget *ToolSelector::getImage() {
return image;
}
|