mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-01-03 14:23:43 +01:00
.
This commit is contained in:
parent
7710cfadfa
commit
2d6fd6015d
88 changed files with 2304 additions and 383 deletions
52
GlamourerOld/Gui/InterfaceMiscellaneous.cs
Normal file
52
GlamourerOld/Gui/InterfaceMiscellaneous.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using Dalamud.Game.ClientState.Objects.Types;
|
||||
using ImGuiNET;
|
||||
|
||||
namespace Glamourer.Gui;
|
||||
|
||||
//internal partial class Interface
|
||||
//{
|
||||
//
|
||||
// private static bool DrawMiscellaneous(CharacterSave save, Character? player)
|
||||
// {
|
||||
// var ret = false;
|
||||
// if (!ImGui.CollapsingHeader("Miscellaneous"))
|
||||
// return ret;
|
||||
//
|
||||
// ret |= DrawCheckMark("Hat Visible", save.HatState, v =>
|
||||
// {
|
||||
// save.HatState = v;
|
||||
// player?.SetHatVisible(v);
|
||||
// });
|
||||
//
|
||||
// ret |= DrawCheckMark("Weapon Visible", save.WeaponState, v =>
|
||||
// {
|
||||
// save.WeaponState = v;
|
||||
// player?.SetWeaponHidden(!v);
|
||||
// });
|
||||
//
|
||||
// ret |= DrawCheckMark("Visor Toggled", save.VisorState, v =>
|
||||
// {
|
||||
// save.VisorState = v;
|
||||
// player?.SetVisorToggled(v);
|
||||
// });
|
||||
//
|
||||
// ret |= DrawCheckMark("Is Wet", save.IsWet, v =>
|
||||
// {
|
||||
// save.IsWet = v;
|
||||
// player?.SetWetness(v);
|
||||
// });
|
||||
//
|
||||
// var alpha = save.Alpha;
|
||||
// if (ImGui.DragFloat("Alpha", ref alpha, 0.01f, 0f, 1f, "%.2f") && alpha != save.Alpha)
|
||||
// {
|
||||
// alpha = (float)Math.Round(alpha > 1 ? 1 : alpha < 0 ? 0 : alpha, 2);
|
||||
// save.Alpha = alpha;
|
||||
// ret = true;
|
||||
// if (player != null)
|
||||
// player.Alpha() = alpha;
|
||||
// }
|
||||
//
|
||||
// return ret;
|
||||
// }
|
||||
//}
|
||||
Loading…
Add table
Add a link
Reference in a new issue