#
a4ba4323 |
|
17-Nov-2018 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Fix line counting in StringView.cpp - if fText is an empty string, we would start searching past its end, possibly leading to a crash (noticed this in HaikuDepot). - if fText is NULL, BString would report a size of 0 lines, it makes more sense to report a size of 1 line.
|
#
35a074e0 |
|
05-Nov-2018 |
Kacper Kasper <kacperkasper@gmail.com> |
BStringView: fix #14680
|
#
800e6fe4 |
|
03-Nov-2018 |
Kacper Kasper <kacperkasper@gmail.com> |
BStringView: add support for multiline strings * Actually draw the string at the bottom of the frame. * Unfortunately BStringList cannot be cached because there is no space left in the class. * Change SGI and PNG translators to use it in place of BTextView. Change-Id: I07e12bf1a8dc956d18c9624604c7b63453ad15a2 Reviewed-on: https://review.haiku-os.org/620 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
346d1496 |
|
05-Nov-2017 |
Humdinger <humdingerb@gmail.com> |
Properly terminate property_info lists BListView's property_info list lacked termination, resulting in garbage output at the and of 'hey getsuites'. Use { 0 } everywhere for sake of consistency. Thanks to waddlesplash for spotting the bug an providing the easy fix.
|
#
04039d6f |
|
19-Jul-2016 |
looncraz <looncraz@looncraz.net> |
BStringView: Proper color inheritence. Legacy applications setting colors manually on BStringView would prevent the BStringView from inheriting theparent view color. Most legacy applications that did this also set the view color manually, so this went unnoticed except in Beezer's Preferences window. This fix introduces another, minor, issue for legacy applications that do the same thing - they will not receive the system default panel text color. In most instances, you don't want that happening anyway, so it's not much of an issue. Fixes #12868. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
|
#
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.
|
#
95fdee0b |
|
21-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
BStringView: added truncation support. * Added new truncation mode B_NO_TRUNCATION. * The Truncation()/SetTruncation() methods itself are Dano-compatible, however, there was no B_NO_TRUNCATION.
|
#
5ae0cde3 |
|
04-Dec-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to BStringView related to docs
|
#
bee420ff |
|
30-Jun-2013 |
John Scipione <jscipione@gmail.com> |
BStringView: Add scripting support. Fixes #9823 Configure BStringView to respond to messages to get and set Text and Alignment properties. Fill out ResolveSpecifier() and GetSupportedSuites accordingly. BeOS R5 did not provide any additional scripting support for BStringView so this goes above and beyond what BeOS R5 did, but, doesn't break backwards compatability.
|
#
a2bea84d |
|
15-Apr-2012 |
John Scipione <jscipione@gmail.com> |
Override the LayoutAlignment method in BStringView. Left align StringViews using layout API by default falling back to the alignment settings set by SetAlignment() only if SetExplicitAlignment() is not used. This way StringViews are left-aligned by default, can be changed using the Layout API, and the pre-Layout API legacy method is used as a fallback. See this thread for details: http://www.freelists.org/post/haiku-development/Can-we-make-BStringViews-MaxSize-BSizeB-SIZE-UNLIMITED-B-SIZE-UNSET-by-default
|
#
8adaa6c5 |
|
26-Feb-2012 |
Jerome Duval <jerome.duval@gmail.com> |
interface kit: added compatibility symbols for GCC4 * InvalidateLayout method for BBox, BButton, BCheckBox, BMenuField, BScrollView, BSlider, BStringView, BTextControl.
|
#
f6c8d242 |
|
19-Dec-2011 |
Rene Gollent <anevilyak@gmail.com> |
Use the correct perform invocation for these functions.
|
#
466f2b8f |
|
18-Dec-2011 |
Rene Gollent <anevilyak@gmail.com> |
Add compatibility symbols for removed LayoutChanged() calls.
|
#
eee4243d |
|
20-Oct-2011 |
Alex Wilson <yourpalal2@gmail.com> |
De-virtualize BView::InvalidateLayout() and introduce LayoutInvalidated() hook, like BLayout.
|
#
62da9a0f |
|
09-Sep-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Ooops, fix the binary compatibility I introduced. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38592 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7ae97406 |
|
09-Sep-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Cache text width to avoid calling StringWidth() too much while both text and font don't change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38591 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
38c4dc0e |
|
08-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Small improvement in efficiency, don't invalidate the layout when the string width did not change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38589 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c944d11f |
|
13-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
bonefish+stippi: All views which cache layout information need to call ResetLayoutInvalidation() when they have updated the cached information. Otherwise calling InvalidateLayout() once they are already attached to a layout may not have any effect. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36217 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89208c77 |
|
27-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Finished unifying the Interface Kit headers: * Fixed copyrights (puncuation and capitalization, removed authors from headers) * Updated indentation style * Unified pointer/reference style * Re-ordered some methods for better grouping where it could be done (abd adopted source accordingly) * Small coding style fixes here and there No functional change intended. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1370f1b6 |
|
16-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Of course it still needs to invalidate, d'oh. If the size isn't changed because of invalidating the layout, we still need to draw... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30192 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b10020de |
|
16-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Since a BStringView draws the text vertically centered, it should simply use the B_FULL_UPDATE_ON_RESIZE flag. Removed the Invalidate() call accordingly from InvalidateLayout(). Small cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30191 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
|
#
4f2fc580 |
|
19-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
The BStringView is not a BControl but suffered from the same problem in AttachedToWindow(). Maybe there are more non-BControls yet, I didn't have a look. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26511 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e87506af |
|
15-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Implement SetFont() and invalidate the layout. More controls should probably do this. * Fix build, appearantly I made a last minute change in Draw()... BTW, confirmed that adding virtuals declared in the base class is ok for binary compatibility. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3fe87ce |
|
15-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Cache a fPreferredSize following the example of BButton. Changed GetPreferredSize() accordingly. * No longer adds margins to the left/right side and top/bottom. These will make it difficult to make exact visual alignments with other controls and labels. * Invalidate the layout in SetText(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26422 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
695174cb |
|
23-Feb-2007 |
Jérôme Duval <korli@users.berlios.de> |
avoids invalidating when the text doesn't change git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20210 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7e2e6a5d |
|
06-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
fixed BStringView::GetSupportedSuites and BScrollBar::GetSupportedSuites git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17732 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
|
#
b03deb09 |
|
19-Apr-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Menu settings are now handled by the app_server. As a result, changing them does something, although they aren't saved to disk yet. 'click_to_open' is not checked anymore, because it was useless anyway, I'll remove it from the Menu preflet too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17174 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
da9fb331 |
|
02-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Now only resizes the width if it's too small or B_ALIGN_LEFT is used - it now resizes a bit more logically. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16204 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f9776157 |
|
23-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
* GetPreferredSize() now accepts NULL arguments for "width" and "height" * use GetFontHeight() instead of: BFont font; GetFont(&font); font.GetHeight(...) * fixed odd unarchiving of the alignment. * cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15090 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bbbe5a33 |
|
22-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
of course, GetPreferredSize() is defined void git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15077 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
45b01319 |
|
22-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
fix crashes when the text pointer is NULL, this lets you for example pick a background image with the Backrounds preflet, though it doesn't work further down git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15076 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
47e19397 |
|
06-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed typo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13485 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f51f1dda |
|
05-Mar-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed some weird includes (no need or even support to specify "posix" as part of the include path). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11575 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8f8f6df5 |
|
15-Dec-2004 |
Jérôme Duval <korli@users.berlios.de> |
Replaced delete[] by free() as noticed by Konrad on IRC Better style git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10466 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5b75be94 |
|
14-May-2003 |
haydentech <haydentech@nowhere.fake> |
Default args allowed only in header (not implementation) with gcc 3.X git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3243 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
|
#
95fdee0bc0ac24d9df13391dd8332fcee64dc94c |
|
21-Jan-2015 |
Axel Dörfler <axeld@pinc-software.de> |
BStringView: added truncation support. * Added new truncation mode B_NO_TRUNCATION. * The Truncation()/SetTruncation() methods itself are Dano-compatible, however, there was no B_NO_TRUNCATION.
|
#
5ae0cde36338617dedc12c3e7c9dbd4cb968986d |
|
04-Dec-2014 |
John Scipione <jscipione@gmail.com> |
Style fixes to BStringView related to docs
|
#
bee420ffb6907e1d0ca5bdc9483d66ebcbb25dda |
|
30-Jun-2013 |
John Scipione <jscipione@gmail.com> |
BStringView: Add scripting support. Fixes #9823 Configure BStringView to respond to messages to get and set Text and Alignment properties. Fill out ResolveSpecifier() and GetSupportedSuites accordingly. BeOS R5 did not provide any additional scripting support for BStringView so this goes above and beyond what BeOS R5 did, but, doesn't break backwards compatability.
|
#
a2bea84d349f6942b2d97287040cb647a35043b0 |
|
15-Apr-2012 |
John Scipione <jscipione@gmail.com> |
Override the LayoutAlignment method in BStringView. Left align StringViews using layout API by default falling back to the alignment settings set by SetAlignment() only if SetExplicitAlignment() is not used. This way StringViews are left-aligned by default, can be changed using the Layout API, and the pre-Layout API legacy method is used as a fallback. See this thread for details: http://www.freelists.org/post/haiku-development/Can-we-make-BStringViews-MaxSize-BSizeB-SIZE-UNLIMITED-B-SIZE-UNSET-by-default
|
#
8adaa6c54487cab1d200592bb2d5aca44ba2039b |
|
26-Feb-2012 |
Jerome Duval <jerome.duval@gmail.com> |
interface kit: added compatibility symbols for GCC4 * InvalidateLayout method for BBox, BButton, BCheckBox, BMenuField, BScrollView, BSlider, BStringView, BTextControl.
|
#
f6c8d242946d814ca47bca8eb49219979f009686 |
|
19-Dec-2011 |
Rene Gollent <anevilyak@gmail.com> |
Use the correct perform invocation for these functions.
|
#
466f2b8f997acaecf0397f9f1c8b36a2b1fc5a4e |
|
18-Dec-2011 |
Rene Gollent <anevilyak@gmail.com> |
Add compatibility symbols for removed LayoutChanged() calls.
|
#
eee4243d35225a35d0964ebebe94490eaca14261 |
|
20-Oct-2011 |
Alex Wilson <yourpalal2@gmail.com> |
De-virtualize BView::InvalidateLayout() and introduce LayoutInvalidated() hook, like BLayout.
|
#
62da9a0fcef77b845d8cf6f7c1ecf3f0b654d7ee |
|
09-Sep-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Ooops, fix the binary compatibility I introduced. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38592 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7ae974066f958dd06cd4e31e858526e283104d0c |
|
09-Sep-2010 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Cache text width to avoid calling StringWidth() too much while both text and font don't change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38591 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
38c4dc0eaa584bf8294b354d41f9851ea0e4a04f |
|
08-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Small improvement in efficiency, don't invalidate the layout when the string width did not change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38589 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c944d11f7e0a6775ab04ced50dd929e539c7d10f |
|
13-Apr-2010 |
Stephan Aßmus <superstippi@gmx.de> |
bonefish+stippi: All views which cache layout information need to call ResetLayoutInvalidation() when they have updated the cached information. Otherwise calling InvalidateLayout() once they are already attached to a layout may not have any effect. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36217 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
89208c77f10235d43fda0c7b3fd6751db02cc12c |
|
27-Aug-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Finished unifying the Interface Kit headers: * Fixed copyrights (puncuation and capitalization, removed authors from headers) * Updated indentation style * Unified pointer/reference style * Re-ordered some methods for better grouping where it could be done (abd adopted source accordingly) * Small coding style fixes here and there No functional change intended. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32745 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1370f1b69ef66acd7da2f6abd7657ee64a9bbada |
|
16-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Of course it still needs to invalidate, d'oh. If the size isn't changed because of invalidating the layout, we still need to draw... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30192 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b10020de0612cf9310ccc6a029bc27a619488dfe |
|
16-Apr-2009 |
Stephan Aßmus <superstippi@gmx.de> |
Since a BStringView draws the text vertically centered, it should simply use the B_FULL_UPDATE_ON_RESIZE flag. Removed the Invalidate() call accordingly from InvalidateLayout(). Small cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30191 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
|
#
4f2fc580b80f2eca54c5ba415aa778d27789a31f |
|
19-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
The BStringView is not a BControl but suffered from the same problem in AttachedToWindow(). Maybe there are more non-BControls yet, I didn't have a look. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26511 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e87506af4ddb6467f0fef9f028e5fc06ee596a99 |
|
15-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Implement SetFont() and invalidate the layout. More controls should probably do this. * Fix build, appearantly I made a last minute change in Draw()... BTW, confirmed that adding virtuals declared in the base class is ok for binary compatibility. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26425 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3fe87ce70bb96400f6b82985e5dba536d7a0a67 |
|
15-Jul-2008 |
Stephan Aßmus <superstippi@gmx.de> |
* Cache a fPreferredSize following the example of BButton. Changed GetPreferredSize() accordingly. * No longer adds margins to the left/right side and top/bottom. These will make it difficult to make exact visual alignments with other controls and labels. * Invalidate the layout in SetText(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26422 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
695174cbddded8cbad1e9155613351d85abc06e3 |
|
23-Feb-2007 |
Jérôme Duval <korli@users.berlios.de> |
avoids invalidating when the text doesn't change git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20210 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9ecf9d1c1d4888d341a6eac72112c72d1ae3a4cb |
|
26-Aug-2006 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge from layout management branch. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7e2e6a5d4ab01a7869ff5a4eabd8a3bf622151d2 |
|
06-Jun-2006 |
Jérôme Duval <korli@users.berlios.de> |
fixed BStringView::GetSupportedSuites and BScrollBar::GetSupportedSuites git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17732 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
|
#
b03deb09dbdb2968fecc5f128fd6ae4cf7b8169f |
|
19-Apr-2006 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
Menu settings are now handled by the app_server. As a result, changing them does something, although they aren't saved to disk yet. 'click_to_open' is not checked anymore, because it was useless anyway, I'll remove it from the Menu preflet too. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17174 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
da9fb3310970fbb0fb3cd7ee74686cab7283870a |
|
02-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Now only resizes the width if it's too small or B_ALIGN_LEFT is used - it now resizes a bit more logically. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16204 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f97761575a449469e7d56e690383732974733989 |
|
23-Nov-2005 |
Axel Dörfler <axeld@pinc-software.de> |
* GetPreferredSize() now accepts NULL arguments for "width" and "height" * use GetFontHeight() instead of: BFont font; GetFont(&font); font.GetHeight(...) * fixed odd unarchiving of the alignment. * cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15090 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bbbe5a3329617ebcf7aba30b939d33a6a9793418 |
|
22-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
of course, GetPreferredSize() is defined void git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15077 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
45b013192a6c00c924d63bb9769f65a08b8745b3 |
|
22-Nov-2005 |
Stephan Aßmus <superstippi@gmx.de> |
fix crashes when the text pointer is NULL, this lets you for example pick a background image with the Backrounds preflet, though it doesn't work further down git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15076 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
47e1939779bc2ee8621c6abdd75830752be59154 |
|
06-Jul-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed typo. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13485 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f51f1dda88d03e653c2ab9ad763091ef7f30e823 |
|
05-Mar-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed some weird includes (no need or even support to specify "posix" as part of the include path). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11575 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8f8f6df53378435f1503a9c7496b2d161a5730f0 |
|
15-Dec-2004 |
Jérôme Duval <korli@users.berlios.de> |
Replaced delete[] by free() as noticed by Konrad on IRC Better style git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10466 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5b75be9487aae202fd2c9488072e3719bb858ac9 |
|
14-May-2003 |
haydentech <haydentech@nowhere.fake> |
Default args allowed only in header (not implementation) with gcc 3.X git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3243 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
|