History log of /haiku-fatelf/src/kits/interface/TabView.cpp
Revision Date Author Comments
# 8f5079af 03-Mar-2012 Rene Gollent <anevilyak@gmail.com>

When changing the tab height, also update the layout insets if needed.

Fixes #8374.


# 9d46237b 19-Feb-2012 Jérôme Duval <jerome.duval@gmail.com>

TabView.cpp: Use B_IF_GCC_2 to simplify things


# d0d510a7 06-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

Fix BTabView bug which caused {Min,Max,Preferred}Size() to be at least 3 pixels too tall, depending on the border in use. Also a very small style fix. This fixes ticket #6544.


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


# e867b26f 28-Jul-2010 Alex Wilson <yourpalal2@gmail.com>

Update BTabView to initialize fContainerView to NULL before calling _InitContainerView() from _InitData(). This fixes a regression DeadYak pointed out to me on IRC. (thanks DeadYak, sorry everyone!) Also a bit of cleanup, improved _InitContainerView() to not AddChild(fContainerView) if it was not created. Also archive BTabView::fBorderStyle.


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


# 5f844af7 28-Jul-2010 Alex Wilson <yourpalal2@gmail.com>

Update BTabView for layout-friendly archiving. Added _InitContainerView() method that is called from _InitObject() but also called on its own during unarchival. Implemented BTabView::AllUnarchived() and implemented a case for this in BTabView::Perform().


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


# 770ebcea 16-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

Just realized that BTabViews don't have a BLayout set when not layouted. But
just in case someone calls the BSize methods on such a tab view, provide a fall
back implementation. This one should now also report the correct size, only
less efficient.


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


# 7b19a569 16-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

The layout on the BTabView already knows the correct necessary size, because
the insets for the border and tab height have already been applied. The old
implementation for the BSize methods did not take border width into account.
It fixes tabviews being layouted too small.


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


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

Added SetBorder() virtual method and feature. Could also be used by the Terminal
now to polish the tabbed look.


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


# b1e7ac2a 21-Feb-2010 Rene Gollent <anevilyak@gmail.com>

When using layout mode, we need to remove the tab from the layout before updating the selection, otherwise the correct view isn't unhidden in some cases.



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


# 19b31ecf 18-Feb-2010 Rene Gollent <anevilyak@gmail.com>

BTabView::Select() needs to update the focus tab.



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


# 9b606d42 28-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* TabFrame() did not check if the index was valid. This should fix #5051.
* Cleanup, removed commented code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34346 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


# 74b19566 30-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

Turned off mouse wheel support in BTabView to switch the tabs. I think that
functionality like this is mostly annoying with little use to be honest, but
other opinions are welcome, of course :-)

It reminds me too much about the insane workspace switching via the mouse
wheel in Ubuntu.


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


# b3601d82 21-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

* Update indentation style in TabView.h
* Added _MinTabeSize() to BTabView. It makes sure that the BTabView displays
at least two tabs. In the future it should also add the room to display some
buttons for cycling the currently displayed tabs left/right if there is more
than can fit.
* In BTabView::Min/Max/PreferredSize(), use _MinTabSize() to compute the
respective size.
* Improve Tab rendering code so there are no ugly overlaps at the right edge
if the tabs falls directly on the view edge.


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


# bfb8f4ca 02-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* BTabView::AddTab(): Call Select() only when already attached to the window.
It's only necessary in this case and apparently there are applications that
rely on Select() not being called before the tab is attached to the window.
Fixes #3852.
* Automatic white-space cleanup.


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


# 6217e77c 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

AddTab(): Explicitly select the first-added tab. Fixes the problem that the page
wouldn't be made visible, when the tabs were added after the tab view had been
attached to the window.


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


# 83aff015 17-Feb-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed BTabs focus underline offset.
Fixed a typo in method name.

Please forgive me Stephan if I just screw your next commit...


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


# 2f86ba45 15-Feb-2009 Stephan Aßmus <superstippi@gmx.de>

Implemented a new look for the Haiku interface controls. It was
overheard that they looked too ninety-ish.
TODO: The code behind this is work in progress. The basic idea
is to extract all drawing code into a new class BControlLook,
of which there is a global instance be_control_look, instantiated
in InterfaceDefs.cpp. At the moment, all the old drawing code is
still there, and the usage of be_control_look is inside if-bodies
checking the instance against NULL. In another words, by not
instanitating be_control_look, you can revert back to the old look.
BControlLook's job is to provide reusable methods for drawing
certain types of frames, backgrounds and labels, so that application
developers can make controls that re-use the same drawing code
as built-in controls and adopt to changes made there. I have added
the notion of "borders". Each of the frame drawing methods can be
made to draw certain borders only, which is supposed to help when
controls shall visually attach. This feature is not fully explored
at all ATM.
TODO: Update BColumnListView header view and BStringItem text
spacing. Update other apps where it makes sense to use BControlLook.
For the moment, only Tracker and LaunchBox are updated. More...
NOTE: The new look is not very radically different, so that existing
apps do not immediately look too ugly or out of place.


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


