add: if (type != WTTopTabsBevelBorder) tPtr->tabHeight = 0; else tPtr->tabHeight = WMFontHeight(tPtr->font) + 3;  if (type == WTNoTabsNoBorder) tPtr->flags.bordered = 0; else tPtr->flags.bordered = 1;  rearrange(tPtr);
context: WMSetTabViewType(WMTabView *tPtr, WMTabViewType type){    tPtr->flags.type = type;}