mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:57:22 +01:00
preliminary finalized UI
This commit is contained in:
parent
2ca284546d
commit
fb7943cdcd
5 changed files with 149 additions and 60 deletions
|
|
@ -39,8 +39,8 @@ public class UiShared : IDisposable
|
|||
public bool EditTrackerPosition { get; set; }
|
||||
public ImFontPtr UidFont { get; private set; }
|
||||
public bool UidFontBuilt { get; private set; }
|
||||
|
||||
public static bool CtrlPressed() => (GetKeyState(0xA2) & 0x8000) != 0 || (GetKeyState(0xA3) & 0x8000) != 0;
|
||||
public static bool ShiftPressed() => (GetKeyState(0xA1) & 0x8000) != 0 || (GetKeyState(0xA0) & 0x8000) != 0;
|
||||
|
||||
public ApiController ApiController => _apiController;
|
||||
|
||||
|
|
@ -88,8 +88,8 @@ public class UiShared : IDisposable
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Debug($"Font failed to load. {fontFile}");
|
||||
Logger.Debug(ex.ToString());
|
||||
Logger.Warn($"Font failed to load. {fontFile}");
|
||||
Logger.Warn(ex.ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue