3ds Max C++ API Reference
MenuColors Class Reference

#include <imenus.h>

+ Inheritance diagram for MenuColors:

Public Member Functions

 MenuColors ()
 
void ResetDefaults ()
 

Public Attributes

Color mTitleBarBackgroundColor
 
Color mTitleBarTextColor
 
Color mItemBackgroundColor
 
Color mItemTextColor
 
Color mLastExecutedItemTextColor
 
Color mHighlightedItemBackgroundColor
 
Color mHighlightedItemTextColor
 
Color mBorderColor
 
Color mDisabledShadowColor
 
Color mDisabledHighlightColor
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Constructor & Destructor Documentation

◆ MenuColors()

MenuColors ( )
inline
205 { ResetDefaults(); }
void ResetDefaults()
Definition: imenus.h:208

Member Function Documentation

◆ ResetDefaults()

void ResetDefaults ( )
inline
209  {
210  mTitleBarBackgroundColor = Color(.0f, .0f, .0f);
211  mTitleBarTextColor = Color(.75f, .75f, .75f);
212  mItemBackgroundColor = Color(.75f, .75f, .75f);
213  mItemTextColor = Color(.0f, .0f, .0f);
214  mLastExecutedItemTextColor = Color(.95f, .85f, .0f);
215  mHighlightedItemBackgroundColor = Color(.95f, .85f, .0f);
216  mHighlightedItemTextColor = Color(.0f, .0f, .0f);
217  mBorderColor = Color(.0f, .0f, .0f);
218  mDisabledShadowColor = Color(.5f, .5f, .5f);
219  mDisabledHighlightColor = Color(1.0f, 1.0f, 1.0f);
220  }
Definition: color.h:74
Color mHighlightedItemTextColor
Definition: imenus.h:228
Color mDisabledHighlightColor
Definition: imenus.h:231
Color mBorderColor
Definition: imenus.h:229
Color mTitleBarBackgroundColor
Definition: imenus.h:222
Color mItemTextColor
Definition: imenus.h:225
Color mLastExecutedItemTextColor
Definition: imenus.h:226
Color mItemBackgroundColor
Definition: imenus.h:224
Color mTitleBarTextColor
Definition: imenus.h:223
Color mHighlightedItemBackgroundColor
Definition: imenus.h:227
Color mDisabledShadowColor
Definition: imenus.h:230

Member Data Documentation

◆ mTitleBarBackgroundColor

Color mTitleBarBackgroundColor

◆ mTitleBarTextColor

Color mTitleBarTextColor

◆ mItemBackgroundColor

Color mItemBackgroundColor

◆ mItemTextColor

Color mItemTextColor

◆ mLastExecutedItemTextColor

Color mLastExecutedItemTextColor

◆ mHighlightedItemBackgroundColor

Color mHighlightedItemBackgroundColor

◆ mHighlightedItemTextColor

Color mHighlightedItemTextColor

◆ mBorderColor

Color mBorderColor

◆ mDisabledShadowColor

Color mDisabledShadowColor

◆ mDisabledHighlightColor

Color mDisabledHighlightColor