コード例 #1
0
ファイル: uicurs.c プロジェクト: ABratovic/open-watcom-v2
void UIAPI uisetcursor( ORD row, ORD col, int typ, int attr )
{
    if( ( typ != UIData->cursor_type ) ||
        ( row != UIData->cursor_row ) ||
        ( col != UIData->cursor_col ) ||
        ( attr != UIData->cursor_attr ) ) {
        UIData->cursor_type = typ;
        UIData->cursor_row = row;
        UIData->cursor_col = col;
        if( attr != -1 ) {
            UIData->cursor_attr = attr;
        }
        newcursor();
    }
}
コード例 #2
0
ファイル: cdisp.c プロジェクト: Azarien/open-watcom-v2
static int cd_setcur( ORD row, ORD col, CURSOR_TYPE typ, int attr )
/*****************************************************************/
{
    attr = attr;
    if( ( typ != UIData->cursor_type ) ||
        ( row != UIData->cursor_row ) ||
        ( col != UIData->cursor_col ) ) {
        UIData->cursor_type = typ;
        UIData->cursor_row = row;
        UIData->cursor_col = col;
        newcursor();
        physupdate( NULL );
    }
    return( 0 );
}
コード例 #3
0
static int td_setcur( ORD row, ORD col, int typ, int attr )
/*********************************************************/
{
    attr = attr;

    if( ( typ != UIData->cursor_type ) ||
        ( row != UIData->cursor_row ) ||
        ( col != UIData->cursor_col ) ) {
        UIData->cursor_type = typ;
        UIData->cursor_row = row;
        UIData->cursor_col = col;
        newcursor();
        if( TermIsQNXTerm ) {
            td_hwcursor();
        } else {
            ti_hwcursor();
        }
    }
    return( 0 );
}
コード例 #4
0
ファイル: uicurs.c プロジェクト: ABratovic/open-watcom-v2
void UIAPI uiswapcursor( void )
{
    swapcursor();
    newcursor();
}
コード例 #5
0
ファイル: uicurs.c プロジェクト: Azarien/open-watcom-v2
void UIAPI uiswapcursor( void )
/******************************/
{
    swapcursor();
    newcursor();
}
コード例 #6
0
ファイル: uicurs.c プロジェクト: bhanug/open-watcom-v2
void UIDBG _uiswapcursor( void )
/******************************/
{
    swapcursor();
    newcursor();
}
コード例 #7
0
wxCursor EditTextTask::Start()
{
    m_done = false;
    wxCursor newcursor(wxCURSOR_IBEAM);
    return newcursor;
}