* editcmd.c (raw_callback): Use standard common_dialog_repaint()
to handle DLG_DRAW.
Этот коммит содержится в:
родитель
089a5523fd
Коммит
8275c2f5fd
@ -1,3 +1,8 @@
|
||||
2002-08-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editcmd.c (raw_callback): Use standard common_dialog_repaint()
|
||||
to handle DLG_DRAW.
|
||||
|
||||
2002-08-21 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editwidget.c (edit): Make edit_bar a local variable.
|
||||
|
@ -467,13 +467,7 @@ int raw_callback (struct Dlg_head *h, int key, int Msg)
|
||||
{
|
||||
switch (Msg) {
|
||||
case DLG_DRAW:
|
||||
attrset (REVERSE_COLOR);
|
||||
dlg_erase (h);
|
||||
draw_box (h, 1, 1, h->lines - 2, h->cols - 2);
|
||||
|
||||
attrset (COLOR_HOT_NORMAL);
|
||||
dlg_move (h, 1, 2);
|
||||
printw (h->title);
|
||||
common_dialog_repaint (h);
|
||||
break;
|
||||
|
||||
case DLG_KEY:
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user