CARDS 2.4.121
Package manager for the NuTyX GNU/Linux distribution
table_package.h
1
/*
2
* table_package.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_PACKAGE_H
27
#define TABLE_PACKAGE_H
28
29
#include "table_base.h"
30
31
38
class
TablePackage
:
public
TableBase
39
{
40
public
:
47
TablePackage
(
int
x,
int
y,
int
w,
int
h,
const
char
*l=0);
48
55
virtual
~TablePackage
(){}
56
63
void
refresh_table
();
// Load the packages list
64
protected
:
65
void
OnDrawCell(TableContext context,
int
R=0,
int
C=0,
int
X=0,
int
Y=0,
int
W=0,
int
H=0);
66
void
OnEvent(TableContext context,
int
pCol,
int
pRow);
67
};
68
69
#endif
TablePackage::TablePackage
TablePackage(int x, int y, int w, int h, const char *l=0)
Constructor.
Definition:
table_package.cxx:30
TablePackage::refresh_table
void refresh_table()
Populate the tab with package installed.
Definition:
table_package.cxx:41
TableBase
Definition:
table_base.h:79
TablePackage
widget to manage cards package list
Definition:
table_package.h:39
TablePackage::~TablePackage
virtual ~TablePackage()
Destructor.
Definition:
table_package.h:55
fltk
table_package.h
Generated on Tue Aug 25 2020 06:11:42 for CARDS 2.4.121 by
1.8.19