History log of /haiku/src/apps/people/PictureView.h
Revision Date Author Comments
# 89aa6cbe 21-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix #7300:
* When saving, the internal bitmap wasn't detached from stream, which then
deleted it, paving the road to a crash at next bitmap access.
* When saved, notify PictureView that current and original pictures are
the same.

Also, add support for bitmap paste (needs more improvement) and
to avoid reloading picture on B_STAT_CHANGED after our own save operation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41066 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f22fe14c 28-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
to be itself such target (copying a person picture to another one),
though.
* Remember the source type and MIME and use them to save the picture in same
format when possible.
* Avoid flickering when only focus is changing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40740 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e23bbaff 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Factorize a bit more.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40669 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb0416a2 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* PictureView is now keyboard navigable
* Alpha transparency of image is now respected
* Add a popup menu to load an image or remove the current one.
* The current picture can also be removed by pressing Delete key
* ... or by dragging the image to desktop's Trash


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40668 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7a9ea6df 23-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Now center the picture in the frame.
Don't keep any storage reference, user should now called Update(entry_ref) when it changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 435492ae 08-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

WIP to display/change/store in People files a picture.
Not yet integrated in the app as it needs a bit of work to give
him some place in the window without breaking too much
its visual appareance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40391 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 89aa6cbe13fc6e078cfc6046e1ca7893d903222c 21-Mar-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Fix #7300:
* When saving, the internal bitmap wasn't detached from stream, which then
deleted it, paving the road to a crash at next bitmap access.
* When saved, notify PictureView that current and original pictures are
the same.

Also, add support for bitmap paste (needs more improvement) and
to avoid reloading picture on B_STAT_CHANGED after our own save operation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41066 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f22fe14c4c6596df63b7bd811da69923d8c84972 28-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* Implement "Load Image" popup menu.
* Implement B_COPY_TARGET drop event. People is not (yet) ready to
to be itself such target (copying a person picture to another one),
though.
* Remember the source type and MIME and use them to save the picture in same
format when possible.
* Avoid flickering when only focus is changing.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40740 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e23bbaff47e34f7beda8198012c59522e61aa971 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Factorize a bit more.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40669 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb0416a246118b535e761fa6a3462ee0a31a38c6 24-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

* PictureView is now keyboard navigable
* Alpha transparency of image is now respected
* Add a popup menu to load an image or remove the current one.
* The current picture can also be removed by pressing Delete key
* ... or by dragging the image to desktop's Trash


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40668 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7a9ea6df3b05e159b07257021418945b51cf52ed 23-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Now center the picture in the frame.
Don't keep any storage reference, user should now called Update(entry_ref) when it changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 435492aefc1389c23104399ff323404edd7070d6 08-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

WIP to display/change/store in People files a picture.
Not yet integrated in the app as it needs a bit of work to give
him some place in the window without breaking too much
its visual appareance.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40391 a95241bf-73f2-0310-859d-f6bbb57e9c96