CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
table_collection.h
1 /*
2  * table_collection.h
3  *
4  * Copyright 2015-2017 Thierry Nuttens <tnut@nutyx.org>
5  * Copyright 2017 Gianni Peschiutta <artemia@nutyx.org>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
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  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20  * MA 02110-1301, USA.
21  *
22  *
23  */
24 
25 #ifndef TABLE_COLLECTION_H
26 #define TABLE_COLLECTION_H
27 
28 #include "pixmaps/lxde.xpm"
29 #include "pixmaps/xfce.xpm"
30 #include "pixmaps/lxqt.xpm"
31 #include "pixmaps/mate.xpm"
32 #include "pixmaps/kde.xpm"
33 #include "pixmaps/gnome.xpm"
34 #include "table_base.h"
35 
42 class TableCollection : public TableBase
43 {
44 public:
51  TableCollection(int x, int y, int w, int h, const char *l=0);
52 
59  virtual ~TableCollection(){}
60 
67  void refresh_table(); // Load the Collection list
68 protected:
69  void OnDrawCell(TableContext context, int R=0, int C=0, int X=0, int Y=0, int W=0, int H=0);
70  void OnEvent(TableContext context, int pCol, int pRow);
71 };
72 
73 #endif
void refresh_table()
Populate the tab with package installed.
Definition: table_collection.cxx:39
Definition: table_base.h:77
TableCollection(int x, int y, int w, int h, const char *l=0)
Constructor.
Definition: table_collection.cxx:29
widget to manage cards package list
Definition: table_collection.h:42
virtual ~TableCollection()
Destructor.
Definition: table_collection.h:59