DialogControls-ContextMenu

From Bohemia Interactive Community
Jump to: navigation, search

CT_CONTEXT_MENU=14

TokenNames common to most controls, such as x,y,w,h,text,idc... are not listed here.


Properties
Name Type Remark
colorBorder color array
colorChecked color array
colorBorder color array
colorSelectBackground color array
colorSeparator color array
colorEnabled color array
colorDisabled color array

  • Example:

class dialog { class controls { class Menu { type = 14; idc = 204; style = 0; x = 0; y = 0; w = 0; h = 0; colorBackground[] = {0.3,0.3,0.3,1}; colorBorder[] = {1,1,1,1}; colorSeparator[] = {1,1,1,1}; colorSelectBackground[] = {1,1,1,0.3}; colorChecked[] = {0,0,1,1}; colorEnabled[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.5}; sizeEx = 0.025; font = "TahomaB"; }; }; };