-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from blish-hud/feat/events-common-requests
Updated to Blish HUD v0.11.0+. Added feature to move where notificat…
- Loading branch information
Showing
10 changed files
with
280 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using Blish_HUD.Controls; | ||
using Blish_HUD.Graphics.UI; | ||
using Microsoft.Xna.Framework; | ||
|
||
namespace Events_Module { | ||
public class BasicSettingsView : View { | ||
|
||
protected override void Build(Container buildPanel) { | ||
var setPosition = new StandardButton() { | ||
Text = "Set Notification Position", | ||
Width = 196, | ||
Location = new Point(32, 32), | ||
Parent = buildPanel | ||
}; | ||
|
||
setPosition.Click += SetPosition_Click; | ||
} | ||
|
||
private void SetPosition_Click(object sender, Blish_HUD.Input.MouseEventArgs e) => EventsModule.ModuleInstance.ShowSetNotificationPositions(); | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.