예제 #1
0
파일: interface.cpp 프로젝트: ibuclaw/cgdb
static int get_gdb_col(void)
{
    int result;

    switch (cur_split_orientation) {
        case WSO_HORIZONTAL:
            result = 0;
            break;
        case WSO_VERTICAL:
            result = get_sep_col() + get_sep_width();
            break;
    }

    return result;
}
예제 #2
0
static int get_gdb_col(void)
{
    if (cur_split_orientation == SPLIT_VERTICAL)
        return get_sep_col() + get_sep_width();
    return 0;
}