Revision 681751

Go back to digest for 1st July 2007

Other in Graphics

Clarence Dang committed changes in /branches/work/~dang/kdegraphics/kolourpaint:

Add hasContent() to decouple this concept from having a pixmap.

Text selections historically always had pixmaps so were considered to always have content. With this new method, we will slowly be able to migrate away from this and support creating text selections that are only borders (contain no text and will not mutate document-is-modified state) i.e. you will be able to drag out text boxes and cancel them without affecting the document-is-modified flag.

File Changes

Modified 5 files
  • /branches/work/~dang/kdegraphics/kolourpaint
  •   /kpAbstractImageSelection.cpp
  •   /kpAbstractImageSelection.h
  •   /kpAbstractSelection.h
  •   /kpTextSelection.cpp
  •   /kpTextSelection.h
5 files changed in total