History log of /haiku/src/kits/interface/Alert.cpp
Revision Date Author Comments
# 4dbd4747 20-May-2023 PulkoMandy <pulkomandy@pulkomandy.tk>

Add BIconUtils::GetSystemIcon

Allow to easily access the alert icons and anything that's added to app_server
resources.

Fixes #10887.

Convert BAlert, Debugger AlertWithCheckbox and Keymap ModifierKeysWindow
to make use of it, removing the duplicate code to locate app_server
resources.

The resources are initialized only once (per application), so there is no need
to reload them for every access to the icons.

In the ticket there is discussion about putting this in BControlLook,
but I think this should in fact be moved fully into app_server with
special drawing commands for well-known icons. That would avoid loading
and rendering the icon on the application side to then send it to
app_server (especially in remote_app_server case)?

In any case, this simple API can serve as a base for applications to
use, and we can change how it is implemented later on.

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


# 5728bdf6 15-Nov-2022 Máximo Castañeda <antiswen@yahoo.es>

BAlert: invalidate icon view on icon change

Invalidating the layout may not be enough for an update.

Fixes: #18069
Change-Id: I93f6b0feb043c7f317a9ff1e7af11b2047fc7cd5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5821
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 369c7b11 09-Nov-2022 John Scipione <jscipione@gmail.com>

BAlert: Reserve room for stripe and large icon

... even if no icon is present. Draw stripe w/o icon.

"After ... hrev56382 alerts ... with no icons appears without a
gray stripe, causing it to jump left and right."

Fixes #18033 for R1B4 Release Milestone.

Change-Id: I35acc07411cadd4b394d6dfa1957049280b6f4b3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5810
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 781db1b4 24-Oct-2022 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Invalidate layout if the icon is unset.


# f583d904 26-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Support changing icons while the alert is running.

After all, you can change buttons, text, and the other settings,
so why not support this, too?


# a649df28 26-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Fix preferred-size computation.

The icon is rendered starting at label-spacing * 3, not * 2.
This meant the icon got cut off in some rare scenarios, mostly
ones where text wrapped.


# 56d76d9a 25-Aug-2022 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Make use of the new BControlLook::ComposeIconSize().

While we're at it, also use DefaultLabelSpacing instead of
the icon size scaling factor.


# 981f67b9 04-Jul-2020 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Add cast to appease GCC2.


# 99e4ca5f 04-Jul-2020 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Use factional scaling for icons.

The behavior of not making the icons smaller than their default
pixel size is (for now) kept, but when making them larger,
fractional scaling is now used.

This makes alerts look much better on my system, which has a font
size of 18 (i.e. 150% normal, so 32px -> 48px.)


# 7a96554c 09-Dec-2015 looncraz <looncraz@looncraz.net>

kits/interface: Convert to using Set*UIColor.

Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
Patches 0003-0017 from looncraz, unmodified.


# b11399ff 14-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

BAlert: fixed missing initialization of fAlertSem.

* Fixes bug #12372.


# d7a9cbde 29-Aug-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BAlert: don't center ourselves if we've already been positioned.


# 21c3286b 29-Aug-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BAlert: make SetShortcut() work again.

In hrev49481, the call to AddCommonFilter was accidentally
removed, preventing SetShortcut() from working. The filter
has also been updated to enumerate all buttons, rather than
a maximum of the first three.


# a84dc754 29-Aug-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BAlert: move setting default button into AddButton().

This properly fixes the crash in #12271, introduced by
hrev49481.


# e2eb9b7b 29-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed empty line


# e9c7257a 03-Aug-2015 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Use half-item spacing for layouts. Restores the old "compact" look.

Fixes #12273.


# 7b0ff5c6 29-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

BAlert: use layout API, allow any number of buttons.

* Added default constructor; you can now alter the complete behavior
via setters, and also add buttons afterwards.


# 1f424632 11-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to IK, focus on docs


# d4d842b4 30-Apr-2013 John Scipione <jscipione@gmail.com>

Style fix in BAlert, some sort of strange spaces got in there


# 6723d9fc 30-Apr-2013 John Scipione <jscipione@gmail.com>

