git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@459 c06c8d41-db1a-0410-9941-cceddc491573
UXBKTJSK6DEFSCQ4HB36YM6KVFGWYVCEORXIMOKQ3JZL4NNEOKGQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
22RFWMSJGG26Z2MQEEXGKVTFSTLREHQIG46WYOTMDRKI5YVMRNVAC
void enable_smart_cursor(bool cursor);bool is_smart_cursor_enabled();
void enable_smart_cursor(bool cursor);
bool is_smart_cursor_enabled();
static bool w32_smart_cursor = true;
}void enable_smart_cursor(bool cursor){ w32_smart_cursor = cursor;
}
void enable_smart_cursor(bool cursor)
{
w32_smart_cursor = cursor;
bool is_smart_cursor_enabled(){ return (w32_smart_cursor);}
bool is_smart_cursor_enabled()
return (w32_smart_cursor);
// we don't take our cues from Crawl. Cursor is shown// only on input.
// we don't take our cues from Crawl. Cursor is shown
// only on input.
_setcursortype_internal(curstype);
if (!w32_smart_cursor) _setcursortype_internal(curstype);
if (!w32_smart_cursor)
const bool oldValue = current_cursor; if (w32_smart_cursor) _setcursortype_internal(_NORMALCURSOR);
const bool oldValue = current_cursor;
if (w32_smart_cursor)
_setcursortype_internal(_NORMALCURSOR);
// DEBUG //fprintf(foo, "getch() returning %02x (%c)\n", key, key);
// DEBUG
//fprintf(foo, "getch() returning %02x (%c)\n", key, key);
if (w32_smart_cursor) _setcursortype_internal(oldValue);
_setcursortype_internal(oldValue);
bool oldValue = buffering;
const bool oldValue = buffering;
bool oldValue = current_cursor; _setcursortype_internal(_NORMALCURSOR);
bool oldValue = current_cursor;
#include "AppHdr.h"
cursor_control(bool cs) : cstate(cs) {
cursor_control(bool cs) : cstate(cs), smartcstate( is_smart_cursor_enabled() ) { enable_smart_cursor(false);
cursor_control(bool cs)
: cstate(cs), smartcstate( is_smart_cursor_enabled() )
enable_smart_cursor(false);
enable_smart_cursor(smartcstate);
bool smartcstate;
inline void enable_smart_cursor(bool) { }inline bool is_smart_cursor_enabled() { return (false); }
inline void enable_smart_cursor(bool) { }
inline bool is_smart_cursor_enabled() { return (false); }
inline void enable_smart_cursor(bool ) { }inline bool is_smart_cursor_enabled() { return (false); }
inline void enable_smart_cursor(bool ) { }