Changeset 6184 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Dec 25, 2007 5:42:01 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26954
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleView.h
r5999 r6184 81 81 void setMouseIntegrationEnabled (bool enabled); 82 82 83 bool isMouseAbsolute() const { return m ouse_absolute; }83 bool isMouseAbsolute() const { return mMouseAbsolute; } 84 84 85 85 void setAutoresizeGuest (bool on); … … 146 146 { 147 147 emit keyboardStateChanged ( 148 ( kbd_captured ? KeyboardCaptured : 0) |148 (mKbdCaptured ? KeyboardCaptured : 0) | 149 149 (mIsHostkeyPressed ? HostKeyPressed : 0)); 150 150 } 151 151 152 152 void emitMouseStateChanged() { 153 emit mouseStateChanged ((m ouse_captured ? MouseCaptured : 0) |154 (m ouse_absolute ? MouseAbsolute : 0) |155 (!m ouse_integration ? MouseAbsoluteDisabled : 0));153 emit mouseStateChanged ((mMouseCaptured ? MouseCaptured : 0) | 154 (mMouseAbsolute ? MouseAbsolute : 0) | 155 (!mMouseIntegration ? MouseAbsoluteDisabled : 0)); 156 156 } 157 157 … … 166 166 #endif 167 167 168 void captureKbd (bool capture, bool emit_signal = true);169 void captureMouse (bool capture, bool emit_signal = true);168 void captureKbd (bool aCapture, bool aEmitSignal = true); 169 void captureMouse (bool aCapture, bool aEmitSignal = true); 170 170 171 171 bool processHotKey (const QKeySequence &key, QMenuData *data); … … 179 179 void setPointerShape (MousePointerChangeEvent *me); 180 180 181 bool isPaused() { return last_state == CEnums::Paused; }182 bool isRunning() { return last_state == CEnums::Running; }181 bool isPaused() { return mLastState == CEnums::Paused; } 182 bool isRunning() { return mLastState == CEnums::Running; } 183 183 184 184 static void dimImage (QImage &img); … … 198 198 const VBoxGlobalSettings &gs; 199 199 200 CEnums::MachineState last_state;201 202 bool attached : 1;203 bool kbd_captured : 1;204 bool m ouse_captured : 1;205 bool m ouse_absolute : 1;206 bool m ouse_integration : 1;207 QPoint last_pos;208 QPoint captured_pos;200 CEnums::MachineState mLastState; 201 202 bool mAttached : 1; 203 bool mKbdCaptured : 1; 204 bool mMouseCaptured : 1; 205 bool mMouseAbsolute : 1; 206 bool mMouseIntegration : 1; 207 QPoint mLastPos; 208 QPoint mCapturedPos; 209 209 210 210 bool mDisableAutoCapture : 1; … … 217 217 bool mIsHostkeyAlone : 1; 218 218 219 /** kbd_captured value during the the last host key press or release */219 /** mKbdCaptured value during the the last host key press or release */ 220 220 bool hostkey_in_capture : 1; 221 221
Note:
See TracChangeset
for help on using the changeset viewer.