Create a BWindow::AlertPosition() method and use it

...to position alert's and open/save dialogs nicely inside of the parent window,
or if that is unavailable, the screen frame.

AlertPosition() is private (for now) but BAlert and BFilePanel are BWindow's friends so
BWindow allows those classes to touch it's privates.


# e894fbc0 28-Apr-2013 John Scipione <jscipione@gmail.com>

Adjust BAlert to position the alert using the revamped BWindow::CenterIn() method.

BAlert::AlertPosition() has been superceded by the new BWindow method and should
be considered deprecated. Note that the alert position is not in the direct center of the
screen, it is offset vertically like before.


# 65e6ce6d 28-Apr-2013 John Scipione <jscipione@gmail.com>

Style changes in Alert and StyledEdit Find Window


# 9be774b5 30-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Compilation and 64-bit fixes to libbe.so sources.

Fixed the usual issues - printf format strings, uint32 instead of
addr_t, etc. One thing that isn't so nice is several places where
BList is used to store (u)int32, these require a double cast to addr_t
then void* to silence a warning on x86_64.


# 481baf2e 21-Feb-2010 Stephan Aßmus <superstippi@gmx.de>

Fix spelling in debugger invokation.


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


# eaccfb9d 14-Nov-2008 Axel Dörfler <axeld@pinc-software.de>

