mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-04 23:21:28 +03:00
* Removed transition support macros.
This commit is contained in:
parent
0d08e8308f
commit
a580664255
@ -2,8 +2,7 @@
|
||||
|
||||
* widget.h: Renamed define_label to buttonbar_set_label. Renamed
|
||||
define_label_data to buttonbar_set_label_data. Renamed
|
||||
redraw_labels to buttonbar_redraw. Provided compatibility macros
|
||||
to enable a smooth transition between the old and the new names.
|
||||
redraw_labels to buttonbar_redraw.
|
||||
* widget.c: Likewise.
|
||||
* help.c, main.c, screen.c, tree.v, view.c: Likewise.
|
||||
|
||||
|
@ -202,11 +202,8 @@ typedef void (*voidfn)(void);
|
||||
WButtonBar *buttonbar_new (int visible);
|
||||
WButtonBar *find_buttonbar (Dlg_head *h);
|
||||
void buttonbar_set_label (Dlg_head *, int index, const char *text, voidfn);
|
||||
#define define_label buttonbar_set_label
|
||||
void buttonbar_set_label_data (Dlg_head *h, int idx, const char *text,
|
||||
buttonbarfn cback, void *data);
|
||||
#define define_label_data buttonbar_set_label_data
|
||||
void buttonbar_redraw (Dlg_head *h);
|
||||
#define redraw_labels buttonbar_redraw
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user