parent
089b7afacf
commit
36d8ca7954
|
@ -372,7 +372,7 @@ void EDA_3D_CANVAS::DoRePaint()
|
||||||
// !TODO: implement error reporter
|
// !TODO: implement error reporter
|
||||||
INFOBAR_REPORTER warningReporter( m_parentInfoBar );
|
INFOBAR_REPORTER warningReporter( m_parentInfoBar );
|
||||||
STATUSBAR_REPORTER activityReporter( m_parentStatusBar,
|
STATUSBAR_REPORTER activityReporter( m_parentStatusBar,
|
||||||
(int) EDA_3D_VIEWER_STATUSBAR::STATUS_TEXT );
|
(int) EDA_3D_VIEWER_STATUSBAR::ACTIVITY );
|
||||||
|
|
||||||
unsigned strtime = GetRunningMicroSecs();
|
unsigned strtime = GetRunningMicroSecs();
|
||||||
|
|
||||||
|
@ -710,7 +710,7 @@ void EDA_3D_CANVAS::OnMouseMove( wxMouseEvent& event )
|
||||||
( m_boardAdapter.GetRenderEngine() == RENDER_ENGINE::OPENGL_LEGACY ) )
|
( m_boardAdapter.GetRenderEngine() == RENDER_ENGINE::OPENGL_LEGACY ) )
|
||||||
{
|
{
|
||||||
STATUSBAR_REPORTER reporter( m_parentStatusBar,
|
STATUSBAR_REPORTER reporter( m_parentStatusBar,
|
||||||
static_cast<int>( EDA_3D_VIEWER_STATUSBAR::STATUS_TEXT ) );
|
static_cast<int>( EDA_3D_VIEWER_STATUSBAR::HOVERED_ITEM ) );
|
||||||
|
|
||||||
RAY mouseRay = getRayAtCurrrentMousePosition();
|
RAY mouseRay = getRayAtCurrrentMousePosition();
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ EDA_3D_VIEWER::EDA_3D_VIEWER( KIWAY *aKiway, PCB_BASE_FRAME *aParent, const wxSt
|
||||||
SetIcon( icon );
|
SetIcon( icon );
|
||||||
|
|
||||||
// Create the status line
|
// Create the status line
|
||||||
static const int status_dims[4] = { -1, 130, 130, 170 };
|
static const int status_dims[4] = { -1, 170, 130, 130 };
|
||||||
|
|
||||||
wxStatusBar *status_bar = CreateStatusBar( arrayDim( status_dims ) );
|
wxStatusBar *status_bar = CreateStatusBar( arrayDim( status_dims ) );
|
||||||
SetStatusWidths( arrayDim( status_dims ), status_dims );
|
SetStatusWidths( arrayDim( status_dims ), status_dims );
|
||||||
|
|
|
@ -54,9 +54,10 @@
|
||||||
|
|
||||||
enum EDA_3D_VIEWER_STATUSBAR
|
enum EDA_3D_VIEWER_STATUSBAR
|
||||||
{
|
{
|
||||||
STATUS_TEXT = 0,
|
ACTIVITY = 0,
|
||||||
|
HOVERED_ITEM,
|
||||||
X_POS,
|
X_POS,
|
||||||
Y_POS
|
Y_POS,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue