EgtGraphics 2.1i2 :
- aggiunta a Scene funzione GetBackground.
This commit is contained in:
Binary file not shown.
@@ -80,6 +80,7 @@ class Scene : public IEGrScene
|
||||
bool RedrawWindow( void) override ;
|
||||
bool Resize( int nW, int nH) override ;
|
||||
bool SetBackground( Color colBackTop, Color colBackBottom) override ;
|
||||
bool GetBackground( Color& colBackTop, Color& colBackBottom) override ;
|
||||
bool Draw( void) override ;
|
||||
bool Project( const Point3d& ptWorld, Point3d& ptView) const override ;
|
||||
bool UnProject( const Point3d& ptView, Point3d& ptWorld) const override ;
|
||||
|
||||
@@ -543,6 +543,16 @@ Scene::SetBackground( Color colBackTop, Color colBackBottom)
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::GetBackground( Color& colBackTop, Color& colBackBottom)
|
||||
{
|
||||
colBackTop = m_colBackTop ;
|
||||
colBackBottom = m_colBackBottom ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::Background( void)
|
||||
|
||||
Reference in New Issue
Block a user