* Replaced some "new" with new(std::nothrow) where appropriate in our base
classes (BView, BWindow, BAlert, BButton - BTextView should be part of this,
too, to make BAlerts work).
* However, it's not that simple, because there is often no way to return an
error. Most of that code obviously assumes to be able to throw exceptions
(it's just not communicated to the caller). Maybe we should just start
documenting exceptions for R1 (and properly use exceptions later on).
* Automatic white space cleanup.


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


# 39fbf550 15-Oct-2008 Oliver Tappe <zooey@hirschkaefer.de>

bonefish + zooey:
* Fixed a general problem with respect to overriding of the reserved
virtual function slots: instead of statically invoking the method
that corresponds to the reserved slot on the class that contains the
slot, we now invoke the virtual Perform() method. Perform() then dispatches
the method invocation to the "proper" class, i.e. the highest class in the
hierarchy that actually implements the requested method.
This fixes a crash in apps that use liblayout's MSlider class and
should fix one or other spurious bug with old apps or libraries, too.
* added new header folder 'binary_compatibility' that contains files that
define the method codes and data structures required by Perform()
* looked for and implemented all used reserved virtual slot functions to
invoke Perform() where necessary or to pass on the method call statically
(for slots that were already maintained by Be)


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


# 4e03eeaa 03-Mar-2008 Rene Gollent <anevilyak@gmail.com>

The registrar's shutdown window and BAlert both use
a BTextView in order to be able to display multiline
panel text (since BStringView can't handle this). However,
while they correctly set the background panel color, they
neglected to set the font style/color to that used by panel.
Fixed. This makes shutdown/restart dialogs properly color sensitive.




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


# 8812976d 09-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* implemented icon size and layout to depend on the system plain font size
(currently, a font size above 16pt will make the icon 64x64, TODO: some
of the other insets could depend on that value too)


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


# 8127593e 25-May-2007 Stephan Aßmus <superstippi@gmx.de>

* implemented loading and displaying of vector icons for
the alert bitmaps
* a little clean up



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


# ccc3d07d 25-Sep-2006 Jérôme Duval <korli@users.berlios.de>

match BView::Archive() signature, avoids a warning with gcc4


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


# 9a3c8b14 16-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Rewrote BAlert button layout routine. Made it much simpler, and it's now
also font sensitive (really, it wasn't before).


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


# eb1b4195 05-Jun-2006 Jérôme Duval <korli@users.berlios.de>

style cleanup (local variables aren't capitalized)


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


# dc052c43 22-May-2006 Axel Dörfler <axeld@pinc-software.de>

The alert window position code now also takes an eventual screen offset into account.


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


# 4fdedfbd 21-Apr-2006 Jérôme Duval <korli@users.berlios.de>

fixed some Archive() following stippi's path


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


# 9fe0cc59 06-Dec-2005 Stephan Aßmus <superstippi@gmx.de>

was there any particular reason why BAlerts were old style synchronous controls BWindows?

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


# 2544aac3 02-Nov-2005 Stephan Aßmus <superstippi@gmx.de>

asynchronous version of Alert should have been broken, this looks more correct (not tested)

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


# 73eca7ba 01-Nov-2005 DarkWyrm <darkwyrm@gmail.com>

Removed a couple TODOs


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


# 7dc436d8 07-Jul-2005 Stephan Aßmus <superstippi@gmx.de>

usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

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


# f56083d8 16-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


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


# 4ece4543 07-Jun-2005 Stephan Aßmus <superstippi@gmx.de>

since the bitmap will be filled with content, we can use 0 as flags for the BBitmap constructor, which prevents it from unnecessarily filling with white

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


# 6fb0eac3 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Fixed horizontal button spacing issues and window size issues when in the B_OFFSET_SPACING mode.


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


# 6c806824 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Fixed button size and placement issues with the B_WIDTH_FROM_WIDEST mode, refactored code using OpenTracker style.


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


# 68bf78e0 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Removed beep when Go() is called because Be's version doesn't beep, fixed button sizes in B_WIDTH_FROM_LABEL mode.


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


# 9d9ef272 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Changed buttons and TextView back to being children of the MasterView so that the Archive() BMessage matches Be's version. Changed when MasterView is added as child of the Alert window to fix the "out-of-alignment" issue.


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


# d35fa557 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Fixed drawing and placement of buttons on Alert box.


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


# 3ceb31b9 30-Jul-2004 DarkWyrm <darkwyrm@gmail.com>

Pahtz's changes from PortLink/BSession/PortMessage/PortQueue to BPortLink


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


# d89ead3d 15-May-2004 DarkWyrm <darkwyrm@gmail.com>

Removed commented-out int8 hack
Tested undocumented functions and removed Erik's TODO items


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


# d0175883 15-May-2004 DarkWyrm <darkwyrm@gmail.com>

Added sound
Crash to debugger if given an invalid screen in AlertPosition


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


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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


# b11399ff6022603c16812255b6cb9e1a005d5bbb 14-Sep-2015 Axel Dörfler <axeld@pinc-software.de>

BAlert: fixed missing initialization of fAlertSem.

* Fixes bug #12372.


# d7a9cbde916858d81a49f59d7da3f6a4ed953931 29-Aug-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BAlert: don't center ourselves if we've already been positioned.


# 21c3286b628fd447b9470eca1eab464e85fa9571 29-Aug-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BAlert: make SetShortcut() work again.

In hrev49481, the call to AddCommonFilter was accidentally
removed, preventing SetShortcut() from working. The filter
has also been updated to enumerate all buttons, rather than
a maximum of the first three.


# a84dc7543a6cbf8ce625aa416673161072722e43 29-Aug-2015 Jessica Hamilton <jessica.l.hamilton@gmail.com>

BAlert: move setting default button into AddButton().

This properly fixes the crash in #12271, introduced by
hrev49481.


# e2eb9b7baf9cb3e1178868758219d4d36c0c6ad3 29-Aug-2015 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Removed empty line


# e9c7257afb1c888992580c9b8b386d7adcd368e8 03-Aug-2015 Augustin Cavalier <waddlesplash@gmail.com>

BAlert: Use half-item spacing for layouts. Restores the old "compact" look.

Fixes #12273.


# 7b0ff5c6e63390406acaffa0a9ebb68334af8485 29-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

BAlert: use layout API, allow any number of buttons.

* Added default constructor; you can now alter the complete behavior
via setters, and also add buttons afterwards.


# 1f424632be5dcad5b81a23080eb205ab6471cd7b 11-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to IK, focus on docs


# d4d842b4ed4556f5c9b2ea98681ba8f27f087ea6 30-Apr-2013 John Scipione <jscipione@gmail.com>

Style fix in BAlert, some sort of strange spaces got in there


# 6723d9fc948b0abd71cb55b46f8c73586d8494f1 30-Apr-2013 John Scipione <jscipione@gmail.com>

Create a BWindow::AlertPosition() method and use it

...to position alert's and open/save dialogs nicely inside of the parent window,
or if that is unavailable, the screen frame.

AlertPosition() is private (for now) but BAlert and BFilePanel are BWindow's friends so
BWindow allows those classes to touch it's privates.


# e894fbc0ac91379ca471b86399f4d7930a70e8d3 28-Apr-2013 John Scipione <jscipione@gmail.com>

Adjust BAlert to position the alert using the revamped BWindow::CenterIn() method.

BAlert::AlertPosition() has been superceded by the new BWindow method and should
be considered deprecated. Note that the alert position is not in the direct center of the
screen, it is offset vertically like before.


# 65e6ce6d53a03130be27c0d3d9650fe42a3bfc01 28-Apr-2013 John Scipione <jscipione@gmail.com>

Style changes in Alert and StyledEdit Find Window


# 9be774b553296a712704078314f2291ae5fc352c 30-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Compilation and 64-bit fixes to libbe.so sources.

Fixed the usual issues - printf format strings, uint32 instead of
addr_t, etc. One thing that isn't so nice is several places where
BList is used to store (u)int32, these require a double cast to addr_t
then void* to silence a warning on x86_64.


# 481baf2eef2f793a52d500354ffbf6dd76a3247e 21-Feb-2010 Stephan Aßmus <superstippi@gmx.de>

Fix spelling in debugger invokation.


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


# eaccfb9dd09b53c1f2788f527cbaaa01db037de9 14-Nov-2008 Axel Dörfler <axeld@pinc-software.de>

* Replaced some "new" with new(std::nothrow) where appropriate in our base
classes (BView, BWindow, BAlert, BButton - BTextView should be part of this,
too, to make BAlerts work).
* However, it's not that simple, because there is often no way to return an
error. Most of that code obviously assumes to be able to throw exceptions
(it's just not communicated to the caller). Maybe we should just start
documenting exceptions for R1 (and properly use exceptions later on).
* Automatic white space cleanup.


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


# 39fbf5509b8740d9883b61649027478dc8a3ead8 15-Oct-2008 Oliver Tappe <zooey@hirschkaefer.de>

bonefish + zooey:
* Fixed a general problem with respect to overriding of the reserved
virtual function slots: instead of statically invoking the method
that corresponds to the reserved slot on the class that contains the
slot, we now invoke the virtual Perform() method. Perform() then dispatches
the method invocation to the "proper" class, i.e. the highest class in the
hierarchy that actually implements the requested method.
This fixes a crash in apps that use liblayout's MSlider class and
should fix one or other spurious bug with old apps or libraries, too.
* added new header folder 'binary_compatibility' that contains files that
define the method codes and data structures required by Perform()
* looked for and implemented all used reserved virtual slot functions to
invoke Perform() where necessary or to pass on the method call statically
(for slots that were already maintained by Be)


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


# 4e03eeaa477a8d7ca9ca85e62759f9eab2b6d8a9 03-Mar-2008 Rene Gollent <anevilyak@gmail.com>

The registrar's shutdown window and BAlert both use
a BTextView in order to be able to display multiline
panel text (since BStringView can't handle this). However,
while they correctly set the background panel color, they
neglected to set the font style/color to that used by panel.
Fixed. This makes shutdown/restart dialogs properly color sensitive.




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


# 8812976dce86623844ab9a8bd8990e1db5fcb163 09-Jun-2007 Stephan Aßmus <superstippi@gmx.de>

* implemented icon size and layout to depend on the system plain font size
(currently, a font size above 16pt will make the icon 64x64, TODO: some
of the other insets could depend on that value too)


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


# 8127593e85a48c8016b8d6a0379bf8685b1aacbe 25-May-2007 Stephan Aßmus <superstippi@gmx.de>

* implemented loading and displaying of vector icons for
the alert bitmaps
* a little clean up



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


# ccc3d07d9e59db09bc2a9e454e378d9dd97994dc 25-Sep-2006 Jérôme Duval <korli@users.berlios.de>

match BView::Archive() signature, avoids a warning with gcc4


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


# 9a3c8b14fd9bba72f43853e92338fb8b3657bc1a 16-Jun-2006 Axel Dörfler <axeld@pinc-software.de>

Rewrote BAlert button layout routine. Made it much simpler, and it's now
also font sensitive (really, it wasn't before).


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


# eb1b4195994fb7f8bc4067fd63d54096b4619c20 05-Jun-2006 Jérôme Duval <korli@users.berlios.de>

style cleanup (local variables aren't capitalized)


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


# dc052c4305d5ad360a104e619184cf682b1b7300 22-May-2006 Axel Dörfler <axeld@pinc-software.de>

The alert window position code now also takes an eventual screen offset into account.


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


# 4fdedfbde40258f52c2778d1ca87131b6635fb5d 21-Apr-2006 Jérôme Duval <korli@users.berlios.de>

fixed some Archive() following stippi's path


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


# 9fe0cc5965f4a9ce75b85293ff0a42c55216cf71 06-Dec-2005 Stephan Aßmus <superstippi@gmx.de>

was there any particular reason why BAlerts were old style synchronous controls BWindows?

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


# 2544aac3eba91cc20356f0db3c33b10bf2b76dba 02-Nov-2005 Stephan Aßmus <superstippi@gmx.de>

asynchronous version of Alert should have been broken, this looks more correct (not tested)

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


# 73eca7babfce52340a4fb561caeac37a6bd261ac 01-Nov-2005 DarkWyrm <darkwyrm@gmail.com>

Removed a couple TODOs


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


# 7dc436d8ddced8bde596634efe25ae5ceb11b704 07-Jul-2005 Stephan Aßmus <superstippi@gmx.de>

usability improvements to scrollbar, sorry had no time to include all of Stefanos drawing code yet, other visual improvements

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


# f56083d8c0255ae24e0e1524b6d36dbc3ed76cc8 16-Jun-2005 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


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


# 4ece45439182c72b2a76243e82af9cb044cad5c4 07-Jun-2005 Stephan Aßmus <superstippi@gmx.de>

since the bitmap will be filled with content, we can use 0 as flags for the BBitmap constructor, which prevents it from unnecessarily filling with white

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


# 6fb0eac31e7acbf6f539782a8f26c826a2e2004c 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Fixed horizontal button spacing issues and window size issues when in the B_OFFSET_SPACING mode.


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


# 6c8068247abea26c988b98efac2a9b50f2edbfdb 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Fixed button size and placement issues with the B_WIDTH_FROM_WIDEST mode, refactored code using OpenTracker style.


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


# 68bf78e01591cbef27b43698621d895c0ba6c14e 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Removed beep when Go() is called because Be's version doesn't beep, fixed button sizes in B_WIDTH_FROM_LABEL mode.


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


# 9d9ef27273743328dbe140e364cfe1bfd698f981 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Changed buttons and TextView back to being children of the MasterView so that the Archive() BMessage matches Be's version. Changed when MasterView is added as child of the Alert window to fix the "out-of-alignment" issue.


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


# d35fa55790cd7fc6e0dcd61d0e726a65e84a9bbf 29-Jan-2005 Matthew Wilber <mwilber@nowhere.fake>

Fixed drawing and placement of buttons on Alert box.


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


# 3ceb31b96aefa3601ccc51e415da557b00155d4f 30-Jul-2004 DarkWyrm <darkwyrm@gmail.com>

Pahtz's changes from PortLink/BSession/PortMessage/PortQueue to BPortLink


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


# d89ead3dfb7aec9abb0680265f9ef35fcf64dca9 15-May-2004 DarkWyrm <darkwyrm@gmail.com>

Removed commented-out int8 hack
Tested undocumented functions and removed Erik's TODO items


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


# d017588386fd4da84f5842a247a443bf6df14d71 15-May-2004 DarkWyrm <darkwyrm@gmail.com>

Added sound
Crash to debugger if given an invalid screen in AlertPosition


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


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


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