window size in the Load method instead of the Paint method menu

User Tag List

Results 1 to 1 of 1
  1. #1
    dcac's Avatar Member
    Reputation
    1
    Join Date
    Mar 2019
    Posts
    26
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    window size in the Load method instead of the Paint method

    using this plugin ( DarkerDiablo3Plugin )

    How can I change Paint method

    my resoultion 3840 * 1600



    ======================================================================
    namespace Turbo.Plugins.Resu
    {
    public class DarkerDiablo3Plugin : BasePlugin, IInGameTopPainter
    {


    public int maxX { get; set; }
    public int maxY { get; set; }
    public TopLabelDecorator DarknessDecorator { get; set; }

    public DarkerDiablo3Plugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)

    {
    base.Load(hud);
    maxX = Hud.Window.Size.Width;
    maxY = Hud.Window.Size.Height;

    DarknessDecorator = new TopLabelDecorator(Hud)
    {
    BackgroundBrush = Hud.Render.CreateBrush(85, 0, 18, 52, 0),
    TextFont = Hud.Render.CreateFont("Segoe UI Light", 7, 250, 255, 255, 255, false, false, true), // it doesn't work without that line
    };


    }

    window size in the Load method instead of the Paint method

Similar Threads

  1. [How-To] Compile Pokémon GO Bot's Solutions in Visual Studio 2013 instead of 2015
    By mpguchii in forum Pokemon GO Hacks|Cheats
    Replies: 0
    Last Post: 07-29-2016, 12:27 PM
  2. Bloody Coins- get your mount in 4-5 hrs instead of 4-5 weeks
    By Superv in forum World of Warcraft Exploits
    Replies: 22
    Last Post: 09-30-2013, 06:59 PM
  3. Travel Dalaran-Sholazar Basin in under 30 secs! (Instead of 5 mins)
    By xsunwellx in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 12-30-2008, 03:30 PM
All times are GMT -5. The time now is 09:31 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search