Page 1 of 1

TBarTabs - BARHEIGHT

Posted: Fri Oct 26, 2018 8:07 am
by Otto
Dear Antonio,
is there a way to change the barheight without changeing the sources.
I am sorry I do not understand totaly what you suggest in the Spanish forum.


viewtopic.php?f=6&t=32970&p=194140&hilit=tabs+%23define+BARHEIGHT#p194140

Thank you and best regards
Otto

Re: TBarTabs - BARHEIGHT

Posted: Fri Oct 26, 2018 8:14 am
by Silvio.Falconi
Otto I'm afraid you cannot make it because you must change also the funcs draw the tabs (bmptabs.c)
I think you must use oldest Ttabs class

Re: TBarTabs - BARHEIGHT

Posted: Fri Oct 26, 2018 8:44 am
by Antonio Linares
Otto,

You have to replace these functions with your own functions that return bitmaps handles with higher heights:

hBmpSel = bmp_TabSel()
hBmpSelL = bmp_TabSelL()
hBmpSelR = bmp_TabSelR()
hBmpUnSel = bmp_TabUnSel()
hBmpUnSL = bmp_TabUnSL()
hBmpUnSR = bmp_TabUnSR()

hBmpSelV = bmp_TabSelV()
hBmpSelLV = bmp_TabSelLV()
hBmpSelRV = bmp_TabSelRV()
hBmpUnSelV = bmp_TabUnSelV()
hBmpUnSLV = bmp_TabUnSLV()
hBmpUnSRV = bmp_TabUnSRV()