39 #ifdef CHECK_MEMORY_LEAKS
41 #endif // CHECK_MEMORY_LEAKS
65 FXMDIMenu* mdimenu, const FXString& name,
67 FXuint opts, FXint x, FXint y, FXint w, FXint h) :
68 FXMDIChild(p, name, ic, mdimenu, opts, x, y, w, h),
70 myParent(parentWindow) {
74 new FXVerticalFrame(
this,
75 FRAME_SUNKEN | LAYOUT_SIDE_TOP | LAYOUT_FILL_X | LAYOUT_FILL_Y,
76 0, 0, 0, 0, 0, 0, 0, 0);
78 buildNavigationToolBar();
79 buildColoringToolBar();
80 buildScreenshotToolBar();
105 "\tRecenter View\tRecenter view to the simulated area.",
107 ICON_ABOVE_TEXT | BUTTON_TOOLBAR | FRAME_RAISED | LAYOUT_TOP | LAYOUT_LEFT);
110 "\tEdit Viewport...\tOpens a menu which lets you edit the viewport.",
112 ICON_ABOVE_TEXT | BUTTON_TOOLBAR | FRAME_RAISED | LAYOUT_TOP | LAYOUT_LEFT);
115 "\tToggles Zooming Style\tToggles whether zooming is based at cursor position or at the center of the view.",
117 BUTTON_NORMAL | LAYOUT_FIX_WIDTH | LAYOUT_FIX_HEIGHT,
119 zoomBut->
setChecked(getApp()->reg().readIntEntry(
"gui",
"zoomAtCenter", 1) != 1);
125 MENUBUTTON_RIGHT | LAYOUT_TOP | BUTTON_TOOLBAR | FRAME_RAISED | FRAME_THICK);
128 "\tToggles Tool Tips\tToggles whether tool tips shall be shown.",
130 BUTTON_NORMAL | LAYOUT_FIX_WIDTH | LAYOUT_FIX_HEIGHT,
147 FRAME_SUNKEN | LAYOUT_LEFT | LAYOUT_TOP | COMBOBOX_STATIC | LAYOUT_CENTER_Y);
150 "\tEdit Coloring Schemes...\tOpens a menu which lets you edit the coloring schemes.",
152 ICON_ABOVE_TEXT | BUTTON_TOOLBAR | FRAME_RAISED | LAYOUT_TOP | LAYOUT_LEFT);
164 "\tMake Snapshot\tMakes a snapshot of the view.",
166 ICON_ABOVE_TEXT | BUTTON_TOOLBAR | FRAME_RAISED | LAYOUT_TOP | LAYOUT_LEFT);
231 getApp()->reg().writeIntEntry(
"gui",
"zoomAtCenter",