c4d_gui.h File Reference

Classes

class  C4DGadget
 
class  GadgetPtr
 
class  GeUserArea
 
class  TriState< TYPE >
 
class  UpdateDialogHelper
 
class  GeDialog
 
class  GeModalDialog
 
class  SubDialog
 
class  iCustomGui
 
class  ProgressThread
 
class  ProgressDialog
 
class  AutoWaitPointer
 

Namespaces

 maxon
 
 cinema
 

Macros

#define IDC_OK
 
#define IDC_CANCEL
 
#define FIRST_POPUP_ID
 
#define MENU_ALLOWSUBMENUCOMMAND
 
#define IDM_CM_CLOSEWINDOW
 
#define MAXTIME
 
#define COREMSG_CINEMA_GETCOMMANDNAME
 
#define COREMSG_CINEMA_GETCOMMANDENABLED
 
#define COREMSG_CINEMA_GETCOMMANDCHECKED
 
#define COREMSG_CINEMA_EXECUTEEDITORCOMMAND
 
#define COREMSG_CINEMA_EXECUTESUBID
 
#define COREMSG_CINEMA_EXECUTEOPTIONMODE
 
#define COREMSG_CINEMA_EXECUTEMANAGER
 
#define COREMSG_CINEMA_GETCOMMANDHELP
 
#define COREMSG_CINEMA_FORCE_AM_UPDATE
 
#define COREMSG_UPDATECOMMANDSMESSAGE
 
#define C4DGUIPTR
 
#define C4DGUINOPTR
 
#define C4DGUISCROLLPARENT
 
#define C4DGUIWINDOWID
 
#define DRAWTEXT_HALIGN_LEFT
 
#define DRAWTEXT_HALIGN_CENTER
 
#define DRAWTEXT_HALIGN_RIGHT
 
#define DRAWTEXT_HALIGN_MASK
 
#define DRAWTEXT_VALIGN_TOP
 
#define DRAWTEXT_VALIGN_CENTER
 
#define DRAWTEXT_VALIGN_BOTTOM
 
#define DRAWTEXT_VALIGN_MASK
 
#define DRAWTEXT_STD_ALIGN
 
#define MOUSEMOVE_DELTA_TABLET
 
#define MOUSEMOVE_DELTA_MOUSE
 
#define GUI_MAXRANGE
 
#define GUI_MINRANGE
 
#define GROUPWEIGHTS_PERCENT_W_CNT
 
#define GROUPWEIGHTS_PERCENT_W_VAL
 
#define GROUPWEIGHTS_PERCENT_H_CNT
 
#define GROUPWEIGHTS_PERCENT_H_VAL
 
#define LAYOUTMODE_NONE
 
#define LAYOUTMODE_MINIMIZED
 
#define LAYOUTMODE_MAXIMIZED
 
#define MOUSEPOS
 
#define INTERFACE_ICON_TYPE_NORMAL
 
#define INTERFACE_ICON_TYPE_DISABLED
 
#define INTERFACE_ICON_TYPE_FOCUS
 

Typedefs

typedef UChar OBSOLETE
 

Enumerations

enum  {
  FORMAT_FLOAT ,
  FORMAT_INT ,
  FORMAT_PERCENT ,
  FORMAT_DEGREE ,
  FORMAT_METER ,
  FORMAT_FRAMES ,
  FORMAT_SECONDS ,
  FORMAT_SMPTE
}
 

Functions

Int32 SizePixChr (Int32 pixels, Int32 chars)
 
Int32 SizePix (Int32 pixels)
 
Int32 SizeChr (Int32 chars)
 
void MessageDialog (const maxon::String &str)
 
void MessageDialog (Int32 id)
 
void MessageDialog (Int32 id, const maxon::String &p1)
 
void MessageDialog (Int32 id, const maxon::String &p1, const maxon::String &p2)
 
Bool QuestionDialog (const maxon::String &str)
 
Bool QuestionDialog (Int32 id)
 
Bool QuestionDialog (Int32 id, const maxon::String &p1)
 
Bool QuestionDialog (Int32 id, const maxon::String &p1, const maxon::String &p2)
 
Bool GetInputEvent (Int32 askdevice, BaseContainer &res)
 
Bool GetInputState (Int32 askdevice, Int32 askchannel, BaseContainer &res)
 
Int32 ShowPopupMenu (CDialog *cd, Int32 screenx, Int32 screeny, const BaseContainer &bc, Int32 flags=POPUP_RIGHT|POPUP_EXECUTECOMMANDS|POPUP_ALLOW_FILTERING, Int32 *res_mainid=nullptr)
 
Bool RemoveLastCursorInfo (LASTCURSORINFOFUNC func)
 
String Shortcut2String (Int32 shortqual, Int32 shortkey)
 
String Shortcut2String (const BaseContainer &sc)
 
Vector GetGuiWorldColor (Int32 cid)
 
Bool GetIconCoordInfo (Int32 &id, const Char *ident)
 
Bool GetInterfaceIcon (Int32 type, Int32 id_x, Int32 id_y, Int32 id_w, Int32 id_h, IconData &d)
 
Bool GeIsTabletMode ()
 
Float GetMouseMoveDelta ()
 
void SetBakeStatus (Bool state)
 
Bool GetBakeStatus ()
 
Filename GetDnDFilename (const BaseContainer &msg, Int32 dragType, const void *dragObj, Bool texturesOnly, Bool updateUsage, Bool loadUrl)
 

TriState Set

#define FLAG_CENTER_HORIZ
 
#define FLAG_CENTER_VERT
 
#define FLAG_ALIGN_RIGHT
 

Macro Definition Documentation

◆ IDC_OK

#define IDC_OK

◆ IDC_CANCEL

#define IDC_CANCEL

◆ FIRST_POPUP_ID

#define FIRST_POPUP_ID

The first valid sub-menu item ID.

See also
ShowPopupMenu

◆ MENU_ALLOWSUBMENUCOMMAND

#define MENU_ALLOWSUBMENUCOMMAND

◆ IDM_CM_CLOSEWINDOW

#define IDM_CM_CLOSEWINDOW

The menu ID for a close menu item. Can be used in dialog menus.

◆ MAXTIME

#define MAXTIME

The default maximum time value. Equal to 1.0 hours at 30 fps i.e. about 2.77 hours.

◆ C4DGUIPTR

#define C4DGUIPTR

ID used for GadgetPtr when initialized with a gadget pointer.

◆ C4DGUINOPTR

#define C4DGUINOPTR

ID used for GadgetPtr when not initialized with a gadget pointer.

◆ C4DGUISCROLLPARENT

#define C4DGUISCROLLPARENT

ID used for parent GadgetPtr when retrieving the dimensions of the Dialog within a scrollgroup.

◆ C4DGUIWINDOWID

#define C4DGUIWINDOWID

ID used for GadgetPtr when querying the size of the window with GetItemDim().

◆ MOUSEPOS

#define MOUSEPOS

Mouse position constant for ShowPopupMenu().