DataDirector API
designer.h
1 // generated by Fast Light User Interface Designer (fluid) version 1.0108
2 
3 #ifndef designer_h
4 #define designer_h
5 #include <FL/Fl.H>
6 #include <FL/Fl_Check_Button.H>
7 #include "editor_util.h"
8 #include "editor.h"
9 #include "Flg_DockableSystem.h"
10 #include "Flg_HighlightBox.h"
11 #include "document_tabs_class.h"
12 #include "Flg_Tile.h"
13 #include "single_con_prop_table_editor.h"
14 #include "Fl_Text_Editor_Disti.H"
15 extern int CodeBrowserBoddyTabInputCb(int c, Fl_Text_Editor* e);
16 extern int CodeBrowserBoddyIgnoreInputCb(int c, Fl_Text_Editor* e);
17 #include <FL/Fl_Double_Window.H>
18 extern Fl_Double_Window *designer;
19 #include <FL/Fl_Box.H>
20 extern Fl_Box *BackgroundBox;
21 #include <FL/Fl_Menu_Bar.H>
22 extern Fl_Menu_Bar *MainMenu;
23 #include <FL/Fl_Group.H>
24 extern Fl_Group *layoutGroup;
25 extern void SaveState(Fl_Button*, long);
26 extern Fl_Button *SaveLayoutButton;
27 #include <FL/Fl_Input_Choice.H>
28 extern void ChangeStateCb(Fl_Input_Choice*, void*);
29 extern Fl_Input_Choice *layoutChoiceWidget;
30 extern void RestoreStateCb(Fl_Button*, long);
31 extern Fl_Button *LoadLayoutButton;
32 extern void LayoutConfigCb(Fl_Button*, long);
33 extern Fl_Button *LayoutConfig;
34 extern Fl_Group *StandardTools;
35 #include <FL/Fl_Pack.H>
36 extern Fl_Pack *StandardPack;
37 #include <FL/Fl_Button.H>
38 extern Fl_Button *NewButton;
39 extern Fl_Button *OpenButton;
40 extern Fl_Button *SaveButton;
41 extern Fl_Button *SaveAllButton;
42 extern Fl_Button *GenerateCurrentButton;
43 extern Fl_Button *DeleteButton;
44 extern Fl_Button *CopyButton;
45 extern Fl_Button *PasteButton;
46 extern Fl_Button *editorLogButton;
47 #include <FL/Fl_Output.H>
48 extern Fl_Output *StatusText;
49 #include <FL/Fl_Tabs.H>
50 extern void TabSelectionChanged(Fl_Tabs*, void*);
51 extern Fl_Tabs *DesignerTabs;
52 extern Fl_Group *EditorLogWindow;
53 #include <FL/Fl_Browser.H>
54 extern void LogBrowserReleaseCb(Fl_Browser*, void*);
55 extern Fl_Browser *editorConsoleBrowser;
56 extern Fl_Group *editorConsoleBrowserButtonGroup;
57 extern void EditorLogWindowSaveAsCb(Fl_Button*, void*);
58 extern void EditorLogWindowClearCb(Fl_Button*, void*);
59 extern void EditorLogWindowDismissCb(Fl_Button*, void*);
60 extern void EditorLogWindowCopyCb(Fl_Button*, void*);
61 extern Fl_Group *GeometryTab;
62 #include "object_browser.h"
63 extern void HierarchyBrowserCb(disti::ObjectBrowser*, long);
64 extern disti::ObjectBrowser *HierarchyBrowser;
65 extern Fl_Group *CodeBrowserGroup;
66 extern Fl_Box *CodeBrowserGroupBG;
67 #include "code_browser.h"
68 extern void CodeBrowserCb(disti::CodeObjectBrowser*, long);
69 extern disti::CodeObjectBrowser *CodeBrowser;
70 extern Flg_Tile *CodeBrowserBottomGroup;
71 extern Fl_Group *CodeBrowserStandardEntry;
72 extern Fl_Box *CodeBrowserOpenBraceBox;
73 extern Fl_Box *CodeBrowserCloseBraceBox;
74 #include <FL/Fl_Check_Button.H>
75 extern void CodeBrowserGenerateBodyCb(Fl_Check_Button*, void*);
76 extern Fl_Check_Button *CodeBrowserGenerateBody;
77 extern void CodeBrowserInsertPredefinedCodeCb(Fl_Button*, void*);
78 extern Fl_Button *CodeBrowserInsertPredefinedCode;
79 extern void CodeBrowserBodyScrollInputCb(Fl_Text_Editor_Disti*, void*);
80 extern Fl_Text_Editor_Disti *CodeBrowserBodyInput;
81 extern Fl_Group *CodeBrowserPropertyEntry;
82 #include <FL/Fl_Input.H>
83 extern void CodeBrowserBodyCb(Fl_Input*, void*);
84 extern Fl_Input *CodeBrowserMemberVariableNameInput;
85 extern void CodeBrowserUpdateCheckButtonCb(Fl_Check_Button*, void*);
86 extern Fl_Check_Button *CodeBrowserMemberVariableToggle;
87 extern void CodeBrowserVariablePPPCb(Fl_Button*, void*);
88 extern Fl_Button *CodeBrowserVariablePPPButton;
89 extern Fl_Input *CodeBrowserPropertyRangeInput;
90 extern void CodeBrowserValueRangeButtonCb(Fl_Button*, void*);
91 extern Fl_Button *CodeBrowserPropertyRangeButton;
92 extern Fl_Input *CodeBrowserPropertyPresetsInput;
93 extern void CodeBrowserUpdateButtonCb(Fl_Button*, void*);
94 extern Fl_Button *CodeBrowserFillInToggle;
95 extern Fl_Text_Editor_Disti *CodeBrowserSetMethodBodyInput;
96 extern Fl_Input *CodeBrowserSetMethodNameInput;
97 extern Fl_Check_Button *CodeBrowserSetMethodToggle;
98 extern Fl_Output *CodeBrowserSetMethodDetail;
99 extern void CodeBrowserSetPPPCb(Fl_Button*, void*);
100 extern Fl_Button *CodeBrowserSetPPPButton;
101 extern Fl_Text_Editor_Disti *CodeBrowserGetMethodBodyInput;
102 extern Fl_Check_Button *CodeBrowserGetMethodToggle;
103 extern Fl_Input *CodeBrowserGetMethodNameInput;
104 extern Fl_Output *CodeBrowserGetMethodDetail;
105 extern void CodeBrowserGetPPPCb(Fl_Button*, void*);
106 extern Fl_Button *CodeBrowserGetPPPButton;
107 extern void CodeBrowserPropertyGenerateBodiesCb(Fl_Check_Button*, void*);
108 extern Fl_Check_Button *CodeBrowserPropertyGenerateBodies;
109 extern Fl_Box *CodeBrowserOpenParenBox;
110 extern Fl_Box *CodeBrowserCloseParenBox;
111 extern Fl_Input *CodeBrowserTypeInput;
112 extern Fl_Input *CodeBrowserNameInput;
113 extern Fl_Input *CodeBrowserArgsInput;
114 extern Fl_Group *CodeBrowserCommentGroup;
115 #include <FL/Fl_Text_Editor.H>
116 extern void CodeBrowserCommentInputCb(Fl_Text_Editor*, void*);
117 extern Fl_Text_Editor *CodeBrowserCommentInput;
118 extern disti::MultipleSelectionConfirmButton *CodeBrowserBottomGroupMS;
119 extern void ApplicationTabSelected(Fl_Pack*, void*);
120 extern Fl_Pack *ApplicationTab;
121 extern void ApplicationTabChangedInput(Fl_Input*, void*);
122 extern Fl_Input *WindowTitleInput;
123 extern void WindowPropInitialPosXChanged(Fl_Input*, void*);
124 extern Fl_Input *FormXInput;
125 extern void WindowPropInitialPosYChanged(Fl_Input*, void*);
126 extern Fl_Input *FormYInput;
127 extern void WindowPropInitialWidthChanged(Fl_Input*, void*);
128 extern Fl_Input *FormWidthInput;
129 extern void WindowPropInitialHeightChanged(Fl_Input*, void*);
130 extern Fl_Input *FormHeightInput;
131 extern void WindowPropMaxWidthChanged(Fl_Input*, void*);
132 extern Fl_Input *FormMaxWidthInput;
133 extern void WindowPropMaxHeightChanged(Fl_Input*, void*);
134 extern Fl_Input *FormMaxHeightInput;
135 extern void WindowPropMinWidthChanged(Fl_Input*, void*);
136 extern Fl_Input *FormMinWidthInput;
137 extern void WindowPropMinHeightChanged(Fl_Input*, void*);
138 extern Fl_Input *FormMinHeightInput;
139 #include <FL/Fl_Choice.H>
140 extern void FrameBufferChoiceChanged(Fl_Choice*, void*);
141 extern Fl_Choice *FrameBufferChoice;
142 extern void ApplicationTabChangedCrossButton(Fl_Check_Button*, void*);
143 extern Fl_Check_Button *WindowHasBorderButton;
144 extern Fl_Check_Button *WindowResizableButton;
145 extern Fl_Check_Button *StencilBufferButton;
146 extern Fl_Check_Button *DepthBufferButton;
147 extern Fl_Check_Button *MultisampleBufferButton;
148 extern Fl_Check_Button *AccumulationBufferButton;
149 extern Fl_Check_Button *AlphaBufferButton;
150 extern Fl_Check_Button *FullScreenButton;
151 extern Fl_Check_Button *ViewCullingButton;
152 #include <FL/Fl_Round_Button.H>
153 extern void ApplicationTabChangedRoundButton(Fl_Round_Button*, void*);
154 extern Fl_Round_Button *OrthoButton;
155 extern Fl_Round_Button *PerspectiveButton;
156 extern Fl_Round_Button *EyePointButton;
157 extern void PopulateEyePointMenuCb(Dynamic_Fl_Choice*,void*);
158 extern void ApplicationTabChangedEyeChoice(Dynamic_Fl_Choice*, void*);
159 extern Dynamic_Fl_Choice *InitialEyePointChoice;
160 extern Fl_Round_Button *OnExposeButton;
161 extern Fl_Round_Button *ConstantAnimationButton;
162 extern Fl_Input *FrameRateInput;
163 extern Fl_Round_Button *ContinuousAnimationButton;
164 extern void GenerationTabSelected(Fl_Group*, void*);
165 extern Fl_Group *GenerationTab;
166 extern Fl_Group *CommonSettings;
167 extern void RootNameInputChanged(Fl_Input*, void*);
168 extern Fl_Input *RootNameInput;
169 extern void FillInToggleChanged(Fl_Button*, void*);
170 extern Fl_Button *RootNameFillInToggle;
171 extern void GenerationTabChangedChoice(Fl_Choice*, void*);
172 extern Fl_Choice *GenerationModeChoice;
173 extern void GenerationTabChangedInput(Fl_Input*, void*);
174 extern Fl_Input *DerivedClassInput;
175 extern Fl_Input *CodeOutputPathInput;
176 extern void GenerationTabChangedCrossButton(Fl_Check_Button*, void*);
177 extern Fl_Check_Button *GenerateCommentsButton;
178 extern Fl_Tabs *GenerationSubTab;
179 extern Fl_Group *StandaloneTab;
180 extern Fl_Input *StandaloneDerivedClassInstanceInput;
181 extern Fl_Input *StandaloneHeaderFileInput;
182 extern Fl_Input *StandaloneSourceFileInput;
183 extern Fl_Check_Button *StandaloneGenerateSeparateMainButton;
184 extern Fl_Input *StandaloneMainFileInput;
185 extern Fl_Group *ComponentTab;
186 extern Fl_Check_Button *ComponentUserBaseButton;
187 extern Fl_Input *ComponentUserDefinedClassInput;
188 extern Fl_Input *ComponentUserDefinedInitInput;
189 extern Fl_Input *ComponentHeaderFileInput;
190 extern Fl_Input *ComponentSourceFileInput;
191 extern Fl_Group *XWindowsFrameTab;
192 extern Fl_Input *XWindowsDerivedClassInstanceInput;
193 extern Fl_Input *XWindowsHeaderFileInput;
194 extern Fl_Input *XWindowsSourceFileInput;
195 extern void ResourcesTabSelectionChanged(Flg_Tabs*, void*);
196 extern Flg_Tabs *ResourcesTab;
197 extern Fl_Group *FontsTab;
198 extern Fl_Browser *AdditionalFontBrowser;
199 extern void AddFontCb(Fl_Button*, void*);
200 extern Fl_Button *AddFontButton;
201 extern void RemoveFontCb(Fl_Button*, void*);
202 extern Fl_Button *RemoveFontButton;
203 extern Fl_Browser *ReferencedFontBrowser;
204 extern Fl_Input *fontFamily;
205 extern Fl_Button *familyPulldown;
206 extern Fl_Browser *familyBrowser;
207 extern Fl_Input *fontStyle;
208 extern Fl_Button *stylePulldown;
209 extern Fl_Browser *styleBrowser;
210 extern Fl_Input *fontSize;
211 extern Fl_Button *sizePulldown;
212 extern Fl_Browser *sizeBrowser;
213 extern Fl_Group *SoundsTab;
214 extern Fl_Browser *SoundsBrowser;
215 extern void AddSoundsCb(Fl_Button*, void*);
216 extern void PlaySoundsCb(Fl_Button*, void*);
217 extern void RemoveSoundsCb(Fl_Button*, void*);
218 extern Fl_Group *TexturesTab;
219 #include "texture_browser.h"
220 extern void ResourcesTextureCb(disti::TexturePaletteBrowser*, void*);
221 extern disti::TexturePaletteBrowser *ResourcesTextureBrowser;
222 extern Fl_Output *ResourcesTextureFilename;
223 extern void GenerateImageInlineCb(Fl_Check_Button*, void*);
224 extern Fl_Check_Button *GenerateInlineButton;
225 extern void ResourcesSelectAllTexturesButtonCb(Fl_Button*, void*);
226 #include <FL/Fl_Slider.H>
227 extern void ImageGeneratedSizeCb(Fl_Slider*, void*);
228 extern Fl_Slider *GeneratedTexDownsizeSlider;
229 extern Fl_Output *GeneratedTexDownsizeOutput;
230 extern void ImageCompressionTypeCb(Fl_Choice*, void*);
231 extern Fl_Choice *TextureCompressionChoice;
232 #include <FL/Fl_Value_Slider.H>
233 extern void ImageQualityCb(Fl_Value_Slider*, void*);
234 extern Fl_Value_Slider *TextureQualityChoice;
235 extern Fl_Output *SourceImageWidthOutput;
236 extern Fl_Output *SourceImageHeightOutput;
237 extern Fl_Output *SourceTextureSizeInMemory;
238 extern Fl_Output *GeneratedImageWidthOutput;
239 extern Fl_Output *GeneratedImageHeightOutput;
240 extern Fl_Output *GeneratedTextureSizeOnDisk;
241 extern Fl_Output *GeneratedTextureSizeInMemory;
242 extern void UseGLTextureCompressionCb(Fl_Check_Button*, void*);
243 extern Fl_Check_Button *UseGLTextureCompressionButton;
244 extern void ResourceReplaceTextureCb(Fl_Button*, void*);
245 extern Fl_Button *ResourceReplaceTextureButton;
246 extern void ResourceRemoveTextureCb(Fl_Button*, void*);
247 extern Fl_Button *ResourceRemoveTextureButton;
248 extern void AddTextureCb(Fl_Button*, void*);
249 extern Fl_Button *ResourceAddTextureButton;
250 extern void ResourceReloadTextureCb(Fl_Button*, void*);
251 extern Fl_Button *ResourceReloadTextureButton;
252 extern void ResourceInvertAlphaButtonCb(Fl_Check_Button*, void*);
253 extern Fl_Check_Button *ResourceInvertAlphaButton;
254 extern void RuntimeAttributesChangedCb(Fl_Check_Button*, void*);
255 extern Fl_Check_Button *AABasicButton;
256 extern Fl_Check_Button *AADynamicButton;
257 extern Fl_Check_Button *AAAppearanceButton;
258 extern Fl_Check_Button *AAGeometryButton;
259 extern Fl_Check_Button *AASpecializedButton;
260 extern Fl_Group *dockableSystemGroup;
261 extern Flg_DockableSystem *mainTile;
262 extern Fl_Group *findMeAHome;
263 extern Flg_HighlightBox *highlightBox;
264 extern void DocumentTabsCb(DocumentTabsClass*, void*);
265 extern DocumentTabsClass *documentTabs;
266 extern void MoveDocumentSelectionButtonCb(Fl_Button*, long);
267 extern Fl_Button *moveDocumentSelectionLeftButton;
268 extern Fl_Button *moveDocumentSelectionRightButton;
269 extern void CloseDocumentButtonCb(Fl_Button*, long);
270 extern Fl_Button *closeDocumentButton;
271 extern Fl_Pack *ToolBarContainer;
272 extern Fl_Double_Window *Properties;
273 extern Fl_Tabs *PropertiesTabs;
274 extern Fl_Group *AppearanceTab;
275 extern Fl_Tabs *TextureMaterialTabs;
276 extern Fl_Group *LocationTab;
277 extern Fl_Group *TabStorageGroup;
278 extern Fl_Double_Window *Preferences;
279 extern void PreferencesOKCb(Fl_Button*, long);
280 extern Fl_Button *PreferencesOK;
281 extern void PreferencesCancelCb(Fl_Button*, long);
282 extern Fl_Button *PreferencesCancelButton;
283 extern Fl_Tabs *PreferencesTabs;
284 extern Fl_Group *EditorTab;
285 extern void AutosaveButtonCb(Fl_Check_Button*, void*);
286 extern Fl_Check_Button *AutosaveButton;
287 #include <FL/Fl_Counter.H>
288 extern Fl_Counter *AutosaveValue;
289 extern Fl_Check_Button *EnableTooltipsButton;
290 extern Fl_Check_Button *EnableStatementCompletionButton;
291 extern Fl_Check_Button *FileBrowseSelectsAbsPathButton;
292 extern void DisplayConsoleWindowButtonCb(Fl_Check_Button*, void*);
293 extern Fl_Check_Button *DisplayConsoleWindowButton;
294 extern Fl_Choice *DefaultGeometryProtectionModeChoice;
295 extern Fl_Choice *DefaultMethodProtectionModeChoice;
296 extern Fl_Choice *DefaultVariableProtectionModeChoice;
297 extern Fl_Input *UndoHistoryItems;
298 extern Fl_Input *EditorLogNumLines;
299 extern Fl_Choice *RotationPointImageChoice;
300 extern Fl_Input *FontPath;
301 extern Fl_Group *DocumentTab;
302 extern Fl_Check_Button *ShowGridButton;
303 extern Fl_Check_Button *SnapToButton;
304 extern Fl_Check_Button *ShowAxesButton;
305 #include "color_button.h"
306 extern void SetGridColorCb(disti::ColorButtonClass*, void*);
307 extern disti::ColorButtonClass *GridColorButton;
308 extern void SetAxesColorCb(disti::ColorButtonClass*, void*);
309 extern disti::ColorButtonClass *AxesColorButton;
310 extern void SetBackgroundColorCb(disti::ColorButtonClass*, void*);
311 extern disti::ColorButtonClass *BackgroundColorButton;
312 extern Fl_Input *GridSpacingInput;
313 extern Fl_Output *SettingPaletteFilenameOutput;
314 extern void SettingPaletteFileBrowseCb(Fl_Button*, void*);
315 extern void SettingPaletteFileClearCb(Fl_Button*, void*);
316 extern void SettingPaletteFileEditColorsCb(Fl_Button*, void*);
317 extern Fl_Check_Button *PreviewAnimationButton;
318 extern void EnablePropEventsButtonClicked(Fl_Check_Button*, long);
319 extern Fl_Check_Button *EnablePropertyEventsButton;
320 extern Fl_Double_Window *LineThickness;
321 extern void LineThicknessApplyCb(Fl_Button*, long);
322 extern Fl_Button *LineThicknessApply;
323 extern void LineThicknessOKCb(Fl_Button*, long);
324 extern Fl_Button *LineThicknessOK;
325 extern void LineThicknessCancelCb(Fl_Button*, long);
326 extern Fl_Button *LineThicknessCancel;
327 #include "properties.h"
328 extern disti::LineThicknessWindow *LineThicknessCanvas;
329 extern disti::LineStyleWindow *LineStyleCanvas;
330 extern Fl_Double_Window *RotateWindow;
331 extern void AngleInputCb(Fl_Input*, void*);
332 extern Fl_Input *AngleInput;
333 extern void RotatePreviewButtonCb(Fl_Check_Button*, void*);
334 extern Fl_Check_Button *RotatePreviewButton;
335 #include <FL/Fl_Return_Button.H>
336 extern void RotateOKButtonCb(Fl_Return_Button*, void*);
337 extern Fl_Return_Button *RotateOKButton;
338 extern void RotateCancelButtonCb(Fl_Button*, void*);
339 extern Fl_Button *RotateCancelButton;
340 extern Fl_Double_Window *MISCELLANEOUS_MENUS;
341 #include <FL/Fl_Menu_Button.H>
342 extern Fl_Menu_Button *ObjectContextMenu;
343 extern Fl_Menu_Button *StandardContextMenu;
344 extern Fl_Menu_Button *CodeContextMenu;
345 extern Fl_Menu_Button *VertexEditMenu;
346 extern void AddVertex(Fl_Menu_*, void*);
347 extern void DeleteVertex(Fl_Menu_*, void*);
348 extern Fl_Button *AttrConnCatExpandedIcon;
349 extern Fl_Button *AttrConnCatCollapsedIcon;
350 extern Fl_Button *DockableCloseIcon;
351 extern Fl_Menu_Button *SelectByTypeMenu;
352 extern Fl_Double_Window *ExtrudeWindow;
353 extern Fl_Check_Button *ExtrudeByWidth;
354 extern Fl_Check_Button *ExtrudeByHeight;
355 extern Fl_Check_Button *ExtrudeRealValue;
356 extern Fl_Input *ExtrusionAmount;
357 extern void ExtrudeOkButtonCb(Fl_Button*, void*);
358 extern Fl_Button *ExtrudeOkButton;
359 extern void ExtrudeCancelButtonCb(Fl_Button*, void*);
360 extern Fl_Button *ExtrudeCancelButton;
361 extern Fl_Double_Window *HelpWindow;
362 extern Fl_Menu_Bar *HelpMenuBar;
363 extern Fl_Group *HelpTools;
364 extern Fl_Button *PreviousButton;
365 extern Fl_Button *NextButton;
366 extern Fl_Button *BackButton;
367 extern Fl_Button *ForwardButton;
368 extern Fl_Button *StopButton;
369 extern Fl_Button *RefreshButton;
370 extern Fl_Button *HomeButton;
371 extern Fl_Tabs *HelpTab;
372 extern Fl_Group *TabContents;
373 #include"Fl_Help.H"
374 extern Fl_Simple_Html *ContentsBrowser;
375 extern Fl_Group *TabIndex;
376 extern Fl_Simple_Html *IndexBrowser;
377 extern Fl_Group *TabSearch;
378 extern Fl_Input *SearchInput;
379 extern Fl_Return_Button *SearchButton;
380 extern Fl_Simple_Html *SearchBrowser;
381 extern Fl_Simple_Html *DisplayBrowser;
382 extern Fl_Double_Window *DocumentInfoWindow;
383 extern Fl_Output *ObjectCountOutput;
384 extern Fl_Output *SelectedObjectCountOutput;
385 extern Fl_Output *PolygonCountOutput;
386 extern Fl_Output *SelectedPolygonCountOutput;
387 extern Fl_Output *GroupCountOutput;
388 extern Fl_Output *SelectedGroupCountOutput;
389 extern Fl_Output *VertexCountOutput;
390 extern Fl_Output *SelectedVertexCountOutput;
391 extern Fl_Output *ComponentCountOutput;
392 extern Fl_Output *SelectedComponentCountOutput;
393 extern Fl_Output *TextureCountOutput;
394 extern Fl_Output *TextureMemoryOutput;
395 extern Fl_Output *TextureBandwidthOutput;
396 extern Fl_Output *FontCountOutput;
397 extern Fl_Output *FontTextureMemoryOutput;
398 extern Fl_Output *FontTextureBandwidthOutput;
399 extern void DocumentInfoOKButtonCb(Fl_Return_Button*, void*);
400 extern Fl_Double_Window *HelpAboutWindow;
401 extern Fl_Output *AboutLine1;
402 extern Fl_Output *AboutLine3;
403 extern Fl_Output *AboutLine2;
404 extern Fl_Output *AboutLine4;
405 extern Fl_Double_Window *PropertiesTableWindow;
406 extern Fl_Group *propertiesTableGroup;
407 #include "properties_table_editor.h"
408 extern disti::PropertiesTableEditor *propertiesTable;
409 extern void PropertyTableGroupingChoiceCb(Fl_Choice*, void*);
410 extern void PropertyTableFilterCheckCb(Fl_Check_Button*, void*);
411 extern void PropertyTableFilterStringCb(Fl_Input*, void*);
412 extern Fl_Input *propertiesTableFilterStringInput;
413 #include <FL/Fl_Text_Display.H>
414 extern Fl_Text_Display *PropertyTableDescriptionText;
415 extern Fl_Double_Window *PluginManagerWindow;
416 extern void ClosePluginManager(Fl_Button*, void*);
417 extern Fl_Browser *PluginBrowser;
418 extern Fl_Double_Window *ColorChooserWindow;
419 extern Fl_Group *ColorTab;
420 #include <FL/Fl_Scroll.H>
421 extern Fl_Scroll *ColorPropertiesScroll;
422 extern Fl_Pack *ColorPropertiesScrollPack;
423 extern void PropertiesColorTypeTabChangeCb(Fl_Tabs*, void*);
424 extern Fl_Tabs *ColorTypeTabs;
425 extern Fl_Group *ColorTypeStandardTab;
426 #include "FL/Fl_Color_Chooser_A.H"
427 extern void PropertiesColorChooserCb(Fl_Color_Chooser_A*, void*);
428 extern Fl_Color_Chooser_A *PropertiesColorChooser;
429 extern void PropertiesAddColorSwatchCb(Fl_Button*, void*);
430 extern void PropertiesDeleteColorSwatchCb(Fl_Button*, void*);
431 #include "color_browser.h"
432 extern void PropertiesColorSwatchBrowserCb(disti::ColorPaletteBrowser*, void*);
433 extern disti::ColorPaletteBrowser *ColorSwatchBrowser;
434 extern Fl_Group *ColorTypeLinkedTab;
435 extern void PropertiesProjectPaletteColorBrowserCb(disti::ColorPaletteBrowser*, void*);
436 extern disti::ColorPaletteBrowser *ProjectPaletteColorBrowser;
437 extern Fl_Button *ColorChooserChangePaletteButton;
438 extern Fl_Output *ColorChooserPaletteFilenameOutput;
439 #include "FL/Fl_Color_Button.H"
440 extern Fl_Color_Button *PropertiesCurrentColorButton;
441 extern Fl_Output *PropertiesCurrentLinkedColorOutput;
442 extern Fl_Button *ColorChooserOKButton;
443 extern Fl_Button *ColorChooserCancelButton;
444 extern Fl_Double_Window *SplashWindow;
445 extern Fl_Output *SplashLine3;
446 extern Fl_Output *SplashLine2;
447 extern Fl_Output *SplashLine1;
448 extern Fl_Double_Window *ToolTrayContainerWindow;
449 extern Fl_Group *ToolBarStorage;
450 extern Fl_Scroll *ToolBarScroll;
451 extern Fl_Group *ToolBarCycleGroup;
452 extern Fl_Box *ToolBarNameLabel;
453 extern void ToolBarCycleToNextCb(Fl_Button*, void*);
454 extern Fl_Button *ToolBarCycleNextButton;
455 extern void ToolBarCycleToPreviousCb(Fl_Button*, void*);
456 extern Fl_Button *ToolBarCyclePrevButton;
457 extern Fl_Pack *DynamicToolBarPack;
458 extern Fl_Pack *StandardToolBar;
459 extern Fl_Pack *ModesPack;
460 extern Fl_Button *PickButton;
461 extern Fl_Button *TextureModeButton;
462 extern Fl_Button *GridButton;
463 extern void GridDropDownButtonCb(Fl_Button*, void*);
464 extern Fl_Button *GridDropDownButton;
465 extern Fl_Button *ReshapeButton;
466 extern Fl_Button *ZoomButton;
467 extern Fl_Button *FreeRotateButton;
468 extern Fl_Button *GrabButton;
469 extern Fl_Button *DCSButton;
470 extern Fl_Pack *ConvertPack;
471 extern Fl_Button *UnionButton;
472 extern Fl_Button *IntersectButton;
473 extern Fl_Button *DifferenceButton;
474 extern Fl_Button *ExtrudeButton;
475 extern void ExtrudeDropDownButtonCb(Fl_Button*, void*);
476 extern Fl_Button *ExtrudeDropDownButton;
477 extern Fl_Button *GroupButton;
478 extern Fl_Button *UngroupButton;
479 extern Fl_Button *TessellateSingleButton;
480 extern Fl_Button *CreateMeshButton;
481 extern Fl_Pack *ModifyPack;
482 extern Fl_Button *FillSettingsButton;
483 extern Fl_Button *LineColorButton;
484 extern void LineColorDropDownButtonCb(Fl_Button*, void*);
485 extern Fl_Button *LineColorDropDownButton;
486 extern void FillColorDropDownButtonCb(Fl_Button*, void*);
487 extern Fl_Button *FillColorDropDownButton;
488 extern Fl_Button *LineThicknessButton;
489 extern Fl_Button *SendToBackButton;
490 extern Fl_Button *BringToTopButton;
491 extern Fl_Button *RotateLeftButton;
492 extern Fl_Button *RotateRightButton;
493 extern Fl_Button *FlipHorizButton;
494 extern Fl_Button *FlipVertButton;
495 extern Fl_Button *AlignTopButton;
496 extern Fl_Button *AlignMiddlesButton;
497 extern Fl_Button *AlignBottomsButton;
498 extern Fl_Button *AlignLeftButton;
499 extern Fl_Button *AlignCentersButton;
500 extern Fl_Button *AlignRightButton;
501 extern Fl_Button *BackOneButton;
502 extern Fl_Button *UpOneButton;
503 extern Fl_Button *PickupStyleButton;
504 extern Fl_Button *ApplyStyleButton;
505 extern Fl_Button *StretchToNarrowestButton;
506 extern Fl_Button *StretchToWidestButton;
507 extern Fl_Button *StretchShortestButton;
508 extern Fl_Button *StretchToTallestButton;
509 extern Fl_Pack *CreatePack;
510 extern Fl_Button *AddLineButton;
511 extern Fl_Button *FreeFormButton;
512 extern Fl_Button *AddPolygonButton;
513 extern Fl_Button *ScribbleButton;
514 extern Fl_Button *AddQuadButton;
515 extern Fl_Double_Window *InfoWindow;
516 extern Fl_Box *InfoWindowLabel;
517 extern Fl_Slider *InfoWindowProgress;
518 extern Fl_Double_Window *FindObjectsWindow;
519 extern Fl_Input *FindObjectInput;
520 extern Fl_Input *FindClassInput;
521 extern void UpdateFindPropertiesTableEditorCb(Fl_Input_Choice*, void*);
522 extern Fl_Input_Choice *FindAttributeChoiceInput;
523 extern Fl_Choice *ComparatorChoice;
524 extern disti::SingleConPropTableEditor *FindPropertiesTable;
525 extern Fl_Check_Button *MatchCaseButton;
526 extern Fl_Check_Button *MatchEntireWordButton;
527 extern void SearchSelectedOnlyButtonCb(Fl_Check_Button*, void*);
528 extern Fl_Check_Button *SearchSelectedOnlyButton;
529 extern void FindObjectOKCb(Fl_Return_Button*, void*);
530 extern void FindObjectCancelCb(Fl_Button*, long);
531 extern Fl_Button *FindObjectCancel;
532 extern Fl_Double_Window *ScaleWindow;
533 extern void ScaleInputCb(Fl_Input*, long);
534 extern Fl_Input *ScaleXInput;
535 extern Fl_Input *ScaleYInput;
536 extern Fl_Input *ScaleZInput;
537 extern Fl_Check_Button *ScaleXButton;
538 extern Fl_Check_Button *ScaleYButton;
539 extern Fl_Check_Button *ScaleZButton;
540 extern void ScaleOKButtonCb(Fl_Return_Button*, void*);
541 extern Fl_Return_Button *ScaleOKButton;
542 extern void ScaleCancelButtonCb(Fl_Button*, void*);
543 extern Fl_Button *ScaleCancelButton;
544 extern void ScaleModeChoiceCb(Fl_Choice*, void*);
545 extern Fl_Choice *ScaleModeChoice;
546 extern Fl_Double_Window *ColorPaletteEditorWindow;
547 extern void ColorPaletteEditorBrowserCb(disti::ColorPaletteBrowser*, void*);
548 extern disti::ColorPaletteBrowser *ColorPaletteEditorBrowser;
549 extern void ColorPaletteEditorAddColorCb(Fl_Button*, void*);
550 extern Fl_Button *ColorPaletteEditorAddColorButton;
551 extern void ColorPaletteEditorRemoveColorCb(Fl_Button*, void*);
552 extern Fl_Button *ColorPaletteEditorRemoveColorButton;
553 extern Fl_Group *ColorPaletteEditorSelectedColorGroup;
554 extern void ColorPaletteEditorChooserCb(Fl_Color_Chooser_A*, void*);
555 extern Fl_Color_Chooser_A *ColorPaletteEditorChooser;
556 extern void ColorPaletteEditorNameInputCb(Fl_Input*, void*);
557 extern Fl_Input *ColorPaletteEditorNameInput;
558 extern Fl_Color_Button *ColorPaletteEditorColorButton;
559 extern Fl_Button *ColorPaletteEditorSaveAsButton;
560 extern Fl_Button *ColorPaletteEditorSaveButton;
561 extern Fl_Button *ColorPaletteEditorCancelButton;
562 extern Fl_Double_Window *alternateLicenseChooser;
563 extern Fl_Browser *alternateLicenseBrowser;
564 extern Fl_Button *altLicenseCancel;
565 extern Fl_Return_Button *altLicenseOK;
566 extern Fl_Double_Window *VertexEditWindow;
567 #include "vertex_edit_table.h"
568 extern VertexEditTable *vertexTable;
569 extern Fl_Double_Window *HistoryWindow;
570 #include "history.h"
571 extern void HistoryBrowserCb(History*, void*);
572 extern History *historyBrowser;
573 extern Fl_Double_Window *TextureIndexChooserWindow;
574 extern disti::TexturePaletteBrowser *TexChooserTextureBrowser;
575 extern Fl_Group *TextureSettingsBottom;
576 extern void TexChooserReloadTextureCb(Fl_Button*, void*);
577 extern Fl_Button *TexChooserReloadTextureButton;
578 extern Fl_Output *PropTextureNameOutput;
579 extern Fl_Output *PropTextureIDOutput;
580 extern Fl_Output *PropTextureWidthOutput;
581 extern Fl_Output *PropTextureHeightOutput;
582 extern Fl_Output *PropTextureSizeOutput;
583 extern Fl_Button *TextureIndexChooserWindowCancel;
584 extern Fl_Button *TextureIndexChooserWindowOK;
585 extern Fl_Double_Window *MaterialIndexChooserWindow;
586 #include "material_browser.h"
587 extern void PropertiesMaterialPaletteCb(disti::MaterialPaletteBrowser*, void*);
588 extern disti::MaterialPaletteBrowser *MaterialBrowser;
589 extern void AddMaterialCb(Fl_Button*, void*);
590 extern void RemoveMaterialCb(Fl_Button*, void*);
591 extern void DuplicateMaterialCb(Fl_Button*, void*);
592 extern Fl_Group *MaterialModifyGroup;
593 extern void SetAmbientMaterialColor(disti::ColorButtonClass*, void*);
594 extern disti::ColorButtonClass *AmbientMaterialButton;
595 extern void SetDiffuseMaterialColor(disti::ColorButtonClass*, void*);
596 extern disti::ColorButtonClass *DiffuseMaterialButton;
597 extern void SetSpecularMaterialColor(disti::ColorButtonClass*, void*);
598 extern disti::ColorButtonClass *SpecularMaterialButton;
599 extern void SetEmissionMaterialColor(disti::ColorButtonClass*, void*);
600 extern disti::ColorButtonClass *EmissionMaterialButton;
601 extern void MaterialShininessUpdateCb(Fl_Value_Slider*, void*);
602 extern Fl_Value_Slider *MaterialShininess;
603 extern void SetMaterialName(Fl_Input*, void*);
604 extern Fl_Input *MaterialNameInput;
605 extern void SetColorMaterialMode(Fl_Choice*, void*);
606 extern Fl_Choice *ColorMaterialMode;
607 extern Fl_Button *MaterialIndexChooserWindowCancel;
608 extern Fl_Button *MaterialIndexChooserWindowOK;
609 extern Fl_Double_Window *TexturePointsAdjustmentWindow;
610 extern Fl_Group *TexturePointsAdjustmentGroup;
611 #include <FL/Fl_Dial.H>
612 extern void TextureRotationCb(Fl_Dial*, void*);
613 extern Fl_Dial *TextureRotationDial;
614 #include <FL/Fl_Value_Input.H>
615 extern void TextureRotationInputCb(Fl_Value_Input*, void*);
616 extern Fl_Value_Input *TextureRotationInput;
617 extern Fl_Button *TextureWidthHeightLinked;
618 #include <FL/Fl_Adjuster.H>
619 extern void TextureWidthAdjusterCb(Fl_Adjuster*, void*);
620 extern Fl_Adjuster *HTextureCounter;
621 extern void TextureWidthInputCb(Fl_Value_Input*, void*);
622 extern Fl_Value_Input *TextureWidthInput;
623 extern void TextureHeightAdjusterCb(Fl_Adjuster*, void*);
624 extern Fl_Adjuster *VTextureCounter;
625 extern void TextureHeightInputCb(Fl_Value_Input*, void*);
626 extern Fl_Value_Input *TextureHeightInput;
627 #include <FL/Fl_Repeat_Button.H>
628 extern void MoveTextureUpGridCb(Fl_Repeat_Button*, void*);
629 extern Fl_Repeat_Button *TextureMoveUpGrid;
630 extern void MoveTextureUpCb(Fl_Repeat_Button*, void*);
631 extern Fl_Repeat_Button *TextureMoveUp;
632 extern void MoveTextureLeftGridCb(Fl_Repeat_Button*, void*);
633 extern Fl_Repeat_Button *TextureMoveLeftGrid;
634 extern void MoveTextureLeftCb(Fl_Repeat_Button*, void*);
635 extern Fl_Repeat_Button *TextureMoveLeft;
636 extern void MoveTextureRightCb(Fl_Repeat_Button*, void*);
637 extern Fl_Repeat_Button *TextureMoveRight;
638 extern void MoveTextureRightGridCb(Fl_Repeat_Button*, void*);
639 extern Fl_Repeat_Button *TextureMoveRightGrid;
640 extern void MoveTextureDownCb(Fl_Repeat_Button*, void*);
641 extern Fl_Repeat_Button *TextureMoveDown;
642 extern void MoveTextureDownGridCb(Fl_Repeat_Button*, void*);
643 extern Fl_Repeat_Button *TextureMoveDownGrid;
644 extern void StretchToFitTextureCb(Fl_Button*, void*);
645 extern Fl_Button *TextureStretchToFitButton;
646 extern void Texture1to1Cb(Fl_Button*, void*);
647 extern Fl_Button *TextureActualSizeButton;
648 extern void ResetTextureCb(Fl_Button*, void*);
649 extern Fl_Button *TextureResetButton;
650 extern disti::MultipleSelectionConfirmButton *TexturePointsAdjustmentGroupMS;
651 extern Fl_Double_Window *fontChooserWindow;
652 extern Fl_Group *fontChooserTabGroup;
653 extern Fl_Group *fontChooserGroup;
654 extern Fl_Input *fontChooserFamily;
655 extern disti::MultipleSelectionConfirmButton *fontChooserFamilyMS;
656 extern Fl_Button *fontChooserFamilyPulldown;
657 extern Fl_Browser *fontChooserFamilyBrowser;
658 extern Fl_Input *fontChooserStyle;
659 extern disti::MultipleSelectionConfirmButton *fontChooserStyleMS;
660 extern Fl_Button *fontChooserStylePulldown;
661 extern Fl_Browser *fontChooserStyleBrowser;
662 extern Fl_Input *fontChooserSize;
663 extern disti::MultipleSelectionConfirmButton *fontChooserSizeMS;
664 extern Fl_Button *fontChooserSizePulldown;
665 extern Fl_Browser *fontChooserSizeBrowser;
666 extern Fl_Button *fontChooserCancelButton;
667 extern Fl_Button *fontChooserOKButton;
668 extern Fl_Double_Window *TextureRemovalAffectedObjectsWindow;
669 extern Fl_Browser *AffectedObjectsBrowser;
670 extern Fl_Button *AffectedObjectsYes;
671 extern Fl_Button *AffectedObjectsNo;
672 extern Fl_Double_Window *LayoutManagement;
673 extern void OnLM_AddBttnCb(Fl_Button*, void*);
674 extern Fl_Button *LM_AddBttn;
675 extern void LMOn_DeleBttnCb(Fl_Button*, void*);
676 extern Fl_Button *LM_DelBttn;
677 extern void LMOn_SaveBttnCb(Fl_Button*, void*);
678 extern Fl_Button *LM_SaveBttn;
679 extern void LMOn_LoadBttnCb(Fl_Button*, void*);
680 extern Fl_Button *LM_LoadBttn;
681 extern void LMOn_CloseBttnCb(Fl_Button*, void*);
682 extern void OnLM_NewLayoutInputCb(Fl_Input*, void*);
683 extern Fl_Input *LM_NewLayoutInput;
684 extern Fl_Scroll *LM_SavedLayouts;
685 extern Fl_Output *LM_SelectedInput;
686 extern void LMOn_SelectedDownBttnCb(Fl_Button*, void*);
687 extern Fl_Button *LM_SelectedDownBttn;
688 extern void LMOn_SelectedUpBttnCb(Fl_Button*, void*);
689 extern Fl_Button *LM_SelectedUpBttn;
690 extern Fl_Double_Window *RangeDialog;
691 extern void OnRS_AddBttnCb(Fl_Button*, void*);
692 extern Fl_Button *RS_AddBttn;
693 extern void OnRS_DeleBttnCb(Fl_Button*, void*);
694 extern Fl_Button *RS_DelBttn;
695 extern void OnRS_LoadBttnCb(Fl_Button*, void*);
696 extern Fl_Button *RS_OK;
697 extern void OnRS_CloseBttnCb(Fl_Button*, void*);
698 extern void OnSR_NewLayoutInputCb(Fl_Input*, void*);
699 extern Fl_Input *RS_NewLayoutInput;
700 extern Fl_Scroll *RS_SavedLayouts;
701 extern Fl_Output *RS_SelectedInput;
702 extern void OnRS_SelectedDownBttnCb(Fl_Button*, void*);
703 extern Fl_Button *RS_SelectedDownBttn;
704 extern void OnRS_SelectedUpBttnCb(Fl_Button*, void*);
705 extern Fl_Button *RS_SelectedUpBttn;
706 extern void OnPE_EditPresetsBttnCb(Fl_Button*, void*);
707 extern Fl_Double_Window *PropertyPresetsEditor;
708 extern void OnPP_AddBttnCb(Fl_Button*, void*);
709 extern Fl_Button *PP_AddBttn;
710 extern void OnPP_DeleBttnCb(Fl_Button*, void*);
711 extern Fl_Button *PP_DelBttn;
712 extern void OnPP_LoadBttnCb(Fl_Button*, void*);
713 extern Fl_Button *PP_OK;
714 extern void OnPP_CloseBttnCb(Fl_Button*, void*);
715 extern void OnPP_NewLayoutInputCb(Fl_Input*, void*);
716 extern Fl_Input *PP_NewLayoutInput;
717 extern Fl_Scroll *PP_SavedLayouts;
718 extern Fl_Output *PP_SelectedInput;
719 extern void OnPP_SelectedDownBttnCb(Fl_Button*, void*);
720 extern Fl_Button *PP_SelectedDownBttn;
721 extern void OnPP_SelectedUpBttnCb(Fl_Button*, void*);
722 extern Fl_Button *PP_SelectedUpBttn;
723 extern Fl_Double_Window *PropertyPresetsTable;
724 extern void OnPE_LoadBttnCb(Fl_Button*, void*);
725 extern Fl_Button *PE_OK;
726 extern void OnPE_CloseBttnCb(Fl_Button*, void*);
727 extern Fl_Scroll *PE_SavedLayouts;
728 extern Fl_Output *PE_SelectedInput;
729 Fl_Double_Window* create_the_forms();
730 // Accessing MainMenu items that are given names (eg MRUMenu, ViewMenu, View3D) will not work. They will reference the original menu which still exists but isn't used. The reason for this it that the menu gets dynamically allocated to a new location when entries are added to the menu at run-time (eg. plugins, JavaCodeGen). See DR 1812.
731 extern Fl_Menu_Item menu_MainMenu[];
732 #define MRUMenu (menu_MainMenu+10)
733 #define MRUList (menu_MainMenu+11)
734 #define ToolsObjectMenu (menu_MainMenu+63)
735 #define ViewMenu (menu_MainMenu+99)
736 #define View3D (menu_MainMenu+100)
737 #define ViewCollapse (menu_MainMenu+101)
738 #define ViewXY (menu_MainMenu+102)
739 #define ViewXZ (menu_MainMenu+103)
740 #define ViewZY (menu_MainMenu+104)
741 #define ViewPerspective (menu_MainMenu+105)
742 #define ViewRuntime (menu_MainMenu+106)
743 #define WindowList (menu_MainMenu+109)
744 #define MoreWindows (menu_MainMenu+119)
745 extern Fl_Menu_Item menu_FrameBufferChoice[];
746 extern Fl_Menu_Item menu_InitialEyePointChoice[];
747 extern Fl_Menu_Item menu_GenerationModeChoice[];
748 extern Fl_Menu_Item menu_TextureCompressionChoice[];
749 extern Fl_Menu_Item menu_DefaultGeometryProtectionModeChoice[];
750 extern Fl_Menu_Item menu_DefaultMethodProtectionModeChoice[];
751 extern Fl_Menu_Item menu_DefaultVariableProtectionModeChoice[];
752 extern Fl_Menu_Item menu_RotationPointImageChoice[];
753 extern Fl_Menu_Item menu_ObjectContextMenu[];
754 #define ObjectContextNewWindowMenuItem (menu_ObjectContextMenu+0)
755 #define ObjectContextCollapseWindowsMenuItem (menu_ObjectContextMenu+1)
756 extern Fl_Menu_Item menu_StandardContextMenu[];
757 #define NewWindowMenuItem (menu_StandardContextMenu+0)
758 #define CollapseWindowsMenuItem (menu_StandardContextMenu+1)
759 extern Fl_Menu_Item menu_Quick[];
760 #define QuickZoomMenu (menu_Quick+0)
761 extern Fl_Menu_Item menu_Extrude[];
762 #define ExtrudeMenu (menu_Extrude+0)
763 extern Fl_Menu_Item menu_CodeContextMenu[];
764 extern Fl_Menu_Item menu_VertexEditMenu[];
765 extern Fl_Menu_Item menu_HelpMenuBar[];
766 extern Fl_Menu_Item menu_Group[];
767 extern Fl_Menu_Item menu_ScaleModeChoice[];
768 extern Fl_Menu_Item menu_ColorMaterialMode[];
769 extern void CodePopupOKCb(Fl_Return_Button*, void*);
770 
772 public:
774  Fl_Double_Window *win;
775  Fl_Browser *CodeGenerationResults;
776  Fl_Output *CodeGenLabel;
777  void Add(char *val);
778  void Add(const std::string &val);
779  void Clear(void);
780  void Hide(void);
781  void Show(void);
782  int Size();
783  void Label(char *l);
784 };
785 
787 };
788 extern void TextEditorStyleUpdate(int pos, int nInserted, int nDeleted, int nRestyled, const char *deletedText, void *cbArg);
789 extern void style_unfinished_cb(int, void *);
790 extern const Fl_Text_Display::Style_Table_Entry *textEditorStyleTable;
791 extern disti::GlsFontBrowser* fontChooserBrowser;
792 #endif
Definition: designer.h:786
Definition: designer.h:771
Definition: dynamic_fl_choice.h:9