PaintBrush improvement

Registered by Dylan Coakley

Currently the paintbrush will be activated when the canvas is clicked on. We need to change this so that only when the paintBrush tool is selected on the toolpalette the paintBrush is allowed to paint on the canvas.

To achieve this check out get_state_flags on this page: http://developer.gnome.org/gtkmm/unstable/classGtk_1_1ToolPalette.html

Inside the "Canvas::on_button_press_event" you will need something like:

if(get_state_flags is active)
{
//our paintbrush drawing code
}

Blueprint information

Status:
Complete
Approver:
Dylan Coakley
Priority:
High
Drafter:
Dylan Coakley
Direction:
Approved
Assignee:
Samuel Cowen
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 0.0.6.0
Started by
Samuel Cowen
Completed by
Samuel Cowen

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.