# 24a0a80b 20-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

Properly integrate the BTabView into a layout tree. Ie, the content will
now resize with the tab view. There is probably a more elegant way overriding
DoLayout(), but this should do for the time being.


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


# e401039e 20-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

Patch by Artur Wyszynski:
* The BTabView can now be used with layout management. In this setup, children
views are managed by a BCardLayout and are hidden/shown instead of removed/
added when (de)activated.

Thanks a lot!


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


# 3bfa2d12 26-Apr-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup


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


# 69fac0ce 02-Mar-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

patch by Andrea Anzani (with a few style modification by me) which
enables tab (as BTab) switching via mouse wheel. Thanks!



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


# 753fd45f 05-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

Second part of a patch sent by Clemens zeidler:
* If in B_WIDTH_AS_USUAL mode, the strings in the tabs are nevertheless
truncated to the available width.
* Pass the real area available for the string to BTab::DrawLabel(), resolved
TODO in DrawLabel() about not having to calculate an offset to account
for the slope.
* Fixed some too lines of code.


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


# 741e605c 19-Jan-2008 Jérôme Duval <korli@users.berlios.de>

updated copyright header


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


# 14334b29 19-Jan-2008 Jérôme Duval <korli@users.berlios.de>

added scripting support for tab selection in BTabView


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


# e96b2023 27-Sep-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Patch from Ioan Molnar:
If a Tab is partially out of the window, clicking on it to make it the
active tab will scroll it to be completely visible.
The best solution would probably be having a way to scroll through the
whole list of tabs, or something like this. But for now, at least, makes
the tabbed terminal a bit more useful.
Thanks!



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


# 0a5c585a 28-Oct-2006 Axel Dörfler <axeld@pinc-software.de>

There is a B_CONTROL_TEXT_COLOR after all.


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


# 11d7eceb 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@17188 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39e8aac1 02-Jan-2006 Stephan Aßmus <superstippi@gmx.de>

implemented a "new" look for the BTabView, it is actually
a mix of the liblayout look (I hope Marcus doesn't mind)
and BMenuFields. I will have to clean up after myself one
day and calculate the tab rects properly instead of drawing
far out of the right side of tabs and adding a weird offset
to the label rendering and other places...


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


# f17df0a3 14-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


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


# a6e9b97b 04-Sep-2003 haydentech <haydentech@nowhere.fake>

Remove unused variable


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


# 5d5860e4 26-Jun-2003 haydentech <haydentech@nowhere.fake>

3 changes to remove infinite loops or crashes


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


# 9cb2dbe2 16-Jun-2003 Marc Flerackers <mflerackers@nowhere.fake>

Fixes


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


# fa49f505 13-Dec-2002 Marc Flerackers <mflerackers@nowhere.fake>

Some fixes


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


# f45d1cc7 14-Nov-2002 Marc Flerackers <mflerackers@nowhere.fake>

Compatibility changes


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


# 083d22e2 25-Oct-2002 Marc Flerackers <mflerackers@nowhere.fake>

Updated drawing, added missing functionality


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


# 398e73f2 01-Oct-2002 Marc Flerackers <mflerackers@nowhere.fake>

Fixed the drawing functions


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


# 4eb5e0d5 26-Sep-2002 Marc Flerackers <mflerackers@nowhere.fake>

Initial Checkin


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


# 8f5079af02b69eeb105a410516291050b12e16e9 03-Mar-2012 Rene Gollent <anevilyak@gmail.com>

When changing the tab height, also update the layout insets if needed.

Fixes #8374.


# 9d46237ba198f567a1bb38d80e6007d215690808 19-Feb-2012 Jérôme Duval <jerome.duval@gmail.com>

TabView.cpp: Use B_IF_GCC_2 to simplify things


# d0d510a7d1e22662b66361f715c571f01025e5e8 06-Jan-2011 Alex Wilson <yourpalal2@gmail.com>

Fix BTabView bug which caused {Min,Max,Preferred}Size() to be at least 3 pixels too tall, depending on the border in use. Also a very small style fix. This fixes ticket #6544.


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


# e867b26f14e431090aca5251822e409887d9323e 28-Jul-2010 Alex Wilson <yourpalal2@gmail.com>

Update BTabView to initialize fContainerView to NULL before calling _InitContainerView() from _InitData(). This fixes a regression DeadYak pointed out to me on IRC. (thanks DeadYak, sorry everyone!) Also a bit of cleanup, improved _InitContainerView() to not AddChild(fContainerView) if it was not created. Also archive BTabView::fBorderStyle.


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


# 5f844af738dc96d1577e606e7936e5ea311b6978 28-Jul-2010 Alex Wilson <yourpalal2@gmail.com>

Update BTabView for layout-friendly archiving. Added _InitContainerView() method that is called from _InitObject() but also called on its own during unarchival. Implemented BTabView::AllUnarchived() and implemented a case for this in BTabView::Perform().


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


# 770ebceafabd33d77169c90fb9ed86371b60ca83 16-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

Just realized that BTabViews don't have a BLayout set when not layouted. But
just in case someone calls the BSize methods on such a tab view, provide a fall
back implementation. This one should now also report the correct size, only
less efficient.


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


# 7b19a569beec417494b31fc8c9e6e7c67810afae 16-Mar-2010 Stephan Aßmus <superstippi@gmx.de>

The layout on the BTabView already knows the correct necessary size, because
the insets for the border and tab height have already been applied. The old
implementation for the BSize methods did not take border width into account.
It fixes tabviews being layouted too small.


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


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

Added SetBorder() virtual method and feature. Could also be used by the Terminal
now to polish the tabbed look.


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


# b1e7ac2a63f6cc2c437b8274ddeb0df0f4469f87 21-Feb-2010 Rene Gollent <anevilyak@gmail.com>

When using layout mode, we need to remove the tab from the layout before updating the selection, otherwise the correct view isn't unhidden in some cases.



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


# 19b31ecf6f2f74fdaa6aaae33ba39d3d58326c90 18-Feb-2010 Rene Gollent <anevilyak@gmail.com>

BTabView::Select() needs to update the focus tab.



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


# 9b606d42dbdf516b88123badf2459ca0f259e29c 28-Nov-2009 Axel Dörfler <axeld@pinc-software.de>

* TabFrame() did not check if the index was valid. This should fix #5051.
* Cleanup, removed commented code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34346 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


# 74b19566eea841e86a520e9d3cdfb6c6e4210c11 30-Jul-2009 Axel Dörfler <axeld@pinc-software.de>

Turned off mouse wheel support in BTabView to switch the tabs. I think that
functionality like this is mostly annoying with little use to be honest, but
other opinions are welcome, of course :-)

