summaryrefslogtreecommitdiff
path: root/roi.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-31roi: Let marked_image always point to a valid pixbufBenjamin Franzke1-11/+7
Either by having an own backing storage or by being a reference to the input image.
2012-03-31roi: Rename input to imageBenjamin Franzke1-18/+18
And modified_input to marked_image
2012-03-31roi: No need to have a cairo_rectangle_t in do_roiBenjamin Franzke1-5/+4
2012-03-31roi: Split do_roi into interval creation and matchingBenjamin Franzke1-43/+53
2012-03-31roi: Add a generic pixbuf_get callBenjamin Franzke1-18/+18
All those gdk_pixbuf_getters suck
2012-03-31roi: Dont try to unref modification if nothing is modifiedBenjamin Franzke1-3/+5
2012-03-31roi: Use GDK_KEY_<keyname> constantsBenjamin Franzke1-2/+4
2012-03-31roi: Further key mask cleanupBenjamin Franzke1-7/+4
2012-03-31roi: Cleanup types and line-break usagesBenjamin Franzke1-11/+5
2012-03-31roi: No need for GDK_KEY_PRESS_MASK currentlyBenjamin Franzke1-4/+1
2012-03-31roi: Remove some unneeded G_OBJECT castsBenjamin Franzke1-7/+7
2012-03-31roi: Fail if invalid or no image is givenBenjamin Franzke1-0/+4
2012-03-31roi: Move rubberband bounds check into do_roiBenjamin Franzke1-30/+31
2012-03-31roi: Use GDK_BUTTON_PRIMARY in button_releaseBenjamin Franzke1-4/+6
2012-03-31roi: Trivial reorder in draw_rubberbandBenjamin Franzke1-1/+2
2012-03-31roi: The configure-event is not yet neededBenjamin Franzke1-8/+0
2012-03-31roi: Remove key_press state from roi structBenjamin Franzke1-12/+6
2012-03-31roi: Make all functions staticBenjamin Franzke1-8/+8
2012-03-31roi: Schedule rubberband drawing to draw-handlerBenjamin Franzke1-79/+68
So that we get automatic double buffer handling.
2012-03-31roi: Use gtk_render_{frame,background} for rubberbandBenjamin Franzke1-23/+20
2012-03-31roi: Render only if selected width and height != 0Benjamin Franzke1-1/+3
2012-03-31roi: Use gtk3Benjamin Franzke1-11/+4
2012-03-30roi: Move to a gtk based selecton-interfaceBenjamin Franzke1-43/+252
2012-03-30Add simple roi-algorithmBenjamin Franzke1-0/+100