/// <description>
 /// Accepts a 4-tuple in the same form as getValue returns.
 /// </description>
 /// <see cref="GuiTerrPreviewCtrl::getValue()" />
 public void SetValue(string tuple)
 {
     InternalUnsafeMethods.SetValue__Args _args = new InternalUnsafeMethods.SetValue__Args()
     {
         tuple = tuple,
     };
     InternalUnsafeMethods.SetValue()(ObjectPtr, _args);
 }
Example #2
0
 /// <description>
 /// Sets the list of options on the given row.
 /// </description>
 /// <param name="row">Index of the row to set options on.</param>
 /// <param name="optionsList">A tab separated list of options for the control.</param>
 public void SetValue(int row, float value)
 {
     InternalUnsafeMethods.SetValue__Args _args = new InternalUnsafeMethods.SetValue__Args()
     {
         row   = row,
         value = value,
     };
     InternalUnsafeMethods.SetValue()(ObjectPtr, _args);
 }
Example #3
0
 /// <description>
 /// Set position of the thumb on the slider.
 /// </description>
 /// <param name="pos">New slider position (from range.x to range.y)</param>
 /// <param name="doCallback">If true, the altCommand callback will be invoked</param>
 public void SetValue(float pos, bool doCallback = false)
 {
     InternalUnsafeMethods.SetValue__Args _args = new InternalUnsafeMethods.SetValue__Args()
     {
         pos        = pos,
         doCallback = doCallback,
     };
     InternalUnsafeMethods.SetValue()(ObjectPtr, _args);
 }
Example #4
0
 /// <description>
 /// settingObj.setValue(settingName, value);
 /// </description>
 public void SetValue(string settingName, string value = "")
 {
     InternalUnsafeMethods.SetValue__Args _args = new InternalUnsafeMethods.SetValue__Args()
     {
         settingName = settingName,
         value       = value,
     };
     InternalUnsafeMethods.SetValue()(ObjectPtr, _args);
 }
 /// <description>
 /// Set the offset of the bitmap within the control.
 /// </description>
 /// <param name="x">The x-axis offset of the image.</param>
 /// <param name="y">The y-axis offset of the image.</param>
 public void SetValue(int x, int y)
 {
     InternalUnsafeMethods.SetValue__Args _args = new InternalUnsafeMethods.SetValue__Args()
     {
         x = x,
         y = y,
     };
     InternalUnsafeMethods.SetValue()(ObjectPtr, _args);
 }