It reminds me too much about the insane workspace switching via the mouse
wheel in Ubuntu.


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


# b3601d823ca218ee6b0fed890c66568a034cdd3a 21-Jun-2009 Stephan Aßmus <superstippi@gmx.de>

* Update indentation style in TabView.h
* Added _MinTabeSize() to BTabView. It makes sure that the BTabView displays
at least two tabs. In the future it should also add the room to display some
buttons for cycling the currently displayed tabs left/right if there is more
than can fit.
* In BTabView::Min/Max/PreferredSize(), use _MinTabSize() to compute the
respective size.
* Improve Tab rendering code so there are no ugly overlaps at the right edge
if the tabs falls directly on the view edge.


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


# bfb8f4ca06e20388718e4e622c2a2ab92769a275 02-May-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

* BTabView::AddTab(): Call Select() only when already attached to the window.
It's only necessary in this case and apparently there are applications that
rely on Select() not being called before the tab is attached to the window.
Fixes #3852.
* Automatic white-space cleanup.


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


# 6217e77c65aa98c1b172ccf6320f057f97dde069 25-Apr-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

AddTab(): Explicitly select the first-added tab. Fixes the problem that the page
wouldn't be made visible, when the tabs were added after the tab view had been
attached to the window.


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


# 83aff015eb79ec3b8c3cff465b6f5051da18d215 17-Feb-2009 Philippe Houdoin <philippe.houdoin@gmail.com>

Fixed BTabs focus underline offset.
Fixed a typo in method name.

Please forgive me Stephan if I just screw your next commit...


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


# 2f86ba45579bdc9648b232175f87edc62ab71b54 15-Feb-2009 Stephan Aßmus <superstippi@gmx.de>

Implemented a new look for the Haiku interface controls. It was
overheard that they looked too ninety-ish.
TODO: The code behind this is work in progress. The basic idea
is to extract all drawing code into a new class BControlLook,
of which there is a global instance be_control_look, instantiated
in InterfaceDefs.cpp. At the moment, all the old drawing code is
still there, and the usage of be_control_look is inside if-bodies
checking the instance against NULL. In another words, by not
instanitating be_control_look, you can revert back to the old look.
BControlLook's job is to provide reusable methods for drawing
certain types of frames, backgrounds and labels, so that application
developers can make controls that re-use the same drawing code
as built-in controls and adopt to changes made there. I have added
the notion of "borders". Each of the frame drawing methods can be
made to draw certain borders only, which is supposed to help when
controls shall visually attach. This feature is not fully explored
at all ATM.
TODO: Update BColumnListView header view and BStringItem text
spacing. Update other apps where it makes sense to use BControlLook.
For the moment, only Tracker and LaunchBox are updated. More...
NOTE: The new look is not very radically different, so that existing
apps do not immediately look too ugly or out of place.


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


