Changeset 1969


Ignore:
Timestamp:
Oct 3, 2012, 10:37:08 PM (5 years ago)
Author:
sam
Message:

neercs: minor tweaks for the setup window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/video/render.cpp

    r1967 r1969  
    686686
    687687        /* informations */
    688         int w = caca_get_canvas_width(m_cv_setup);
    689         int h = caca_get_canvas_height(m_cv_setup);
     688        int w = caca_get_canvas_width(m_cv_screen);
     689        int h = caca_get_canvas_height(m_cv_screen);
    690690        caca_set_color_argb(m_cv_setup, 0xfff, 0x000);
    691691        caca_printf(m_cv_setup, 0, 0, "%i*%i", w, h);
     
    10601060    m_txt_screen->Blit(border, canvas_size);
    10611061    if (m_setup)
    1062         m_txt_setup->Blit(border, canvas_size);
     1062        m_txt_setup->Blit(border + canvas_size / 8,
     1063                          canvas_size - canvas_size / 4);
    10631064
    10641065    //if (m_polygon) glEnable(GL_LINE_SMOOTH); else glDisable(GL_LINE_SMOOTH);
Note: See TracChangeset for help on using the changeset viewer.