Finale PDK Framework 0.77
Power Up Your Finale Music Software
Loading...
Searching...
No Matches
ff_cocoa_cppinterface.h
1//
2// ff_cocoa_cppinterface.h
3// cocoatest
4//
5// Created by Jari Williamsson on 2013-07-05.
6// Copyright (c) 2013 Jari Williamsson. All rights reserved.
7//
8
9#ifndef ff_cocoa_cppinterface_h
10#define ff_cocoa_cppinterface_h
11
12#include <tuple>
13
14#ifndef DOXYGEN_SHOULD_IGNORE_THIS
15/* No officially documentation for the classes in this file */
16
17class FCControl;
18class __FCUserWindow;
19class FCString;
20class FCRange;
21class FCRanges;
22class FCCtrlDataList;
23class FCCtrlTree;
24class FCTreeNode;
25class FCStrings;
26class FCFontInfo;
28class FCVirtualCanvasInstructions;
29
30#ifdef PDK_FRAMEWORK_STREAMS
32#endif
33
34#ifdef PDK_FRAMEWORK_FILEDIALOGS
38#endif
39
40/* Maps a menu position to a menu command ID. */
41typedef SInt32 EMENUID;
42EMENUID _cocoalink_MapMenuPositionCommand(int mainmenuidx, int dropdownidx, int submenuidx);
43EMENUID _cocoalink_MapMenuItemTextCommand(const FCString &topMenu, const FCString &itemText);
44bool _cocoalink_ExecuteOSMenuCommand(EMENUID osmenucmd);
45
46#ifdef PDK_FRAMEWORK_DEBUG
47void _cocoalink_DebugOutMenuInfo(int menuixd_horiz, int menuixd_vert);
48#endif
49
50
51/* Modifies a NSValue by creating a new one to store a pointer value.
52 * The old value is released and the new value object is returned.
53 *
54 * oldvalue: NSValue*
55 * pointervalue: void*
56 * return value: NSValue*
57 * Usage:
58 * myvalue = _cocoalink_ChangeNSPointerValue(myvalue, ptr);
59 */
60void* _cocoalink_ChangeNSPointerValue(void* oldvalue, void* pointervalue);
61
62/* Releases a NSValue object to clean it up.
63 *
64 * always returns nil.
65 *
66 * Parameter value: NSValue*
67 */
68void* _cocoalink_DeallocateNSValue(void* value);
69
70/* Modifies a NSString by creating a new one to store a pointer value.
71 * The old value is released and the new value object is returned.
72 *
73 * Intended ONLY to be called directly from FCString
74 *
75 * object: NSString*
76 * pString: FCString*
77 * return value: NSString*
78 * Usage:
79 * mynsstring = _cocoalink_GetNSString(mynsstring, pString);
80 */
81void* _cocoalink_GetNSString(void* object, const FCString* pString);
82
83/* Implements Unicode ToLowerCase, using Cocoa
84 *
85 * Intended ONLY to be called directly from FCString
86 *
87 * fcstringobject: FCString*
88 */
89void _cocoalink_ToLowerCase(void* fcstringobject);
90
91/* Implements Unicode ToUpperCase, using Cocoa
92 *
93 * Intended ONLY to be called directly from FCString
94 *
95 * fcstringobject: FCString*
96 */
97void _cocoalink_ToUpperCase(void* fcstringobject);
98
99/* Converts a CFURLRef/NSURL to a path in pString. */
100void _cocoalink_CFURLRefToPath(CFURLRef urlref, FCString* pString);
101
102/* Converts a pString path to a CFURLRef */
103CFURLRef _cocoalink_PathToCFURLRef(const FCString* pString);
104
105/* Get document path from NSWindow */
106bool __cocoalink_PathFromNSWindow(void* hWnd, FCString *pString); // can't use FXWND due to include dependencies
107
108/* Sets a FCString to a NSString value.
109 * Intended ONLY to be called directly from FCString
110 *
111 * pString: FCString*
112 * object: NSString*
113 *
114 */
115void _cocoalink_SetNSString(FCString* pString, void* object);
116
117/* Converts a FCString to a UTF8 char buffer */
118bool _cocoalink_ToCharFromFCString(const FCString* pString, char* pszBuffer, const int maxsize, const bool preferPlatform);
119inline bool _cocoalink_ToUTF8FromFCString(const FCString* pString, char* pszBuffer, const int maxsize)
120{ return _cocoalink_ToCharFromFCString(pString, pszBuffer, maxsize, false); }
121inline bool _cocoalink_ToCharFromFCString(const FCString* pString, char* pszBuffer, const int maxsize)
122{ return _cocoalink_ToCharFromFCString(pString, pszBuffer, maxsize, true); }
123
124/* Converts an UTF8 char buffer to a FCString */
125bool _cocoalink_FromCharToFCString(FCString* pString, const char* pszBuffer, const bool preferPlatform);
126inline bool _cocoalink_FromUTF8ToFCString(FCString* pString, const char* pszBuffer)
127{
128 if (_cocoalink_FromCharToFCString(pString, pszBuffer, false))
129 return true;
130 return _cocoalink_FromCharToFCString(pString, pszBuffer, true);
131}
132inline bool _cocoalink_FromCharToFCString(FCString* pString, const char* pszBuffer)
133{
134 if (_cocoalink_FromCharToFCString(pString, pszBuffer, true))
135 return true;
136 return _cocoalink_FromCharToFCString(pString, pszBuffer, false);
137}
138
139#ifdef PDK_FRAMEWORK_FORMAT
140/* Basically a Unicode version of vsprintf(). Called from FCString::FormatString() */
141int _cocoalink_FormatStringWithArguments(FCString* pStringDest, FCString* pStringArgs, va_list ap);
142#endif
143
144/* Releases a NSString object to clean it up (used by FCString).
145 *
146 * always returns nil.
147 *
148 * Parameter value: NSValue*
149 */
150void* _cocoalink_DeallocateNSString(void* object);
151
152#ifdef PDK_FRAMEWORK_DIALOGS
153/* Returns the modifier keys for the last notification in the queue
154 *
155 * Used by _FCWindowController_cocoa for window commands and by finenv
156 * (in the Lua interpreter, which is currently RGP Lua) for menu invocation.
157 *
158 */
159uint32_t _cocoalink_GetCurrentModifierKeys(); // use uint32_t instead of FLAG_32 because of #include file hell
160
161bool _cocoalink_IsAppDarkModeAppearance();
162
163#ifdef PDK_FRAMEWORK_IMAGECTRL
164// The source parameter is FCCtrlImage::IMAGESOURCE, but due to include-file hell, we can't know that here.
165void* _cocoalink_LoadImage(int source, const char* data, long dataLength, float* pWidth, float* pHeight); // returns NSImage* as void*
166void _cocoalink_ReleaseImage(void* image);
167#endif //PDK_FRAMEWORK_IMAGECTRL
168#endif //PDK_FRAMEWORK_DIALOGS
169
170/* Called from the static method FCUI::GetHiResTimer() */
171double _fcuicocoa_GetHiResTimer();
172
176class FCFontInfo;
177class _FCSystemGlyphInfo_cocoa
178{
179 FCSystemGlyphInfo* _pObject;
180 public:
181 _FCSystemGlyphInfo_cocoa(FCSystemGlyphInfo *pLinkedObject) { _pObject = pLinkedObject; }
182
183 bool LoadInfo(FCFontInfo* pFontInfo, unsigned int glyphno);
184};
185
189class _FCUI_cocoa
190{
191 double _starttime, _resulttime; /* For high-precision timer */
192public:
193 _FCUI_cocoa(void);
194 ~_FCUI_cocoa(void);
195
196 void Beep();
197
198 void AlertError(FCString* pMsg, FCString* pTitle);
199 void AlertInfo(FCString* pMsg, FCString* pTitle);
200 bool AlertOkCancel(FCString* pMsg, FCString* pTitle);
201 bool AlertYesNo(FCString* pMsg, FCString* pTitle);
202 int AlertYesNoCancel(FCString* pMsg, FCString* pTitle);
203
204 bool IsFontAvailable(const char* pszFontName);
205
206 void StartPerformanceTimer();
207 void StopPerformanceTimer();
208 double ReturnPerformanceTiming();
209
210 bool DisplayWebURL(FCString* pURLString);
211 bool DisplayShellFolder(FCString* pFolderString);
212
213 bool TextToClipboard(const char* pszText, bool utf8);
214
215 void GetDecimalSeparator(FCString* pString);
216 void GetUserLocaleName(FCString* pString);
217
218 /* return value is a EWND, which is a NSWindow* */
219 void* GetActiveWindow();
220
221 /* hwnd is a EWND, which is a NSWindow* */
222 void ActivateWindow(void* hwnd);
223};
224
226class _FCStrings_cocoa
227{
228 FCStrings* _pLinkedObject;
229public:
230 _FCStrings_cocoa(FCStrings* pObject)
231 {
232 _pLinkedObject = pObject;
233 }
234 bool LoadFolderFiles(FCString* pFolderName);
235 bool LoadSubfolders(FCString* pFolderName);
236 bool LoadSystemFontNames();
237};
238
239#ifdef PDK_FRAMEWORK_STREAMS
241class _FCTextFileUTF8Stream_cocoa
242{
243 FCTextFileUTF8Stream* _pLinkedObject;
244public:
245 _FCTextFileUTF8Stream_cocoa(FCTextFileUTF8Stream* pObject)
246 {
247 _pLinkedObject = pObject;
248 }
249 FCString* ReadString();
250};
251#endif
252
253#ifdef PDK_FRAMEWORK_FILEDIALOGS
255class _FCFileOpenDialog_cocoa
256{
257 FCFileOpenDialog* _pLinkedObject;
258public:
259 _FCFileOpenDialog_cocoa(FCFileOpenDialog* pObject)
260 {
261 _pLinkedObject = pObject;
262 }
263 bool Execute();
264};
265
267class _FCFileSaveAsDialog_cocoa
268{
269 FCFileSaveAsDialog* _pLinkedObject;
270public:
271 _FCFileSaveAsDialog_cocoa(FCFileSaveAsDialog* pObject)
272 {
273 _pLinkedObject = pObject;
274 }
275 bool Execute();
276};
277
279class _FCFolderBrowseDialog_cocoa
280{
281 FCFolderBrowseDialog* _pLinkedObject;
282public:
283 _FCFolderBrowseDialog_cocoa(FCFolderBrowseDialog* pObject)
284 {
285 _pLinkedObject = pObject;
286 }
287
288 bool Execute();
289};
290#endif
291
292#ifdef PDK_FRAMEWORK_DIALOGS
293
294struct __FloatRect
295{
296 float top;
297 float left;
298 float bottom;
299 float right;
300};
301
302
306class _FCWindowController_cocoa
307{
308 bool _allowphysicalwindowclosing; /* Flag to make sure that as window is only
309 closed once (to prevent endless loops). */
310 int _xibID;
311 bool _ismodalstate; /* This flags the current state */
312 bool _ismodaldialog; /* This flags what "display style" the window should be using. */
313 __FCUserWindow* _pDialogOwner; /* The PDK Framework object that owns this object. */
314 bool _modelessCanBecomeMainWindow; /* this field is accessed by RGP Lua and normally is false. */
315
316public:
317 _FCWindowController_cocoa(__FCUserWindow* pOwner, int xibID);
318 virtual ~_FCWindowController_cocoa();
319
320 /* Returns the dialog owner. */
321 __FCUserWindow* GetDialogOwner() const { return _pDialogOwner; }
322
323 /* Returns the objc id to the windowcontroller instance. */
324 void* _GetInstance() { return _self; }
325
326 /* Returns true iof the window controller should display the XIB as a modal dialog
327 (with different approach to the Esc key for example) */
328 bool IsModalDialog() { return _ismodaldialog; }
329
330 bool ModelessCancelCanEscape() const;
331
332 bool GetModelessCanBecomeMainWindow() const { return _modelessCanBecomeMainWindow; }
333 void SetModelessCanBecomeMainWindow(bool state) { _modelessCanBecomeMainWindow = state; }
334
335 void ShowModeless();
336
337 /* Returns true if the dialog was displayed and closed. False on error.
338 Get the modal state in the PDK Framework object to get the true modal
339 return value.
340 */
341 bool ExecuteModal(__FCUserWindow* pParent);
342
343 void NotYetImplementedError(const char* pszMethodName);
344
345 void SetWindowCaption(FCString *pString);
346
347 void GetWindowCaption(FCString *pString);
348
349 void GetWindowContentRect(__FloatRect* pRect);
350 void SetWindowFrameRect(__FloatRect* pRect);
351 void GetWindowFrameRect(__FloatRect* pRect);
352 float GetWindowTitleHeight();
353 void SetMaximumResizeWidth(float width);
354 void SetMaximumResizeHeight(float height);
355 void SetWindowAlpha(int alphavalue);
356 void SetInitialFocus();
357
358 bool IsWindowLoaded() const;
359 bool IsWindowVisible();
360 bool IsDarkAppearanceMode() const;
361 void ActivateWindow();
362 void ShowWindow(bool showstate);
363 void CloseWindow();
364 void DestroyWindow();
365
366 void RepaintWindow();
367
368 /* Popup control stuff: */
369 void ClearAllPopupItems(int dlgid);
370 int GetPopupItemCount(int dlgid) const;
371 void AppendPopupItem(int dlgid, FCString* pString);
372 void InsertPopupString(int dlgid, int index, FCString* pString);
373 /* 0-based item idx */
374 void DeletePopupItem(int dlgid, int lineidx);
375 void SelectPopupItem(int dlgid, int lineidx);
376 int GetSelectedPopupItem(int dlgid) const;
377 bool GetPopupItemText(int dlgid, int lineidx, FCString* pString) const;
378 bool AssurePopupWidthForText(int dlgid);
379
380 /* Combo Box control stuff */
381 void ClearAllComboBoxItems(int dlgid);
382 int GetComboBoxItemCount(int dlgid);
383 void AppendComboBoxItem(int dlgid, FCString* pString);
384 int GetSelectedComboBoxItem(int dlgid);
385 void SelectComboBoxItem(int dlgid, int lineidx);
386 bool AssureComboBoxWidthForText(int dlgid);
387
388 /* Clear shortcut key for a push button */
389 void ClearShortcutKey(int dlgid);
390
391 /* General Cocoa control stuff: */
392 void* _GetCocoaID(int dlgid); /* Returns an objc id for a control with a specific tag */
393
394 bool CreateUIControl(FCControl* pControl);
395
396#ifdef PDK_FRAMEWORK_DIAGNOSE
397 /* Retrieves the Cocoa class name (for diagnose mode). */
398 void _GetControllerClassName(int dlgid, FCString* pClassName);
399 bool IsSameClass(const FCString* pClassGot, const FCString* pClassExpected);
400#endif
401
402 void SetDlgItemVisible(int dlgid, bool show);
403 bool GetDlgItemVisible(int dlgid);
404
405 void SetDlgItemBold(int dlgid, bool boldstate);
406 void SetDlgItemFont(int dlgid, const FCFontInfo *fontInfo);
407 bool GetDlgItemFont(int dlgid, FCFontInfo *fontInfo);
408 void SetDlgItemTextColor(int dlgid, int red, int green, int blue);
409 void SetDlgItemKeyboardFocus(int dlgid);
410
411 void SetDlgItemEnable(int dlgid, bool enable);
412 bool GetDlgItemEnable(int dlgid) const;
413
414 void SetDlgItemCheck(int dlgid, int state);
415 int GetDlgItemCheck(int dlgid);
416
417 bool AssureDlgItemWidthForText(int dlgid);
418 void SetDlgItemText(int dlgid, const FCString* pString);
419 void SetDlgItemTextAndResize(int dlgid, const FCString* pString);
420 bool GetDlgItemText(int dlgid, FCString* pString);
421
422 bool GetDlgItemRect(int dlgid, __FloatRect* pRect);
423 void SetDlgItemWidth(int dlgid, float width);
424 void SetDlgItemHeight(int dlgid, float height);
425 void SetDlgItemPos(int dlgid, float x, float y, bool repaint = true);
426 void SetDlgItemSize(int dlgid, float width, float height, bool repaint = true);
427
428 bool RedrawDlgItemImmediate(int dlgid);
429
430 /* "Stepper" controls in Cocoa: */
431 void SetStepperMinMax(int dlgid, int min, int max);
432 int GetStepperMin(int dlgid);
433 int GetStepperMax(int dlgid);
434 void SetStepperValue(int dlgid, int value);
435
436 /* NSSlider controls in Cocoa: */
437 void SetSliderMin(int dlgid, int value);
438 int GetSliderMin(int dlgid);
439 void SetSliderMax(int dlgid, int value);
440 int GetSliderMax(int dlgid);
441 void SetSliderThumbValue(int dlgid, int value);
442 int GetSliderThumbValue(int dlgid);
443
444 /* NSImageView */
445 void SetImageForImageControl(int dlgid, void *image);
446
447 /* NSTableView */
448 void TableViewUseLeftCheckboxColumn(int dlgid);
449 void TableViewSetNoHeader(int dlgid);
450 void TableViewExpandLastColumn(int dlgid);
451 int TableViewGetColumnCount(int dlgid, bool includecheckboxcolumn);
452 int TableViewGetColumnWidth(int dlgid, int columnindex);
453 void TableViewSetColumnTitle(int dlgid, int columnindex, FCString* pTitle);
454 bool TableViewAddColumn(int dlgid, FCString* pTitle, float columnwidth, int fontsize);
455 void TableViewDeleteAllColumns(int dlgid);
456 void TableViewRedraw(int dlgid);
457 void TableViewScrollToTop(int dlgid);
458 int TableViewGetSelectedLine(int dlgid);
459 void TableViewSelectLine(int dlgid, int lineindex, bool ensurevisible, bool extendselection);
460 bool TableViewIsLineSelected(int dlgid, int lineindex);
461 bool TableViewHasCheckboxes(int dlgid);
462 void TableViewUpdateCheckbox(int dlgid, int rowindex);
463 void TableViewAssureConnected(FCCtrlDataList* pControl);
464 void TableViewDeselectLine(int dlgid, int lineindex);
465 void TableViewClearSelection(int dlgid);
466 bool TableViewGetAlternatingRows(int dlgid) const;
467 void TableViewSetAlternatingRows(int dlgid, bool value);
468
469 /* NSOutlineView (the "tree view") */
470 void OutlineViewSetupColumn(int dlgid, int fontheight);
471 FCTreeNode* OutlineViewGetSelectedNode(int dlgid);
472 bool OutlineViewCollapseAllContainers(int dlgid);
473 bool OutlineViewExpandAllContainers(int dlgid);
474 bool OutlineViewSetSelectedNode(int dlgid, FCTreeNode* pNode);
475 bool OutlineViewExpandNode(int dlgid, FCTreeNode* pNode);
476 void OutlineViewAssureConnected(FCCtrlTree* pControl);
477 void OutlineViewRefreshData(int dlgid);
478
479 /* Switcher (NSSegmentedControl) */
480 void SwitcherAddPage(int dlgid, FCString* pString);
481 int SwitcherGetPageCount(int dlgid);
482 int SwitcherGetSelectedPage(int dlgid);
483 void SwitcherSetSelectedPage(int dlgid, int index);
484
485#ifdef PDK_FRAMEWORK_CANVASCTRL
486 /* Canvas control (NSImageView) */
487 void CanvasUpdateContent(int dlgid, FCVirtualCanvasInstructions* pInstructions);
488#endif /* #ifdef PDK_FRAMEWORK_CANVASCONTROL */
489
490 /* Text field */
491 void EditScrollToBottom(int dlgid);
492
493 /* Text editor control */
494 bool TextEditorGetTotalTextRange(int dlgid, FCRange* pRange) const;
495 int TextEditorGetLineForPosition(int dlgid, int pos) const;
496 bool TextEditorGetLineRangeForLine(int dlgid, int line, FCRange* pRange) const;
497 bool TextEditorGetLineRangeForPosition(int dlgid, int pos, FCRange* pRange) const;
498 bool TextEditorGetSelection(int dlgid, FCRange* pRange) const;
499 bool TextEditorSetSelection(int dlgid, const FCRange* pRange);
500 bool TextEditorGetTextInRange(int dlgid, FCString *pText, const FCRange* pRange) const;
501 bool TextEditorReplaceTextInRange(int dlgid, const FCString *pText, const FCRange* pRange);
502 bool TextEditorReplaceTextInRangeWithFormat(int dlgid, const FCString* inp, const FCEnigmaTextStyle* pStyle, const FCRange* pRange, bool enabled);
503 void TextEditorInsertTextAtCursor(int dlgid, const FCString *pText);
504 FCString* TextEditorCreateRTFString(int dlgid) const;
505 FCString* TextEditorCreateEnigmaString(int dlgid, const FCRange* pRange) const;
506 bool TextEditorSetRTFString(int dlgid, const FCString* pString);
507 FCFontInfo* TextEditorCreateFontInfoAtIndex(int dlgid, int index) const;
508 bool TextEditorSetFontInRange(int dlgid, const FCFontInfo* pFont, const FCRange* pRange, bool enabled);
509 bool TextEditorSetFontSizeInRange(int dlgid, int size, const FCRange* pRange, bool enabled);
510 bool TextEditorSetFontBoldInRange(int dlgid, bool state, const FCRange* pRange, bool enabled);
511 bool TextEditorSetFontItalicInRange(int dlgid, bool state, const FCRange* pRange, bool enabled);
512 void TextEditorSetWordWrap(int dlgid, bool wordwrap);
513 void TextEditorSetUseRichText(int dlgid, bool state);
514 bool TextEditorGetUseRichText(int dlgid) const;
515 void TextEditorSetAutomaticEditing(int dlgid, bool state);
516 void TextEditorSetTabstopWidth(int dlgid, double value);
517 FCRanges * TextEditorCreateRangesForString(int dlgid, const FCString* pSearchString, unsigned int options, const FCRange* pRange) const;
518 void TextEditorResetUndoState(int dlgid);
519 bool TextEditorSetColorInRange(int dlgid, int red, int green, int blue, bool reset, bool background, const FCRange* pRange, bool enabled);
520 std::tuple<int, int, int> TextEditorGetColorAtIndex(int dlgid, int index, bool background) const;
521 FCRanges* TextEditorGetColorChanges(int dlgid, bool background) const;
522 int TextEditorGetNumberOfLines(int dlgid) const;
523 double TextEditorGetVerticalScrollPosition(int dlgid) const;
524 void TextEditorScrollToTop(int dlgid);
525 void TextEditorScrollToBottom(int dlgid);
526 void TextEditorScrollToVerticalPosition(int dlgid, double vpos);
527 void TextEditorScrollToLine(int dlgid, int line);
528 double TextEditorGetLineSpacing(int dlgid) const;
529 void TextEditorSetLineSpacing(int dlgid, double value);
530 FCString* TextEditorCreateCharacterAtIndex(int dlgid, int pos);
531 bool TextEditorTextToClipboard(int dlgid, const FCRange* pRange) const; // works with NSTextField and NSTextView
532 /* Text edit control or Text field control */
533 void TextEditorSetReadOnly(int dlgid, bool readonly); // works with NSTextField and NSTextView
534 bool TextEditorGetReadOnly(int dlgid) const; // works with NSTextField and NSTextView
535
536 /* Timers */
537 bool TimeridExists(int timerid);
538 void CreateTimer(int timerid, int duration_in_ms);
539 void KillTimer(int timerid);
540 void KillAllTimers();
541 void AssureTimers();
542
543 /* Notification that the window has been setup. Call virtual InitWindow()
544 method in PDK Framework. */
545 void Notify_InitWindow();
546
547 /* Notifications that are passed on to the PDK Framework */
548 void Notify_OkButtonPressed();
549 void Notify_CancelButtonPressed();
550 void Notify_ButtonPressed(int controlid);
551 void Notify_HandleCommand(int controlid);
552 void Notify_TextSelectionChanged(int controlid);
553 void Notify_ScrollChanged(int controlid);
554 void Notify_DataListHandleDoubleClick(int controlid, int lineindex);
555 void Notify_DataListHandleCommand(int controlid, int lineindex);
556 void Notify_WindowActivated(bool activate);
557 void Notify_WindowResized(float newwidth, float newheight, float oldwidth, float oldheight);
558 void Notify_DarkModeIsChanging(bool isDarkMode);
559 void Notify_OSMenuCommandExecuted(EMENUID menuCommand);
560 void Notify_WindowClose();
561 void Notify_HandleSwitcherSelect(int controlid, int switcherindex);
562 void Notify_StepperPressed(void* sender, int controlid);
563 void Notify_Timer(int timerid);
564 void Notify_MouseTrackingStarted(FCControl *pControl);
565 void Notify_MouseTrackingStopped(FCControl *pControl);
566 bool Notify_WindowCanClose();
567 bool Notify_HandleKeyboardCommand(FCControl *pControl, int character);
568
569 /* Stores the currently pressed-down modifier keys in the __FCUserWindow object */
570 void StoreModifierKeysToWindow();
571private:
572 void* _self; /* Pointer to Objective-C++ instance. */
573
574 void* alltimers; /* NSMutableArray object with all started timers */
575};
576#endif /* #ifdef PDK_FRAMEWORK_DIALOGS */
577
578
579#endif /* #ifndef DOXYGEN_SHOULD_IGNORE_THIS */
580
581
582#endif
Base class for all other dialog/window classes.
Definition ff_dialogs.h:563
Base class for all UI controls in a dialog.
Definition ff_dialogs.h:1536
Class that handles a contol with multiple lines of data, arranged in columns.
Definition ff_dialogs.h:4292
A tree UI control.
Definition ff_dialogs.h:5175
Class that specifies Enigma text style. This includes font, size, efx, superscript,...
Definition ff_base.h:1757
Class to display the operating system's "Open File" modal dialog box.
Definition ff_dialogs.h:214
Class to display the operating system's "Save File As" modal dialog box.
Definition ff_dialogs.h:288
Class to display the operating system's modal folder browser dialog box.
Definition ff_dialogs.h:326
Class for document-independent font information.
Definition ff_base.h:1138
Class that encapsulates a range (start, length)
Definition ff_base.h:5570
Simple collection class for FCRange class objects.
Definition ff_basecollection.h:1525
Class that provides storage for text. This is to achieve platform-transparent text handling,...
Definition ff_base.h:1877
Collection class for FCString class objects.
Definition ff_basecollection.h:1085
An object to handle glyph information returned by the system.
Definition ff_base.h:5279
Class for UTF-8text streams.
Definition ff_stream.h:292
Class representing a single node item in a FCCtrlTree control.
Definition ff_dialogs.h:4965