# 24a0a80b056c98004faac3db38ab8e404d0da60c 20-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

Properly integrate the BTabView into a layout tree. Ie, the content will
now resize with the tab view. There is probably a more elegant way overriding
DoLayout(), but this should do for the time being.


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


# e401039efad6e333f53abd1c523a384bdcd15ff9 20-Nov-2008 Stephan Aßmus <superstippi@gmx.de>

Patch by Artur Wyszynski:
* The BTabView can now be used with layout management. In this setup, children
views are managed by a BCardLayout and are hidden/shown instead of removed/
added when (de)activated.

Thanks a lot!


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


# 3bfa2d12234cc993145fb63501613a80dfe61b71 26-Apr-2008 Jérôme Duval <korli@users.berlios.de>

style cleanup


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


# 69fac0cee0dc333b5f1057352dc03747b44f570c 02-Mar-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

patch by Andrea Anzani (with a few style modification by me) which
enables tab (as BTab) switching via mouse wheel. Thanks!



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


# 753fd45fc25a99b25d214dbe371c5db4b02523a0 05-Feb-2008 Stephan Aßmus <superstippi@gmx.de>

Second part of a patch sent by Clemens zeidler:
* If in B_WIDTH_AS_USUAL mode, the strings in the tabs are nevertheless
truncated to the available width.
* Pass the real area available for the string to BTab::DrawLabel(), resolved
TODO in DrawLabel() about not having to calculate an offset to account
for the slope.
* Fixed some too lines of code.


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


# 741e605cee5c8fb6e16eaf95d152b42671ce5dbe 19-Jan-2008 Jérôme Duval <korli@users.berlios.de>

updated copyright header


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


# 14334b29f18e97280ca0b9633df283d571b51e32 19-Jan-2008 Jérôme Duval <korli@users.berlios.de>

added scripting support for tab selection in BTabView


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


# e96b20231146d74d19186ae917c20a95277ec413 27-Sep-2007 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Patch from Ioan Molnar:
If a Tab is partially out of the window, clicking on it to make it the
active tab will scroll it to be completely visible.
The best solution would probably be having a way to scroll through the
whole list of tabs, or something like this. But for now, at least, makes
the tabbed terminal a bit more useful.
Thanks!



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


# 0a5c585a92a559a24603510af72646441bee43d2 28-Oct-2006 Axel Dörfler <axeld@pinc-software.de>

There is a B_CONTROL_TEXT_COLOR after all.


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


# 11d7ecebd0255943e4b27c2fe94174c30d00385d 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@17188 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39e8aac1511f06f2e87a67bedf6b53cbcbe16913 02-Jan-2006 Stephan Aßmus <superstippi@gmx.de>

implemented a "new" look for the BTabView, it is actually
a mix of the liblayout look (I hope Marcus doesn't mind)
and BMenuFields. I will have to clean up after myself one
day and calculate the tab rects properly instead of drawing
far out of the right side of tabs and adding a weird offset
to the label rendering and other places...


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


# f17df0a3b5de1ff19ff2fab6f289fb608af47d8c 14-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

Cleanup.


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


# a6e9b97ba4bcfa84d118fa6e3e4b044b02b485aa 04-Sep-2003 haydentech <haydentech@nowhere.fake>

Remove unused variable


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


# 5d5860e4f1ce1c8b199ce9f727ef7236c7dd5cc6 26-Jun-2003 haydentech <haydentech@nowhere.fake>

3 changes to remove infinite loops or crashes


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


# 9cb2dbe29dbcf58bce0bd925316c77faafce43e0 16-Jun-2003 Marc Flerackers <mflerackers@nowhere.fake>

Fixes


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


# fa49f5059f50c8effce0aedb983ecf5aadcf44dc 13-Dec-2002 Marc Flerackers <mflerackers@nowhere.fake>

Some fixes


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


# f45d1cc7e4d2696194105b90f103ce4c5252c112 14-Nov-2002 Marc Flerackers <mflerackers@nowhere.fake>

Compatibility changes


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


# 083d22e24d4a5b3ed58007fd2bf71d90fbddc33b 25-Oct-2002 Marc Flerackers <mflerackers@nowhere.fake>

Updated drawing, added missing functionality


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


# 398e73f23b9dc687145fb999fb58ca42b7c07b05 01-Oct-2002 Marc Flerackers <mflerackers@nowhere.fake>

Fixed the drawing functions


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


# 4eb5e0d516d3902ab5eecdd4d05b143dcd38f735 26-Sep-2002 Marc Flerackers <mflerackers@nowhere.fake>

Initial Checkin


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