]> git.sur5r.net Git - glabels/commit
2007-04-30 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Tue, 1 May 2007 01:18:50 +0000 (01:18 +0000)
committerJim Evins <evins@snaught.com>
Tue, 1 May 2007 01:18:50 +0000 (01:18 +0000)
commit4ca379add847194fa1375fe127e9800367f655e1
tree1399a18551db4d2eb8ab986b1e2bcb518574fdd4
parentb6893fe7ca71c477320ba676d3805e8561d393ad
2007-04-30  Jim Evins  <evins@snaught.com>

* src/label.h:
Added glLabelRegion structure type.
* src/label-object.c: (gl_label_object_get_extent):
* src/label-object.h:
Modified gl_label_object_get_extent() to fill in a glLabelRegion struct.
* src/view.h:
* src/view.c: (gl_view_update_region), (draw_select_region_layer),
(gl_view_select_region), (gl_view_align_selection_left),
(gl_view_align_selection_right), (gl_view_align_selection_hcenter),
(gl_view_align_selection_top), (gl_view_align_selection_bottom),
(gl_view_align_selection_vcenter),
(gl_view_center_selection_horiz), (gl_view_center_selection_vert),
(gl_view_move_selection), (gl_view_can_selection_text),
(motion_notify_event_cb), (button_press_event_cb),
(button_release_event_cb):
- Reconcile with new gl_label_object_get_extent() API.
- Use glLabelRegion for view->select_region.
- Added gl_view_update_region() to clip updates to region.
- Use gl_view_update_region() during manipulation of view->select_region.

git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@655 f5e0f49d-192f-0410-a22d-a8d8700d0965
glabels2/ChangeLog
glabels2/src/label-object.c
glabels2/src/label-object.h
glabels2/src/label.h
glabels2/src/view.c
glabels2/src/view.h