1 /*
2   FXiTe - The Free eXtensIble Text Editor
3   Copyright (c) 2009-2012 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 #ifndef OUTPANE_H
20 #define OUTPANE_H
21 
22 class TopWindow;
23 class Settings;
24 
25 class OutputList: public FXList {
26   FXDECLARE(OutputList)
OutputList()27   OutputList() {}
28 protected:
29   Settings* prefs;
30 public:
31   OutputList(FXComposite *p,FXObject* tgt=NULL,FXSelector sel=0,FXuint opts=LIST_NORMAL,FXint x=0,FXint y=0,FXint w=0,FXint h=0);
32   ~OutputList();
33   long onUserInput(     FXObject*o, FXSelector sel, void*p );
34   long onSelectPopCmd(  FXObject*o, FXSelector sel, void*p );
35   long onCmdIO(FXObject*o, FXSelector sel, void*p);
36   void GoToError();
37   bool Focus();
38   FXint fillItems(const FXString& strings);
39   FXint appendItem(const FXString& text);
40   void SelectFirstError();
41   virtual void show();
42   virtual void hide();
43   enum {
44     ID_SOMETHING=FXList::ID_LAST,
45     ID_SELECT_ALL,
46     ID_COPY_SELECTED,
47     ID_CMDIO,
48     ID_LAST
49   };
50 };
51 
52 #endif
53 
54