Added debug/style/widget render mode to the viewer menu in GTK. This allows
the viewer to set whether native or gfx-rendered widgets should be used. git-svn-id: svn://10.0.0.236/trunk@22607 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5816235d2a
commit
f5e311af18
@ -111,6 +111,10 @@ GtkItemFactoryEntry menu_items[] =
|
||||
{ "/Debug/Style/_Compatibility Mode", nsnull, nsnull, 0, "<Branch>" },
|
||||
{ "/Debug/Style/Compatibility Mode/Nav Quirks", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_NAV_QUIRKS_MODE, nsnull },
|
||||
{ "/Debug/Style/Compatibility Mode/Standard", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_STANDARD_MODE, nsnull },
|
||||
|
||||
{ "/Debug/Style/_Widget Render Mode", nsnull, nsnull, 0, "<Branch>" },
|
||||
{ "/Debug/Style/Widget Render Mode/Native", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_NATIVE_WIDGET_MODE, nsnull },
|
||||
{ "/Debug/Style/Widget Render Mode/Gfx", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_GFX_WIDGET_MODE, nsnull },
|
||||
#endif
|
||||
|
||||
{ "/_Tools", nsnull, nsnull, 0, "<Branch>" },
|
||||
|
||||
@ -61,6 +61,8 @@
|
||||
#define VIEWER_STANDARD_MODE 40043
|
||||
#define VIEWER_TABLE_INSPECTOR 40044
|
||||
#define VIEWER_IMAGE_INSPECTOR 40045
|
||||
#define VIEWER_NATIVE_WIDGET_MODE 40046
|
||||
#define VIEWER_GFX_WIDGET_MODE 40047
|
||||
|
||||
#define VIEWER_SELECT_STYLE_LIST 40500
|
||||
#define VIEWER_SELECT_STYLE_DEFAULT 40501
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user