CARDS 2.4.121
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
* Copyright 2017 - 2020 Thierry Nuttens <tnut@nutyx.org>
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 as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
* MA 02110-1301, USA.
22
*
23
*
24
*/
25
26
#ifndef TABLE_COLLECTION_H
27
#define TABLE_COLLECTION_H
28
29
#include "pixmaps/lxde.xpm"
30
#include "pixmaps/xfce.xpm"
31
#include "pixmaps/lxqt.xpm"
32
#include "pixmaps/mate.xpm"
33
#include "pixmaps/kde.xpm"
34
#include "pixmaps/gnome.xpm"
35
#include "table_base.h"
36
43
class
TableCollection
:
public
TableBase
44
{
45
public
:
52
TableCollection
(
int
x,
int
y,
int
w,
int
h,
const
char
*l=0);
53
60
virtual
~TableCollection
(){}
61
68
void
refresh_table
();
// Load the Collection list
69
protected
:
70
void
OnDrawCell(TableContext context,
int
R=0,
int
C=0,
int
X=0,
int
Y=0,
int
W=0,
int
H=0);
71
void
OnEvent(TableContext context,
int
pCol,
int
pRow);
72
};
73
74
#endif
TableCollection::TableCollection
TableCollection(int x, int y, int w, int h, const char *l=0)
Constructor.
Definition:
table_collection.cxx:30
TableBase
Definition:
table_base.h:79
TableCollection::~TableCollection
virtual ~TableCollection()
Destructor.
Definition:
table_collection.h:60
TableCollection
widget to manage cards package list
Definition:
table_collection.h:44
TableCollection::refresh_table
void refresh_table()
Populate the tab with package installed.
Definition:
table_collection.cxx:40
fltk
table_collection.h
Generated on Tue Aug 25 2020 06:11:42 for CARDS 2.4.121 by
1.8.19