Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

void VBoxDbgGui::adjustRelativePos ( int  x,
int  y,
unsigned  cx,
unsigned  cy 
)

Notifies the debugger GUI that the console window (or whatever) has changed size or position.

Parameters:
x The x-coordinate of the window the debugger is relative to.
y The y-coordinate of the window the debugger is relative to.
cx The width of the window the debugger is relative to.
cy The height of the window the debugger is relative to.

Definition at line 194 of file VBoxDbgGui.cpp.

References m_cx, m_cy, m_x, m_y, repositionConsole(), repositionStatistics(), and updateDesktopSize().

{
    const bool fResize = cx != m_cx || cy != m_cy;
    const bool fMoved  = x  != m_x  || y  != m_y;

    m_x = x;
    m_y = y;
    m_cx = cx;
    m_cy = cy;

    if (fMoved)
        updateDesktopSize();
    repositionConsole(fResize);
    repositionStatistics(fResize);
}


Generated by  Doxygen 1.6.0   Back to index