| /******************************************************************************* |
| * Copyright (c) 2000, 2006 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.swt.internal.theme; |
| |
| import org.eclipse.swt.*; |
| import org.eclipse.swt.graphics.*; |
| |
| public class TabFolderDrawData extends DrawData { |
| public int tabsWidth; |
| public int tabsHeight; |
| public Rectangle tabsArea; |
| public int selectedX; |
| public int selectedWidth; |
| public int spacing; |
| |
| public TabFolderDrawData() { |
| state = new int[1]; |
| if (SWT.getPlatform().equals("gtk")) { |
| spacing = -2; |
| } |
| } |
| |
| } |