VirtualBox

Ignore:
Timestamp:
May 29, 2009 9:00:58 AM (16 years ago)
Author:
vboxsync
Message:

GUI: added GUI/RenderMode extradata item to be able to overwrite the default render mode (useful mainly on Linux hosts)

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxDefs.h

    r20123 r20139  
    160160    static const char* GUI_LastVMSelected;
    161161    static const char* GUI_InfoDlgState;
     162    static const char* GUI_RenderMode;
    162163#ifdef VBOX_GUI_WITH_SYSTRAY
    163164    static const char* GUI_TrayIconWinID;
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxDefs.cpp

    r20123 r20139  
    4545const char* VBoxDefs::GUI_LastVMSelected = "GUI/LastVMSelected";
    4646const char* VBoxDefs::GUI_InfoDlgState = "GUI/InfoDlgState";
     47const char* VBoxDefs::GUI_RenderMode = "GUI/RenderMode";
    4748#ifdef VBOX_GUI_WITH_SYSTRAY
    4849const char* VBoxDefs::GUI_TrayIconWinID = "GUI/TrayIcon/WinID";
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp

    r20123 r20139  
    45984598    /* process command line */
    45994599
    4600     vm_render_mode_str = 0;
     4600    vm_render_mode_str = RTStrDup (virtualBox()
     4601            .GetExtraData (VBoxDefs::GUI_RenderMode).toAscii().constData());
     4602
    46014603#ifdef VBOX_WITH_DEBUGGER_GUI
    46024604# ifdef VBOX_WITH_DEBUGGER_GUI_MENU
     
    47004702    }
    47014703
    4702     vm_render_mode = vboxGetRenderMode( vm_render_mode_str );
     4704    vm_render_mode = vboxGetRenderMode (vm_render_mode_str);
    47034705
    47044706    /* setup the callback */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette