1 /* 2 FXiTe - The Free eXtensIble Text Editor 3 Copyright (c) 2009-2011 Jeffrey Pohlmeyer <yetanothergeek@gmail.com> 4 5 This program is free software; you can redistribute it and/or modify it 6 under the terms of the GNU General Public License version 3 as 7 published by the Free Software Foundation. 8 9 This software is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License 15 along with this program; if not, write to the Free Software 16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 19 20 #ifndef SHADY_TABS_H 21 #define SHADY_TABS_H 22 class ShadyTabs: public FXTabBook { 23 private: 24 FXDECLARE(ShadyTabs); 25 protected: ShadyTabs()26 ShadyTabs(){} 27 void setTabColor(FXTabItem*t, bool active); 28 void UpdateTabs(); 29 public: 30 long onCmdOpenItem ( FXObject* sender, FXSelector sel, void* p ); 31 void setCurrent(FXint i, FXbool notify=false); 32 ShadyTabs(FXComposite* p,FXObject* tgt=NULL, FXSelector sel=0, FXuint opts=TABBOOK_NORMAL, 33 FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_SPACING, 34 FXint pr=DEFAULT_SPACING, FXint pt=DEFAULT_SPACING, FXint pb=DEFAULT_SPACING); 35 }; 36 #endif 37 38