wait cursor su finestra foremost non piu' su taskwin
git-svn-id: svn://10.65.10.50/trunk@843 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
b082989fc2
commit
38167bd6fa
@ -637,11 +637,14 @@ bool TApplication::config()
|
||||
|
||||
void TApplication::set_cursor(bool w)
|
||||
{
|
||||
static int _count = 0;
|
||||
static int _count = 0;
|
||||
WINDOW ww = cur_win();
|
||||
if (ww == NULL_WIN) ww = TASK_WIN;
|
||||
|
||||
if (w)
|
||||
{
|
||||
if (_count == 0)
|
||||
::set_cursor(TASK_WIN, CURSOR_WAIT);
|
||||
::set_cursor(ww, CURSOR_WAIT);
|
||||
_count++;
|
||||
}
|
||||
else
|
||||
@ -652,7 +655,7 @@ void TApplication::set_cursor(bool w)
|
||||
yesnofatal_box("end_wait without matching begin_wait");
|
||||
#endif
|
||||
if (_count == 0)
|
||||
::set_cursor(TASK_WIN, CURSOR_ARROW);
|
||||
::set_cursor(ww, CURSOR_ARROW);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -459,7 +459,7 @@ const char* TPrintrow::row_codified() const
|
||||
}
|
||||
last_attr = _attr[i];
|
||||
}
|
||||
if (_cols[i] != last_color)
|
||||
if (_cols[i] != last_color && i < _row.len() - 1)
|
||||
{
|
||||
__tmp_string[k++] = '$';
|
||||
__tmp_string[k++] = '[';
|
||||
|
@ -225,7 +225,8 @@ bool TViswin::check_link (TPoint * p)
|
||||
ttt.restart ();
|
||||
strcpy (descr, ttt.get ());
|
||||
strcat (descr, t.get (3));
|
||||
_linktxt = t.get(3);
|
||||
_linktxt = t.get(3);
|
||||
if (_linktxt.len() > 40) _linktxt.cut(40);
|
||||
if (_multiple)
|
||||
{
|
||||
// get all parts of the same color
|
||||
|
Loading…
x
Reference in New Issue
Block a user