I dont really see that this would have to use OpenGL to do it in the app: loop () but still with no result.
void app::Loop ( void )
{
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
glColor3f(1,0,0);
glBegin(GL_TRIANGLES);
glVertex3f(0, 0.5, 0);
glVertex3f(-1, -0.5, 0);
glVertex3f(1, -0.5, 0);
glEnd();
glLineWidth(5);
glColor3f(0,0,1);
glBegin(GL_LINES);
glVertex3f(0, 0.5, 0);
glVertex3f(-1, -0.5, 0);
glColor3f(0,1,0);
glVertex3f(-1, -0.5, 0);
glVertex3f(1, -0.5, 0);
glColor3f(1,1,0);
glVertex3f(1, -0.5, 0);
glVertex3f(0, 0.5, 0);
glEnd();
glPointSize(15);
glColor3f(1,1,1);
glBegin(GL_POINTS);
glVertex3f(0, 0, 0);
glEnd();
agk::Sync ( );
}