Debian Codegraph @

FavoritesMenu.h

raw symbols SCIP
1 //
2 // "$Id: FavoritesMenu.h 386 2006-03-04 14:15:27Z mike $"
3 //
4 // FavoritesMenu widget header.
5 //
6 // Copyright 2005 by Michael Sweet.
7 //
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License v2 as published
10 // by the Free Software Foundation.
11 //
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17
18 #ifndef _FavoritesMenu_h_
19 # define _FavoritesMenu_h_
20 # include <FL/Fl.H>
21 # include <FL/Fl_Menu_Button.H>
22 # include <FL/Fl_Preferences.H>
23
24
25 class FavoritesMenu : public Fl_Menu_Button
26 {
27 void load_menu();
28
29 public:
30
31 FavoritesMenu(int X, int Y, int W, int H, const char *L = (const char *)0)
32 : Fl_Menu_Button(X, Y, W, H, L) {}
33
34 void add_favorite(const char *d);
35 int handle(int event);
36 static void quote(char *dst, const char *src, int dstsize);
37 static void unquote(char *dst, const char *src, int dstsize);
38 };
39
40
41 #endif // !_FavoritesMenu_h_
42
43 //
44 // End of "$Id: FavoritesMenu.h 386 2006-03-04 14:15:27Z mike $".
45 //