case ButtonEnumeration::LEFT: buttons |= RAD_LBUTTON; break;
case ButtonEnumeration::MIDDLE: buttons |= RAD_MBUTTON; break;
case ButtonEnumeration::RIGHT: buttons |= RAD_RBUTTON; break;
case ButtonEnumeration::LEFT: buttons |= RAD_LBUTTON; break;
case ButtonEnumeration::MIDDLE: buttons |= RAD_MBUTTON; break;
case ButtonEnumeration::RIGHT: buttons |= RAD_RBUTTON; break;
Shader* XYWnd::m_state_selected = 0;
void xy_update_xor_rectangle( XYWnd& self, rect_t area ){
Shader* XYWnd::m_state_selected = 0;
void xy_update_xor_rectangle( XYWnd& self, rect_t area ){
self.m_XORRectangle.set( rectangle_from_area( area.min, area.max, self.Width(), self.Height() ) );
}
}
self.m_XORRectangle.set( rectangle_from_area( area.min, area.max, self.Width(), self.Height() ) );
}
}
gtk_menu_item_set_submenu( item, GTK_WIDGET( submenu ) );
m_stack.push_back( MenuPair( submenu, name ) );
gtk_menu_item_set_submenu( item, GTK_WIDGET( submenu ) );
m_stack.push_back( MenuPair( submenu, name ) );
strncpy( fileNameWithoutExt, relative, sizeof( fileNameWithoutExt ) - 1 );
fileNameWithoutExt[512 - 1] = '\0';
fileNameWithoutExt[strlen( fileNameWithoutExt ) - 4] = '\0';
strncpy( fileNameWithoutExt, relative, sizeof( fileNameWithoutExt ) - 1 );
fileNameWithoutExt[512 - 1] = '\0';
fileNameWithoutExt[strlen( fileNameWithoutExt ) - 4] = '\0';
void XYWnd::XY_DrawGrid( void ) {
float x, y, xb, xe, yb, ye;
float w, h, a;
void XYWnd::XY_DrawGrid( void ) {
float x, y, xb, xe, yb, ye;
float w, h, a;
float step, minor_step, stepx, stepy;
step = minor_step = stepx = stepy = GetGridSize();
float step, minor_step, stepx, stepy;
step = minor_step = stepx = stepy = GetGridSize();
float x, y, xb, xe, yb, ye;
float w, h;
float x, y, xb, xe, yb, ye;
float w, h;