History log of /haiku/src/apps/people/PersonWindow.h
Revision Date Author Comments
# 964b6e80 30-Oct-2023 Humdinger <humdinger@mailbox.org>

People: Accept initial values

Besides the entry_ref to an existing Person file as argv, also
accept a BMessage containing values for attributes and set those
in the new window.

The specifier name in the BMessage needs to be the same as the
attribute name used by the People app, e.g. "META:email".

Needed to let the Mail app create a new Person file with the email
address already filled in.

Fixes #14766

Change-Id: I637200b08d5c1b7cf52d7cf3f56dab93ce1a6ec5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7085
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# b5a859ad 24-Jul-2021 Adrien Destugues <adrien.destugues@opensource.viveris.fr>

People: make default size larger

We have increased the number of default attributes, so the initial size
wasn't enough.

On small resolution displays, adjust the size to not end up with part
of the window outside the screen.

Fixes #15371

Change-Id: Ie59cb3a3f6609eff7d933d0bf0e11f66637d6d10
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2222
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


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

Save picture in JPEG format instead of PNG, for space consideration.
Small style fix.


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


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

Add a new feature to People app: a picture can now be stored in Person file,
besides attributes.


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


# 968ec77e 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Renamed PeopleWindow/View to PersonWindow/View, since they only show one person at a time.


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


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

Save picture in JPEG format instead of PNG, for space consideration.
Small style fix.


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


# 84627497fb50f0217c24d3c8af4b68f5566b4e6d 23-Feb-2011 Philippe Houdoin <philippe.houdoin@gmail.com>

Add a new feature to People app: a picture can now be stored in Person file,
besides attributes.


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


# 968ec77e1f783265bc393eae565c5166c5a13bd8 12-Feb-2011 Stephan Aßmus <superstippi@gmx.de>

Renamed PeopleWindow/View to PersonWindow/View, since they only show one person at a time.


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