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 21 class LangGUI:public FXVerticalFrame { 22 private: FXDECLARE(LangGUI)23 FXDECLARE(LangGUI) 24 LangGUI(){} 25 Settings* prefs; 26 FXListBox *wordlist; 27 FXListBox *langlist; 28 FXListBox* tabopts; 29 FXHorizontalFrame*style_hdr; 30 FXScrollWindow*scroll; 31 FXMatrix* style_pan; 32 FXButton *wildcardbtn; 33 FXButton *shabangbtn; 34 FXGroupBox*kwordsgrp; 35 FXButton*wordbtn; 36 FXLabel *taboptlab; 37 FXSpinner* tabwidthspin; 38 FXLabel* tabwidthlab; 39 FXTabBook *syntabs; 40 FXTabItem *opts_tab; 41 FXFont*scifont; 42 43 void MakeOptsTab(); 44 void MakeStyleTab(); 45 public: 46 long onLangSwitch(FXObject*o,FXSelector sel,void*p); 47 long onKeywordEdit(FXObject*o,FXSelector sel,void*p); 48 long onTabOptsSwitch(FXObject*o,FXSelector sel,void*p); 49 long onSyntaxFiletypeEdit(FXObject*o,FXSelector sel,void*p); 50 LangGUI(FXComposite*o, Settings* aprefs, FXObject*trg, FXSelector sel); 51 ~LangGUI(); 52 enum { 53 ID_LANG_SWITCH=FXVerticalFrame::ID_LAST, 54 ID_EDIT_FILETYPES, 55 ID_EDIT_SHABANGS, 56 ID_KWORD_EDIT, 57 ID_TABOPTS_SWITCH 58 }; 59 }; 60 61