aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Tab.cc14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/Tab.cc b/src/Tab.cc
index ebe8760..57a6474 100644
--- a/src/Tab.cc
+++ b/src/Tab.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Tab.cc,v 1.30 2002/08/02 12:57:19 fluxgen Exp $ 22// $Id: Tab.cc,v 1.31 2002/08/11 21:12:10 fluxgen Exp $
23 23
24#include "Tab.hh" 24#include "Tab.hh"
25 25
@@ -556,11 +556,7 @@ void Tab::moveNext() {
556// calculates m_inc_x and m_inc_y for tabs 556// calculates m_inc_x and m_inc_y for tabs
557// used for positioning the tabs. 557// used for positioning the tabs.
558//------------------------------------------- 558//-------------------------------------------
559void Tab::calcIncrease(void) { 559void Tab::calcIncrease() {
560 #ifdef DEBUG
561 cerr << "Calculating tab increase" << endl;
562 #endif // DEBUG
563
564 Tab *tab; 560 Tab *tab;
565 int inc_x = 0, inc_y = 0; 561 int inc_x = 0, inc_y = 0;
566 unsigned int i = 0, tabs = numObjects(); 562 unsigned int i = 0, tabs = numObjects();
@@ -1078,10 +1074,10 @@ void Tab::setTabHeight(unsigned int h) {
1078// to get right size/width of tabs when 1074// to get right size/width of tabs when
1079// PLeft || PRight && isTabRotateVertical 1075// PLeft || PRight && isTabRotateVertical
1080// --------------------------------------- 1076// ---------------------------------------
1081void Tab::resizeGroup(void) { 1077void Tab::resizeGroup() {
1082 #ifdef DEBUG 1078#ifdef DEBUG
1083 cerr <<__FILE__<<"("<<__LINE__<<"): Resizing group"<<endl; 1079 cerr <<__FILE__<<"("<<__LINE__<<"): Resizing group"<<endl;
1084 #endif //DEBUG 1080#endif //DEBUG
1085 Tab *first; 1081 Tab *first;
1086 for (first = getFirst(this); first != 0; first = first->m_next) { 1082 for (first = getFirst(this); first != 0; first = first->m_next) {
1087 if ((m_win->getScreen()->getTabPlacement() == PLEFT || 1083 if ((m_win->getScreen()->getTabPlacement() == PLEFT ||