C4dUiTools Class Reference

#include <c4duitools.h>

Detailed Description

Internal.

Static Public Member Functions

static MAXON_METHOD OSWindowInterface * GetMainWindow ()
 
static MAXON_METHOD Result< BoolHighlightManager (Int32 managerId, POPUP_CLOSE_MODE closeMode)
 
static MAXON_METHOD void CloseManagerHighlighting ()
 
static MAXON_METHOD Int32 GetManagerIdFromString (const String &str)
 
static MAXON_METHOD Int32 GetCommandIdFromString (const String &commandIdAsString)
 
static MAXON_METHOD Result< void > ShowCommandLocationAndHighlightManagerPopups (Int32 commandId, Int32 managerId, POPUP_CLOSE_MODE closeMode)
 
static MAXON_METHOD void CloseCommandLocationAndHighlightManagerPopups ()
 
static MAXON_METHOD Bool IsR2L ()
 
static MAXON_METHOD OSWindowInterface * GetMostRecentActiveWindow ()
 
static MAXON_METHOD Int32 GetGadgetMinHeight ()
 
static MAXON_METHOD Int32 GetGadgetSpace ()
 
static MAXON_METHOD Tuple< OSWindowDrawHandlerInterface *, IntVector2d32GetUserAreaDrawHandler (cinema::GeUserArea *userArea)
 
static MAXON_METHOD IntVector2d32 GetStoredDialogSize (Int32 pluginId, Int32 subId, const IntVector2d32 &defaultSize)
 
static MAXON_METHOD void GetDialogFrame (cinema::GeDialog *dlg, DrawRectFloat &dlgFrame)
 
static MAXON_METHOD void SetDialogFrame (cinema::GeDialog *dlg, const DrawRectFloat &dlgFrame)
 
static MAXON_METHOD FunctionBaseRef AddPositionChangedObserver (cinema::GeDialog *dlg, Int32 commandId)
 
static MAXON_METHOD Bool RemovePositionChangedObserver (cinema::GeDialog *dlg, const FunctionBaseRef &func)
 
static MAXON_METHOD FunctionBaseRef AddMainWindowPositionChangedObserver (cinema::GeDialog *dlg, Int32 commandId)
 
static MAXON_METHOD Bool RemoveMainWindowPositionChangedObserver (const FunctionBaseRef &func)
 
static MAXON_METHOD Int32 GetFontAdjustedHeight (Int32 height)
 
static MAXON_METHOD void ConstrainFramePositionToMonitor (DrawRectInt &frame, const DrawRectInt &monitorFrame)
 
static MAXON_METHOD void GetMonitorFrameFromDialog (cinema::GeDialog *dlg, DrawRectInt &monitorFrame)
 
static MAXON_METHOD Float GetGadgetCornerRadius ()
 

Private Member Functions

 MAXON_INTERFACE_NONVIRTUAL (C4dUiTools, MAXON_REFERENCE_STATIC, "net.maxon.interface.c4duitools")
 

Member Function Documentation

◆ MAXON_INTERFACE_NONVIRTUAL()

MAXON_INTERFACE_NONVIRTUAL ( C4dUiTools  ,
MAXON_REFERENCE_STATIC  ,
"net.maxon.interface.c4duitools"   
)
private

◆ GetMainWindow()

static MAXON_METHOD OSWindowInterface* GetMainWindow ( )
static

Internal.

◆ HighlightManager()

static MAXON_METHOD Result<Bool> HighlightManager ( Int32  managerId,
POPUP_CLOSE_MODE  closeMode 
)
static

Internal.

◆ CloseManagerHighlighting()

static MAXON_METHOD void CloseManagerHighlighting ( )
static

Internal.

◆ GetManagerIdFromString()

static MAXON_METHOD Int32 GetManagerIdFromString ( const String str)
static

Internal.

◆ GetCommandIdFromString()

static MAXON_METHOD Int32 GetCommandIdFromString ( const String commandIdAsString)
static

Internal.

◆ ShowCommandLocationAndHighlightManagerPopups()

static MAXON_METHOD Result<void> ShowCommandLocationAndHighlightManagerPopups ( Int32  commandId,
Int32  managerId,
POPUP_CLOSE_MODE  closeMode 
)
static

Internal.

◆ CloseCommandLocationAndHighlightManagerPopups()

static MAXON_METHOD void CloseCommandLocationAndHighlightManagerPopups ( )
static

Internal.

◆ IsR2L()

static MAXON_METHOD Bool IsR2L ( )
static

Internal.

◆ GetMostRecentActiveWindow()

static MAXON_METHOD OSWindowInterface* GetMostRecentActiveWindow ( )
static

Returns the most recent active window. Can be used in OSGuiRef::ChooseUrls as parent window to return to. Internal.

◆ GetGadgetMinHeight()

static MAXON_METHOD Int32 GetGadgetMinHeight ( )
static

Internal.

◆ GetGadgetSpace()

static MAXON_METHOD Int32 GetGadgetSpace ( )
static

Internal.

◆ GetUserAreaDrawHandler()

static MAXON_METHOD Tuple<OSWindowDrawHandlerInterface*, IntVector2d32> GetUserAreaDrawHandler ( cinema::GeUserArea userArea)
static

Internal.

◆ GetStoredDialogSize()

static MAXON_METHOD IntVector2d32 GetStoredDialogSize ( Int32  pluginId,
Int32  subId,
const IntVector2d32 defaultSize 
)
static

Internal.

◆ GetDialogFrame()

static MAXON_METHOD void GetDialogFrame ( cinema::GeDialog dlg,
DrawRectFloat dlgFrame 
)
static

Internal.

◆ SetDialogFrame()

static MAXON_METHOD void SetDialogFrame ( cinema::GeDialog dlg,
const DrawRectFloat dlgFrame 
)
static

Internal.

◆ AddPositionChangedObserver()

static MAXON_METHOD FunctionBaseRef AddPositionChangedObserver ( cinema::GeDialog dlg,
Int32  commandId 
)
static

Internal.

◆ RemovePositionChangedObserver()

static MAXON_METHOD Bool RemovePositionChangedObserver ( cinema::GeDialog dlg,
const FunctionBaseRef &  func 
)
static

Internal.

◆ AddMainWindowPositionChangedObserver()

static MAXON_METHOD FunctionBaseRef AddMainWindowPositionChangedObserver ( cinema::GeDialog dlg,
Int32  commandId 
)
static

Internal.

◆ RemoveMainWindowPositionChangedObserver()

static MAXON_METHOD Bool RemoveMainWindowPositionChangedObserver ( const FunctionBaseRef &  func)
static

Internal.

◆ GetFontAdjustedHeight()

static MAXON_METHOD Int32 GetFontAdjustedHeight ( Int32  height)
static

Internal.

◆ ConstrainFramePositionToMonitor()

static MAXON_METHOD void ConstrainFramePositionToMonitor ( DrawRectInt frame,
const DrawRectInt monitorFrame 
)
static

Internal.

◆ GetMonitorFrameFromDialog()

static MAXON_METHOD void GetMonitorFrameFromDialog ( cinema::GeDialog dlg,
DrawRectInt monitorFrame 
)
static

Internal.

◆ GetGadgetCornerRadius()

static MAXON_METHOD Float GetGadgetCornerRadius ( )
static

Internal.