mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +00:00
Adjusted middle XYZ position
This commit is contained in:
parent
b4ea54da9c
commit
4cf9cfef94
1 changed files with 2 additions and 2 deletions
|
@ -2346,13 +2346,13 @@ void XYWnd::XY_DrawGrid(){
|
||||||
qglColor3fv( g_qeglobals.d_savedinfo.AxisColors[nDim1] );
|
qglColor3fv( g_qeglobals.d_savedinfo.AxisColors[nDim1] );
|
||||||
qglRasterPos2f( m_vOrigin[nDim1] - w + 57 / m_fScale, m_vOrigin[nDim2] + h - 60 / m_fScale );
|
qglRasterPos2f( m_vOrigin[nDim1] - w + 57 / m_fScale, m_vOrigin[nDim2] + h - 60 / m_fScale );
|
||||||
gtk_glwidget_print_char( g_AxisName[nDim1] );
|
gtk_glwidget_print_char( g_AxisName[nDim1] );
|
||||||
qglRasterPos2f( 28 / m_fScale, -10 / m_fScale );
|
qglRasterPos2f( 25 / m_fScale, -15 / m_fScale );
|
||||||
gtk_glwidget_print_char( g_AxisName[nDim1] );
|
gtk_glwidget_print_char( g_AxisName[nDim1] );
|
||||||
|
|
||||||
qglColor3fv( g_qeglobals.d_savedinfo.AxisColors[nDim2] );
|
qglColor3fv( g_qeglobals.d_savedinfo.AxisColors[nDim2] );
|
||||||
qglRasterPos2f( m_vOrigin[nDim1] - w + 30 / m_fScale, m_vOrigin[nDim2] + h - 30 / m_fScale );
|
qglRasterPos2f( m_vOrigin[nDim1] - w + 30 / m_fScale, m_vOrigin[nDim2] + h - 30 / m_fScale );
|
||||||
gtk_glwidget_print_char( g_AxisName[nDim2] );
|
gtk_glwidget_print_char( g_AxisName[nDim2] );
|
||||||
qglRasterPos2f( -10 / m_fScale, 28 / m_fScale );
|
qglRasterPos2f( -10 / m_fScale, 20 / m_fScale );
|
||||||
gtk_glwidget_print_char( g_AxisName[nDim2] );
|
gtk_glwidget_print_char( g_AxisName[nDim2] );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue