1
1

* widget.h: Added a new function button_get_text.

* widget.c: Likewise.
Этот коммит содержится в:
Roland Illig 2005-02-06 23:08:02 +00:00
родитель ce99a5fc53
Коммит e6a4ffaba1
3 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -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 */