- 01 Oct, 2010 13 commits
-
-
Michael Natterer authored
because constructing the region can be expensive. Also make sure not to use g_object_set() if nothing would change to further reduce "update" emissions.
-
Michael Natterer authored
which gets emitted when the item wants to be redrawn: - Emit "update" it when any item property changes - Groups connect to their children and forward "update" for them - The shell connects to its group of canvas items and exposed the affected area - Remove gimp_display_shell_expose_item() - Move all the shell's item group code into gimpdisplayshell-items.c
-
Michael Natterer authored
because each item has a shell now. Keep the parameter in the virtual functions though because that saves a lot of code in the subclasses.
-
Michael Natterer authored
and use it in all tools which have groups.
-
Michael Natterer authored
and pass it to all constructors. The GimpDisplayShell is needed because items are going to become more powerful soon.
-
Michael Natterer authored
- Add signals GimpImage::guide_added(), removed() and moved() - Remove singal GimpImage::update_guide() - Adapt core code to emit the new signals instead of update_guide() - Have the shell connect to the new signals and update guide canvas items as needed - Remove gimp_display_shell_draw_guides()
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
- Add GimpImage signal "sample-point-moved" and emit it when needed - Let the shell connect to the sample point add, remove and move signals and update the canvas items accordingly - Remove gimp_display_shell_draw_sample_points()
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
which is a group that keeps a mapping between arbitrary pointers and canvas items. No MVC whatsoever yet, just a simple hash table.
-
- 30 Sep, 2010 13 commits
-
-
Gil Forcada authored
-
Sven Neumann authored
For consistency Use a static GParam array for the return values in all plug-ins.
-
Mukund Sivaraman authored
God knows how many other plug-ins have this.
-
Mukund Sivaraman authored
-
Michael Natterer authored
-
Sven Neumann authored
-
Michael Natterer authored
and add it to gimpcanvassamplepoint.c, it doesn't need to be public any longer.
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Michael Natterer authored
-
Michael Natterer authored
and remove gimp_display_shell_expose_guide() and _sample_point().
-
Bogdan Szczurek authored
-
Michael Natterer authored
and use it in the color tool. Also rename gimp_draw_tool_add_guide_line() to gimp_draw_tool_add_guide().
-
- 29 Sep, 2010 14 commits
-
-
Michael Natterer authored
and draw all sample points in gimp_display_shell_draw_sample_points().
-
Michael Natterer authored
-
Michael Natterer authored
and use it in gimp_display_shell_draw_sample_point().
-
Michael Schumacher authored
-
Michael Natterer authored
-
Michael Natterer authored
by using gimp_draw_tool_add_guide_line() for the active guide too.
-
Michael Natterer authored
so the dropped guide is highlighted. Also don't uselessly stop/start the draw tool in each oper_update(), only do so when the display changes.
-
Michael Natterer authored
and draw the guides in gimp_display_shell_draw_guides().
-
Michael Natterer authored
And don't call any shell draw functions directly any longer.
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
-