Made canvas default cursor a pointing hand
git-svn-id: http://svn.drobilla.net/lad@49 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
parent
fcde25e41f
commit
693092f2dd
|
@ -115,6 +115,8 @@ protected:
|
|||
|
||||
virtual bool canvas_event(GdkEvent* event);
|
||||
|
||||
virtual void on_show();
|
||||
|
||||
private:
|
||||
Connection* get_connection(const Port* port1, const Port* port2);
|
||||
void remove_connection(Connection* c);
|
||||
|
|
|
@ -69,6 +69,14 @@ FlowCanvas::~FlowCanvas()
|
|||
}
|
||||
|
||||
|
||||
void
|
||||
FlowCanvas::on_show()
|
||||
{
|
||||
Gnome::Canvas::Canvas::on_show();
|
||||
get_window()->set_cursor(Gdk::Cursor(Gdk::HAND2));
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
FlowCanvas::zoom(float pix_per_unit)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue