int main() { //const char *colorModelPath = "C:/Users/Robadob/Desktop/rothwell-wy-1.obj"; //Entity e(colorModelPath); //printf("fin"); //getchar(); Visualisation v = Visualisation("Visulisation Example", 1280, 720); EntityScene *scene = new EntityScene(v); v.run(); return 0; }
BOOL CLabelTestDlg::OnInitDialog() { CDialogEx::OnInitDialog(); GetDlgItem(IDC_BOXES_EDIT)->SetWindowText(std::to_wstring(m_boxCount).c_str()); GetDlgItem(IDC_BOX_HEIGHT_EDIT)->SetWindowText(std::to_wstring(m_boxHeight).c_str()); GetDlgItem(IDC_BOX_WIDTH_EDIT)->SetWindowText(std::to_wstring(m_boxWidth).c_str()); GetDlgItem(IDC_SPACING_EDIT)->SetWindowText(std::to_wstring(m_spacing).c_str()); m_brush = CreateSolidBrush(RGB(255, 255, 255)); CSliderCtrl* slider = (CSliderCtrl*)GetDlgItem(IDC_SLIDER); slider->SetRangeMax(1000); m_vis = Visualisation(this->GetDC()); return TRUE; // return TRUE unless you set the focus to a control }