/// <summary> /// Sets the drawing properties, namely rectangle size and position for the current displayed messagebox at the bottom of the screen.. /// </summary> public virtual void Set_MessageBox_Drawing_Properties() { try { Mod_Menu_MessageBox_Properties = DirectX_Menu_Methods.Get_Menu_Size_Location_Message(this.Mod_Menu_MessageBox_Strings.ToArray(), 50.0F, 80.0F, Program.Sonic_Heroes_Overlay.direct2DWindowTarget, Program.Sonic_Heroes_Overlay.overlayWinForm); } catch { } }
/// <summary> /// Sets the current message to be displayed in the messagebox. /// </summary> /// <param name="Message"></param> public virtual void Set_MessageBox_Message(List <string> Message) { try { // Obtain current selection. Mod_Menu_MessageBox_Strings = Message; Mod_Menu_MessageBox_Properties = DirectX_Menu_Methods.Get_Menu_Size_Location_Message(Mod_Menu_MessageBox_Strings.ToArray(), 50.0F, 80.0F, Program.Sonic_Heroes_Overlay.direct2DWindowTarget, Program.Sonic_Heroes_Overlay.overlayWinForm); } catch { } }