public  void addScheme(int id, ColorI fontColor, ColorI fontColorHL, ColorI fontColorSEL){

pInvokes.m_ts.fnGuiPopUpMenuCtrlEx_addScheme(_ID, id, fontColor.AsString(), fontColorHL.AsString(), fontColorSEL.AsString());
}
예제 #2
0
/// <summary>
/// @brief Changes the color of the fog.
/// 	@params new_color the new fog color (rgb 0-255, a is ignored.)
/// 
/// </summary>
public  void SetFogColor(string volumetricfog, ColorI new_color){


m_ts.fnVolumetricFog_SetFogColor(volumetricfog, new_color.AsString());
}
예제 #3
0
/// <summary>
/// Return the integer character code value corresponding to the first character in the given string.
/// )
/// 
/// </summary>
public  ColorI dnt_testcase_5(ColorI chr){


return new ColorI ( m_ts.fn_dnt_testcase_5(chr.AsString()));
}
예제 #4
0
/// <summary>
/// @brief Create a new scheme and add it to the list of choices for when a new text entry is added.				   @param id Numerical id associated with this scheme				   @param fontColor The base text font color. Formatted as \"Red Green Blue\", each a numerical between 0 and 255.				   @param fontColorHL Color of text when being highlighted. Formatted as \"Red Green Blue\", each a numerical between 0 and 255.				   @param fontColorSel Color of text when being selected. Formatted as \"Red Green Blue\", each a numerical between 0 and 255.)
/// </summary>
public  void addScheme(string guipopupmenuctrlex, int id, ColorI fontColor, ColorI fontColorHL, ColorI fontColorSEL){


m_ts.fnGuiPopUpMenuCtrlEx_addScheme(guipopupmenuctrlex, id, fontColor.AsString(), fontColorHL.AsString(), fontColorSEL.AsString());
}
예제 #5
0
/// <summary>
/// Set control font color. )
/// </summary>
public  void setControlFontColor(string guicontrol, ColorI color){


m_ts.fnGuiControl_setControlFontColor(guicontrol, color.AsString());
}
예제 #6
0
            public void setDataColor(ColorI color, int callbackType)
            {
                GuiEditorProfiles.GuiEditorProfileInspector GuiEditorProfileInspector = "GuiEditorProfileInspector";
                ProfilePane ProfilePane = "ProfilePane";
                if (ProfilePane.controlProfile != 0)
                    {
                    string property = Util.strreplace(this.text, " ", "");

                    // Set the object field to the color.
                    GuiEditorProfileInspector.setObjectField(property, color.AsString());

                    // Update the color of the swatchbutton.
                    onSwatchButtonColorChanged();
                    }
            }
예제 #7
0
public  void setControlFontColor(ColorI color){

pInvokes.m_ts.fnGuiControl_setControlFontColor(_ID, color.AsString());
}
public  void SetFogColor(ColorI new_color){

pInvokes.m_ts.fnVolumetricFog_SetFogColor(_ID, new_color.AsString());
}