mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* widget.h: Added a new function button_get_text.
* widget.c: Likewise.
This commit is contained in:
parent
ce99a5fc53
commit
e6a4ffaba1
@ -1,3 +1,8 @@
|
||||
2005-02-06 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* widget.h: Added a new function button_get_text.
|
||||
* widget.c: Likewise.
|
||||
|
||||
2005-02-06 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* achown.c (get_ownership): Simplified the code. Now it is
|
||||
|
@ -236,6 +236,12 @@ button_new (int y, int x, int action, int flags, const char *text,
|
||||
return b;
|
||||
}
|
||||
|
||||
const char *
|
||||
button_get_text (WButton *b)
|
||||
{
|
||||
return b->text;
|
||||
}
|
||||
|
||||
void
|
||||
button_set_text (WButton *b, const char *text)
|
||||
{
|
||||
|
@ -171,6 +171,7 @@ void gauge_set_value (WGauge *g, int max, int current);
|
||||
void gauge_show (WGauge *g, int shown);
|
||||
|
||||
/* Buttons */
|
||||
const char *button_get_text (WButton *b);
|
||||
void button_set_text (WButton *b, const char *text);
|
||||
|
||||
/* Listbox manager */
|
||||
|
Loading…
Reference in New Issue
Block a user