1 | /*---------------------------------------------------------------------------* |
1 | /*---------------------------------------------------------------------------* |
2 | * File: screen.C |
2 | * File: screen.C |
3 | *---------------------------------------------------------------------------* |
3 | *---------------------------------------------------------------------------* |
4 | * |
4 | * |
5 | * Copyright (c) 1997-2001 Geoff Wing <gcw@pobox.com> |
5 | * Copyright (c) 1997-2001 Geoff Wing <gcw@pobox.com> |
6 | * Copyright (c) 2003-2006 Marc Lehmann <pcg@goof.com> |
6 | * Copyright (c) 2003-2007 Marc Lehmann <pcg@goof.com> |
7 | * |
7 | * |
8 | * This program is free software; you can redistribute it and/or modify |
8 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
10 | * the Free Software Foundation; either version 2 of the License, or |
10 | * the Free Software Foundation; either version 2 of the License, or |
11 | * (at your option) any later version. |
11 | * (at your option) any later version. |
… | |
… | |
2319 | } |
2319 | } |
2320 | |
2320 | |
2321 | #ifdef TEXT_BLINK |
2321 | #ifdef TEXT_BLINK |
2322 | if (rend & RS_Blink && (back == Color_bg || fore == Color_bg)) |
2322 | if (rend & RS_Blink && (back == Color_bg || fore == Color_bg)) |
2323 | { |
2323 | { |
2324 | if (!ev_is_active (&text_blink_ev)) |
2324 | if (!text_blink_ev.is_active ()) |
2325 | { |
2325 | { |
2326 | text_blink_ev.again (); |
2326 | text_blink_ev.again (); |
2327 | hidden_text = 0; |
2327 | hidden_text = 0; |
2328 | } |
2328 | } |
2329 | else if (hidden_text) |
2329 | else if (hidden_text) |