本文整理汇总了C++中wxMoveEvent::Skip方法的典型用法代码示例。如果您正苦于以下问题:C++ wxMoveEvent::Skip方法的具体用法?C++ wxMoveEvent::Skip怎么用?C++ wxMoveEvent::Skip使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类wxMoveEvent
的用法示例。
在下文中一共展示了wxMoveEvent::Skip方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: GetParent
void GNC::GUI::StatusBarProgreso::OnMove(wxMoveEvent& event)
{
wxPoint esquinaInferiorDerecha = GetParent()->GetPosition();
esquinaInferiorDerecha.x += GetParent()->GetSize().x;
esquinaInferiorDerecha.y += GetParent()->GetSize().y;
event.Skip();
}
示例2: OnMove
void GLIShaders::OnMove(wxMoveEvent &event)
{
// Get the new position relative to the main window
positionOffset = GetPosition() - ste->GetPosition();
event.Skip();
}
示例3: OnMoveAround
void MainEmuFrame::OnMoveAround( wxMoveEvent& evt )
{
if( IsBeingDeleted() || !IsVisible() || IsIconized() ) return;
// Uncomment this when doing logger stress testing (and then move the window around
// while the logger spams itself)
// ... makes for a good test of the message pump's responsiveness.
if( EnableThreadedLoggingTest )
Console.Warning( "Threaded Logging Test! (a window move event)" );
// evt.GetPosition() returns the client area position, not the window frame position.
// So read the window's screen-relative position directly.
g_Conf->MainGuiPosition = GetScreenPosition();
// wxGTK note: X sends gratuitous amounts of OnMove messages for various crap actions
// like selecting or deselecting a window, which muck up docking logic. We filter them
// out using 'lastpos' here. :)
static wxPoint lastpos( wxDefaultCoord, wxDefaultCoord );
if( lastpos == evt.GetPosition() ) return;
lastpos = evt.GetPosition();
if( g_Conf->ProgLogBox.AutoDock )
{
g_Conf->ProgLogBox.DisplayPosition = GetRect().GetTopRight();
if( ConsoleLogFrame* proglog = wxGetApp().GetProgramLog() )
proglog->SetPosition( g_Conf->ProgLogBox.DisplayPosition );
}
evt.Skip();
}
示例4: onMove
void gcFrame::onMove(wxMoveEvent &event)
{
if (m_pCVarInfo && !IsMaximized())
m_pCVarInfo->onMove(GetPosition().x, GetPosition().y);
event.Skip();
}
示例5: OnMove
void NyqBench::OnMove(wxMoveEvent & e)
{
e.Skip();
if (!IsIconized() && !IsMaximized()) {
mLastSize.SetPosition(e.GetPosition());
}
}
示例6: OnMove
void AISTargetAlertDialog::OnMove( wxMoveEvent& event )
{
// Record the dialog position
g_ais_alert_dialog_x = GetPosition().x;
g_ais_alert_dialog_y = GetPosition().y;
event.Skip();
}
示例7: OnMove
void AISTargetQueryDialog::OnMove( wxMoveEvent& event )
{
// Record the dialog position
wxPoint p = event.GetPosition();
g_ais_query_dialog_x = p.x;
g_ais_query_dialog_y = p.y;
event.Skip();
}
示例8: OnMoving
void wxIFMFloatingWindowBase::OnMoving(wxMoveEvent &event)
{
wxIFMFloatingMoveEvent moveevt(
(event.GetEventType() == wxEVT_MOVE ? wxEVT_IFM_FLOATING_MOVE : wxEVT_IFM_FLOATING_MOVING),
this, event);
if( !GetIP()->ProcessPluginEvent(moveevt) )
event.Skip();
}
示例9: OnMove
void CWindowStateManager::OnMove(wxMoveEvent& event)
{
if (!m_pWindow->IsIconized() && !m_pWindow->IsMaximized())
{
m_lastWindowPosition = m_pWindow->GetPosition();
m_lastWindowSize = m_pWindow->GetClientSize();
}
event.Skip();
}
示例10: OnMove
void PopUpDSlide::OnMove( wxMoveEvent& event )
{
// Record the dialog position
wxPoint p = event.GetPosition();
g_detailslider_dialog_x = p.x;
g_detailslider_dialog_y = p.y;
event.Skip();
}
示例11:
void CM93DSlide::OnMove( wxMoveEvent& event )
{
// Record the dialog position
wxPoint p = event.GetPosition();
g_cm93detail_dialog_x = p.x;
g_cm93detail_dialog_y = p.y;
event.Skip();
}
示例12: OnMove
void GRIBUIDialog::OnMove( wxMoveEvent& event )
{
// Record the dialog position
wxPoint p = GetPosition();
pPlugIn->SetGribDialogX( p.x );
pPlugIn->SetGribDialogY( p.y );
event.Skip();
}
示例13: OnMove
void CCamFrame::OnMove(wxMoveEvent &event)
{
// We want to remember the size of the window if we are not maximised or minimised
if (!IsIconized() && !IsMaximized())
m_WndRect = GetRect();
// We want to skip the event even when we do have a FrameManager
event.Skip();
}
示例14: onMove
/* MainWindow::onMove
* Called when the window moves
*******************************************************************/
void MainWindow::onMove(wxMoveEvent& e) {
// Update window position settings, but only if not maximized
if (!IsMaximized()) {
mw_left = GetPosition().x;
mw_top = GetPosition().y;
}
e.Skip();
}
示例15: onMove
void LoginForm::onMove(wxMoveEvent &event)
{
if (m_bSavePos)
{
gc_login_x.setValue(GetPosition().x);
gc_login_y.setValue(GetPosition().y);
}
event.Skip();
}