repo.or.cz
/
pmc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Drop -Werror
[pmc.git]
/
widget.h
blob
261379ed28933f8cb8d3a5743919f1d2ac686366
1
#ifndef _WIDGET_H
2
#define _WIDGET_H
3
4
typedef
struct
_widget
{
5
WINDOW
*
win
;
6
void
(*
redraw
)(
struct
_widget
);
7
void
*
pdata
;
8
int
xpos
;
9
int
width
;
10
}
widget_t
;
11
12
typedef
void
(*
bw_redraw
)(
WINDOW
*
w
,
void
*
pdata
,
int
width
);
13
14
15
16
#endif