styyx-util 1.0
Utility Header for SKSE Plugin development
Loading...
Searching...
No Matches
FUCK Namespace Reference

Namespaces

namespace  INI
 Delta save/load INI values.

Classes

struct  ManagedHotkey
class  ITool
 Implement this to add a new Tool to the FUCK Sidebar. More...
class  IWindow
 Implement this to add a floating, independent Window to the FUCK framework. More...
class  Image
 RAII wrapper for custom images. More...
class  PluginSettings
 Convenience wrapper for Plugin INI Loading/Saving. More...
class  MenuEventListener
 RAII Wrapper for listening to Skyrim UI Menu events. More...

Enumerations

enum class  Font { kRegular , kLarge }
enum class  Overlay {
  kGrid , kCrosshair , kGoldenSpiral , kGoldenRatio ,
  kTriangle
}
enum class  InputDevice { kMouseKeyboard , kGamepad }
enum class  Modifier { kShift = 0 , kCtrl = 1 , kAlt = 2 }
enum class  BindResult { kNone , kBound , kCancelled }
enum class  EditorBoundsState { kLocked , kNormal , kSelected , kHovered }
enum class  TableBgTarget { kNone = 0 , kRowBg0 = 1 , kRowBg1 = 2 , kCellBg = 3 }
enum class  WindowFlags {
  kNone = 0 , kPauseHard = 1 << 0 , kPauseSoft = 1 << 1 , kBlockVanity = 1 << 2 ,
  kHideHUD = 1 << 3 , kBlurBackground = 1 << 4 , kPassInputToGame = 1 << 5 , kCloseOnEsc = 1 << 6 ,
  kCloseOnGameMenu = 1 << 7 , kNoDecoration = 1 << 8 , kNoBackground = 1 << 9 , kExtendBorder = 1 << 10 ,
  kNoResize = 1 << 11 , kNoMove = 1 << 12 , kAutoResize = 1 << 13 , kIgnoreUserScale = 1 << 14 ,
  kCustomPosition = 1 << 15
}
enum class  TableFlags {
  kNone = 0 , kResizable = 1 << 0 , kReorderable = 1 << 1 , kHideable = 1 << 2 ,
  kSortable = 1 << 3 , kNoSavedSettings = 1 << 4 , kContextMenuInBody = 1 << 5 , kRowBg = 1 << 6 ,
  kBordersInnerH = 1 << 7 , kBordersOuterH = 1 << 8 , kBordersInnerV = 1 << 9 , kBordersOuterV = 1 << 10 ,
  kBordersH = kBordersInnerH | kBordersOuterH , kBordersV = kBordersInnerV | kBordersOuterV , kBorders = kBordersInnerH | kBordersOuterH | kBordersInnerV | kBordersOuterV , kSizingFixedFit = 1 << 13 ,
  kSizingFixedSame = 2 << 13 , kSizingStretchProp = 3 << 13 , kSizingStretchSame = 4 << 13
}
enum class  TableColumnFlags {
  kNone = 0 , kDisabled = 1 << 0 , kDefaultHide = 1 << 1 , kDefaultSort = 1 << 2 ,
  kWidthStretch = 1 << 3 , kWidthFixed = 1 << 4 , kNoResize = 1 << 5 , kNoReorder = 1 << 6 ,
  kNoHide = 1 << 7 , kNoClip = 1 << 8 , kNoSort = 1 << 9 , kNoSortAscending = 1 << 10 ,
  kNoSortDescending = 1 << 11 , kNoHeaderLabel = 1 << 12 , kNoHeaderWidth = 1 << 13 , kPreferSortAscending = 1 << 14 ,
  kPreferSortDescending = 1 << 15 , kIndentEnable = 1 << 16 , kIndentDisable = 1 << 17
}
enum class  DragDropFlags {
  kNone = 0 , kSourceNoPreviewTooltip = 1 << 0 , kSourceNoDisableHover = 1 << 1 , kSourceNoHoldToOpenOthers = 1 << 2 ,
  kSourceAllowNullID = 1 << 3 , kSourceExtern = 1 << 4 , kSourceAutoExpirePayload = 1 << 5 , kAcceptBeforeDelivery = 1 << 10 ,
  kAcceptNoDrawDefaultRect = 1 << 11 , kAcceptNoPreviewTooltip = 1 << 12 , kAcceptPeekOnly = kAcceptBeforeDelivery | kAcceptNoDrawDefaultRect
}
enum class  ItemFlags {
  kNone = 0 , kNoTabStop = 1 << 0 , kButtonRepeat = 1 << 1 , kDisabled = 1 << 2 ,
  kNoNav = 1 << 3
}
enum class  PopupFlags { kNone = 0 , kAnyPopupId = 1 << 10 , kAnyPopupLevel = 1 << 11 , kAnyPopup = kAnyPopupId | kAnyPopupLevel }
enum class  HotkeyFlags : int {
  kNone = 0 , kAlignNear = 1 << 0 , kLabelRight = 1 << 1 , kCtrlToRebind = 1 << 2 ,
  kAlwaysHighlight = 1 << 3 , kNoModifiers = 1 << 4
}
enum class  PosInitResult { kNotReady , kUnchanged , kChanged }

Functions

WindowFlags operator| (WindowFlags a, WindowFlags b)
bool operator& (WindowFlags a, WindowFlags b)
TableFlags operator| (TableFlags a, TableFlags b)
TableColumnFlags operator| (TableColumnFlags a, TableColumnFlags b)
DragDropFlags operator| (DragDropFlags a, DragDropFlags b)
bool operator& (DragDropFlags a, DragDropFlags b)
ItemFlags operator| (ItemFlags a, ItemFlags b)
bool operator& (ItemFlags a, ItemFlags b)
HotkeyFlags operator| (HotkeyFlags a, HotkeyFlags b)
bool operator& (HotkeyFlags a, HotkeyFlags b)
FUCK_Interface *& GetInterface ()
bool Connect (const char *pluginName, unsigned int a_minVersion=FUCK_API_VERSION)
 Connects to the FUCK Host Framework.
void RegisterTool (ITool *tool)
void RegisterWindow (IWindow *window)
void UnregisterWindow (IWindow *window)
float GetResolutionScale ()
 Gets the physical screen resolution scale multiplier (Base 1080p).
float GetGlobalScale ()
 Gets the overall screen resolution combined with the user's selected UI Size Slider multiplier.
float GetUserScale ()
 Gets the user's custom UI Size Slider multiplier.
float Scale (float value)
 Scales by the Monitor Resolution.
ImVec2 Scale (float x, float y)
ImVec2 Scale (const ImVec2 &value)
float UIScale (float value)
 Scales by both Resolution and the User's UI Size slider.
ImVec2 UIScale (float x, float y)
ImVec2 UIScale (const ImVec2 &value)
ImVec2 GetDisplaySize ()
ImVec2 TranslateScaleformToScreen (float stageX, float stageY)
 Converts standard 1280x720 Flash Stage coordinates into physical screen pixels (accounting for Aspect Ratio borders).
ImVec2 TranslateScaleformToScreen (const ImVec2 &stagePos)
 Converts standard 1280x720 Flash Stage coordinates into physical screen pixels (accounting for Aspect Ratio borders).
void SuspendRendering (bool suspend)
void SetMenuOpen (bool open)
bool IsMenuOpen ()
ImFont * GetFont (Font font)
void PushFont (ImFont *font, float size=0.0f)
void PopFont ()
void SetWindowFontScale (float scale)
void PushStyleColor (ImGuiCol idx, const ImVec4 &col)
void PopStyleColor (int count=1)
void PushStyleVar (ImGuiStyleVar idx, float val)
void PushStyleVar (ImGuiStyleVar idx, const ImVec2 &val)
void PopStyleVar (int count=1)
float GetStyleVar (ImGuiStyleVar idx)
ImVec2 GetStyleVarVec (ImGuiStyleVar idx)
ImVec4 GetStyleColorVec4 (ImGuiCol idx)
float GetTextLineHeight ()
float GetTextLineHeightWithSpacing ()
float GetFrameHeight ()
float GetFrameHeightWithSpacing ()
void SetCursorPosX (float x)
void SetCursorPosY (float y)
ImVec2 GetCursorPos ()
void SetCursorPos (const ImVec2 &pos)
ImVec2 GetCursorScreenPos ()
void SetCursorScreenPos (const ImVec2 &pos)
void AlignTextToFramePadding ()
ImVec2 GetContentRegionAvail ()
float CalcItemWidth ()
ImVec2 CalcTextSize (const char *text, const char *text_end=nullptr, bool hide_text_after_double_hash=false, float wrap_width=-1.0f)
ImVec2 GetItemRectMin ()
ImVec2 GetItemRectMax ()
ImVec2 GetItemRectSize ()
void SetNextItemWidth (float width)
void SetNextItemOpen (bool is_open, int cond=0)
void Dummy (const ImVec2 &size)
void Spacing (int count=1)
void Indent (float width=0.0f)
void Unindent (float width=0.0f)
void SameLine (float offset_from_start_x=0.0f, float spacing=-1.0f)
void Separator ()
void SeparatorThick ()
void SeparatorText (const char *label)
void BeginGroup ()
void EndGroup ()
void BeginDisabled (bool disabled=true)
void EndDisabled ()
void PushID (const char *str_id)
void PushID (int int_id)
void PushID (const void *ptr_id)
void PopID ()
void PushItemFlag (ItemFlags flag, bool enabled)
void PopItemFlag ()
float GetDeltaTime ()
double GetTime ()
ImVec2 GetMouseDelta ()
ImVec2 GetMousePos ()
float GetMouseWheel ()
void SetGameTimeFrozen (bool frozen)
void SetAutoVanityBlocked (bool blocked)
void SetHardPause (bool paused)
void SetSoftPause (bool paused)
void ForceCursor (bool force)
bool IsInputPressed (const void *inputEvent, std::uint32_t keyId)
bool IsInputDown (std::uint32_t keyId)
float GetAnalogInput (std::uint32_t keyId)
bool IsModifierPressed (Modifier mod)
InputDevice GetInputDevice ()
const char * GetKeyName (std::uint32_t k)
bool IsGamepadKey (std::uint32_t k)
void AbortBinding ()
bool IsBinding ()
void StartBinding (std::uint32_t key, std::int32_t mod1, std::int32_t mod2, bool disallowModifiers=false)
BindResult UpdateBinding (const void *inputEvent, std::uint32_t *outKey, std::int32_t *outMod1, std::int32_t *outMod2)
BindResult GetInputBind (const void *inputEvent, std::uint32_t *outKey, std::int32_t *outMod1, std::int32_t *outMod2)
bool IsPopupOpen (const char *str_id=nullptr, PopupFlags flags=PopupFlags::kNone)
bool IsItemHovered (int flags=0)
bool IsItemClicked (int mouse_button=0)
bool IsItemActive ()
bool IsItemFocused ()
bool IsItemDeactivated ()
bool IsItemDeactivatedAfterEdit ()
bool IsAnyItemActive ()
bool IsAnyItemHovered ()
bool IsWindowFocused (int flags=0)
bool IsWindowHovered (int flags=0)
bool IsMouseDown (int button)
bool IsMouseClicked (int button, bool repeat=false)
bool IsMouseReleased (int button)
bool IsKeyDown (ImGuiKey key)
bool IsKeyPressed (ImGuiKey key, bool repeat=true)
void SetKeyboardFocusHere (int offset=0)
void SetItemDefaultFocus ()
bool IsWidgetFocused (const char *label)
bool BeginDragDropSource (DragDropFlags flags=DragDropFlags::kNone)
bool SetDragDropPayload (const char *type, const void *data, size_t sz, int cond=0)
void EndDragDropSource ()
bool BeginDragDropTarget ()
const ImGuiPayload * AcceptDragDropPayload (const char *type, DragDropFlags flags=DragDropFlags::kNone)
void EndDragDropTarget ()
bool Button (const char *label)
bool InvisibleButton (const char *str_id, const ImVec2 &size, int flags=0)
bool Checkbox (const char *label, bool *v, bool alignFar=true, bool labelLeft=true)
bool Hotkey (const char *label, std::uint32_t key, std::int32_t modifier, std::int32_t modifier2, bool alignFar=true, bool labelLeft=true, bool flashing=false)
bool ToggleButton (const char *label, bool *v, bool alignFar=true, bool labelLeft=true)
bool InputText (const char *label, char *buf, size_t buf_size, int flags=0)
bool ColorEdit3 (const char *label, float col[3], int flags=0)
bool ColorEdit4 (const char *label, float col[4], int flags=0)
bool SliderFloat (const char *label, float *v, float min, float max, const char *fmt="%.3f")
bool SliderInt (const char *label, int *v, int min, int max, const char *fmt="%d")
bool DragInt (const char *label, int *v, float speed=1.0f, int min=0, int max=0, const char *fmt="%d")
bool DragFloat (const char *label, float *v, float speed=1.0f, float min=0.0f, float max=0.0f, const char *fmt="%.3f")
bool DragFloat2 (const char *label, float v[2], float speed=1.0f, float min=0.0f, float max=0.0f, const char *fmt="%.3f")
bool DragFloat3 (const char *label, float v[3], float speed=1.0f, float min=0.0f, float max=0.0f, const char *fmt="%.3f")
bool DragFloat4 (const char *label, float v[4], float speed=1.0f, float min=0.0f, float max=0.0f, const char *fmt="%.3f")
bool Combo (const char *label, int *current_item, const char *const *items, int items_count)
bool ComboWithFilter (const char *label, int *current_item, const char *const *items, int items_count, int popup_max_height_in_items=-1)
bool ComboForm (const char *label, std::uint32_t *currentFormID, std::uint8_t formType)
bool ComboForm (const char *label, std::string *currentEdid, std::uint8_t formType)
bool Selectable (const char *label, bool selected=false, int flags=0, const ImVec2 &size=ImVec2(0, 0))
ImGuiTableSortSpecs * GetTableSortSpecs ()
void Header (const char *label)
void LeftLabel (const char *label)
void CenteredText (const char *label, bool vertical=false)
void SetTooltip (const char *fmt)
void HelpMarker (const char *desc)
void TextColored (const ImVec4 &color, const char *fmt,...)
void TextColoredWrapped (const ImVec4 &col, const char *fmt,...)
void TextDisabled (const char *fmt,...)
void Text (const char *fmt,...)
void TextWrapped (const char *fmt,...)
void TextUnformatted (const char *text, const char *text_end=nullptr)
bool ButtonIconWithLabel (const char *label, ImTextureID textureID, const ImVec2 &size, bool alignFar=true, bool labelLeft=true)
bool ImageButton (const char *str_id, ImTextureID user_texture_id, const ImVec2 &image_size, const ImVec4 *tint=nullptr)
void Stepper (const char *label, const char *text, bool *outLeft, bool *outRight)
bool BeginWindow (const char *name, bool *p_open=nullptr, int flags=0)
void EndWindow ()
void ExtendWindowPastBorder ()
ImVec2 GetWindowPos ()
ImVec2 GetWindowSize ()
void SetWindowPos (const ImVec2 &pos, int cond=0)
void SetWindowSize (const ImVec2 &size, int cond=0)
void SetNextWindowPos (const ImVec2 &pos, int cond=0, const ImVec2 &pivot=ImVec2(0, 0))
void SetNextWindowSize (const ImVec2 &size, int cond=0)
void BeginChild (const char *str_id, const ImVec2 &size=ImVec2(0, 0), bool border=false, int flags=0)
void EndChild ()
void BeginPanelFrame (const char *str_id, float padding=8.0f)
 Begins an inset child panel using an inside-out group margin. This prevents native ImGui window padding from shrinking the clipping rect and breaking scrollbars.
void EndPanelFrame (float padding=8.0f)
 Closes the panel opened by BeginPanelFrame.
bool TreeNode (const char *label)
void TreePop ()
bool CollapsingHeader (const char *label, int flags=0)
bool BeginPopupContextItem (const char *str_id=nullptr, int mouse_button=1)
void EndPopup ()
bool BeginTabBar (const char *str_id, int flags=0)
void EndTabBar ()
bool BeginTabItem (const char *label, int flags=0)
void EndTabItem ()
bool BeginTable (const char *str_id, int column, TableFlags flags=TableFlags::kNone, const ImVec2 &outer_size=ImVec2(0.0f, 0.0f), float inner_width=0.0f)
void EndTable ()
void TableSetBgColor (TableBgTarget target, ImU32 color, int column_n=-1)
float GetColumnWidth (int column_index=-1)
bool UpdateProportionalWeight (float &inOutWeight, float totalWidth)
 Utility to capture a Table Column's width ratio upon releasing the mouse. Returns true when the weight has meaningfully changed so you can selectively trigger a config save.
void TableSetupColumn (const char *label, TableColumnFlags flags=TableColumnFlags::kNone, float init_width_or_weight=0.0f, std::uint32_t user_id=0)
void TableNextRow (int row_flags=0, float min_row_height=0.0f)
bool TableNextColumn ()
void TableHeadersRow ()
void Columns (int count=1, const char *id=nullptr, bool border=true)
void NextColumn ()
ImTextureID GetIconForKey (std::uint32_t key, ImVec2 *outSize=nullptr)
void Spinner (const char *label, float radius, float thickness, const ImVec4 &color)
void DrawOverlay (Overlay type, float thickness=1.0f, ImU32 color=0, float paramA=0.0f, float paramB=0.0f, float paramC=0.0f, float paramD=0.0f)
void DrawGrid (float thickness=0.0f, ImU32 color=0, float rows=3.0f, float cols=3.0f, float rotationDeg=0.0f)
void DrawCrosshair (float thickness=1.0f, ImU32 color=0, float rows=1.0f, float cols=1.0f)
void DrawGoldenSpiral (float thickness=1.0f, ImU32 color=0, int anchorIndex=0, float turns=6.0f, float rotationDeg=0.0f, float scale=1.0f, bool showSquares=false)
void DrawGoldenGrid (float thickness=1.0f, ImU32 color=0, int subdivisions=0)
void DrawTriangle (float thickness=1.0f, ImU32 color=0, bool mirror=false)
void DrawRect (const ImVec2 &min, const ImVec2 &max, const ImVec4 &col, float rounding=0.0f, float thickness=1.0f)
void DrawRectFilled (const ImVec2 &min, const ImVec2 &max, const ImVec4 &col, float rounding=0.0f)
void DrawLine (const ImVec2 &p1, const ImVec2 &p2, const ImVec4 &col, float thickness=1.0f)
void DrawImage (ImTextureID textureId, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1))
void DrawImageQuad (ImTextureID textureId, const ImVec2 &p1, const ImVec2 &p2, const ImVec2 &p3, const ImVec2 &p4, const ImVec2 &uv1, const ImVec2 &uv2, const ImVec2 &uv3, const ImVec2 &uv4, const ImVec4 &tint_col=ImVec4(1, 1, 1, 1))
void AddImage (ImTextureID textureId, const ImVec2 &min, const ImVec2 &max, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &col=ImVec4(1, 1, 1, 1))
void DrawBackgroundImage (ImTextureID tex, float alpha)
void DrawBackgroundLine (const ImVec2 &p1, const ImVec2 &p2, ImU32 col, float thickness)
void DrawBackgroundRect (const ImVec2 &min, const ImVec2 &max, ImU32 col, float thickness)
void DrawScreenRect (const ImVec2 &min, const ImVec2 &max, ImU32 col, float rounding=0.0f, float thickness=1.0f)
void DrawScreenRectFilled (const ImVec2 &min, const ImVec2 &max, ImU32 col, float rounding=0.0f)
void DrawScreenLine (const ImVec2 &p1, const ImVec2 &p2, ImU32 col, float thickness=1.0f)
const char * Translate (const char *key)
void LoadTranslation (const char *pluginName)
void SanitizePath (char *dest, const char *source, size_t size)
void GetPluginConfigPath (const char *pluginName, char *dest, size_t size)
void AddMenuListener (void *userdata, void(*callback)(const char *menuName, bool opening, void *userdata))
void RemoveMenuListener (void *userdata)
template<size_t N>
void StringCopy (char(&dest)[N], const char *source)
 String copy utility.
template<size_t N>
void StringCopy (char(&dest)[N], const std::string &source)
bool DrawManagedHotkey (const char *label, ManagedHotkey &h, HotkeyFlags flags=HotkeyFlags::kNone, float iconScale=1.0f, float labelScale=1.0f)
 Used for assigning Hotkeys within the FUCK interface.
bool UpdateManagedHotkey (const void *e, ManagedHotkey &h)
bool ProcessManagedHotkey (const void *e, ManagedHotkey &h)
bool IsManagedHotkeyDown (ManagedHotkey &h)
void AbortManagedHotkey (ManagedHotkey &h)
void DrawEditorBounds (const ImVec2 &min, const ImVec2 &max, EditorBoundsState state=EditorBoundsState::kNormal, float thickness=2.0f, bool screenSpace=false, const ImVec2 *customAnchor=nullptr)
 Visual for UI widget editing. Handles Screen-Space and Window-Space.
bool ClampPosToScreen (ImVec2 &pos, float outOfBoundsTolerance=50.0f)
 Clamps a window or widget position to the screen bounds if it strays too far off-screen.
PosInitResult InitializeCustomPosition (ImVec2 &pos, const ImVec2 &defaultPos, bool &outHasClamped, float tolerance=50.0f)
 Handles first-frame initialization, default loading, and screen clamping for custom-positioned windows.
bool WASDNudge (float &outDeltaX, float &outDeltaY, bool isActiveOrHovered, float step=1.0f, float sprintMult=10.0f)
 WASD key widget nudging.
bool Combo (const char *label, int *current_item, const std::vector< std::string > &items)
bool ComboWithFilter (const char *label, int *current_item, std::span< const std::string > items, int popup_max_height_in_items=-1)
bool InputText (const char *label, std::string *str, int flags=0)
template<typename T>
bool EnumStepper (const char *label, T *current_val, const std::vector< std::string > &items, bool a_translate=true)
void SeparatorVertical ()
void PushItemWidth (float item_width)
void PopItemWidth ()
bool BeginTooltip ()
void EndTooltip ()
void SetScrollHereY (float center_y_ratio=0.5f)
bool InputTextMultiline (const char *label, char *buf, size_t buf_size, const ImVec2 &size=ImVec2(0, 0), int flags=0)
bool InputTextMultiline (const char *label, std::string *str, const ImVec2 &size=ImVec2(0, 0), int flags=0)

Variables

const char * g_pluginName = "UnknownPlugin"

Enumeration Type Documentation

◆ BindResult

enum class FUCK::BindResult
strong
Enumerator
kNone 
kBound 
kCancelled 

◆ DragDropFlags

enum class FUCK::DragDropFlags
strong
Enumerator
kNone 
kSourceNoPreviewTooltip 
kSourceNoDisableHover 
kSourceNoHoldToOpenOthers 
kSourceAllowNullID 
kSourceExtern 
kSourceAutoExpirePayload 
kAcceptBeforeDelivery 
kAcceptNoDrawDefaultRect 
kAcceptNoPreviewTooltip 
kAcceptPeekOnly 

◆ EditorBoundsState

enum class FUCK::EditorBoundsState
strong
Enumerator
kLocked 
kNormal 
kSelected 
kHovered 

◆ Font

enum class FUCK::Font
strong
Enumerator
kRegular 
kLarge 

◆ HotkeyFlags

enum class FUCK::HotkeyFlags : int
strong
Enumerator
kNone 
kAlignNear 
kLabelRight 
kCtrlToRebind 
kAlwaysHighlight 
kNoModifiers 

◆ InputDevice

enum class FUCK::InputDevice
strong
Enumerator
kMouseKeyboard 
kGamepad 

◆ ItemFlags

enum class FUCK::ItemFlags
strong
Enumerator
kNone 
kNoTabStop 
kButtonRepeat 
kDisabled 
kNoNav 

◆ Modifier

enum class FUCK::Modifier
strong
Enumerator
kShift 
kCtrl 
kAlt 

◆ Overlay

enum class FUCK::Overlay
strong
Enumerator
kGrid 
kCrosshair 
kGoldenSpiral 
kGoldenRatio 
kTriangle 

◆ PopupFlags

enum class FUCK::PopupFlags
strong
Enumerator
kNone 
kAnyPopupId 
kAnyPopupLevel 
kAnyPopup 

◆ PosInitResult

enum class FUCK::PosInitResult
strong
Enumerator
kNotReady 
kUnchanged 
kChanged 

◆ TableBgTarget

enum class FUCK::TableBgTarget
strong
Enumerator
kNone 
kRowBg0 
kRowBg1 
kCellBg 

◆ TableColumnFlags

enum class FUCK::TableColumnFlags
strong
Enumerator
kNone 
kDisabled 
kDefaultHide 
kDefaultSort 
kWidthStretch 
kWidthFixed 
kNoResize 
kNoReorder 
kNoHide 
kNoClip 
kNoSort 
kNoSortAscending 
kNoSortDescending 
kNoHeaderLabel 
kNoHeaderWidth 
kPreferSortAscending 
kPreferSortDescending 
kIndentEnable 
kIndentDisable 

◆ TableFlags

enum class FUCK::TableFlags
strong
Enumerator
kNone 
kResizable 
kReorderable 
kHideable 
kSortable 
kNoSavedSettings 
kContextMenuInBody 
kRowBg 
kBordersInnerH 
kBordersOuterH 
kBordersInnerV 
kBordersOuterV 
kBordersH 
kBordersV 
kBorders 
kSizingFixedFit 
kSizingFixedSame 
kSizingStretchProp 
kSizingStretchSame 

◆ WindowFlags

enum class FUCK::WindowFlags
strong
Enumerator
kNone 
kPauseHard 
kPauseSoft 
kBlockVanity 
kHideHUD 
kBlurBackground 
kPassInputToGame 
kCloseOnEsc 
kCloseOnGameMenu 
kNoDecoration 
kNoBackground 
kExtendBorder 
kNoResize 
kNoMove 
kAutoResize 
kIgnoreUserScale 
kCustomPosition 

Function Documentation

◆ AbortBinding()

void FUCK::AbortBinding ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AbortManagedHotkey()

void FUCK::AbortManagedHotkey ( ManagedHotkey & h)
inline
Here is the call graph for this function:

◆ AcceptDragDropPayload()

const ImGuiPayload * FUCK::AcceptDragDropPayload ( const char * type,
DragDropFlags flags = DragDropFlags::kNone )
inline
Here is the call graph for this function:

◆ AddImage()

void FUCK::AddImage ( ImTextureID textureId,
const ImVec2 & min,
const ImVec2 & max,
const ImVec2 & uv0 = ImVec2(0, 0),
const ImVec2 & uv1 = ImVec2(1, 1),
const ImVec4 & col = ImVec4(1, 1, 1, 1) )
inline
Here is the call graph for this function:

◆ AddMenuListener()

void FUCK::AddMenuListener ( void * userdata,
void(* callback )(const char *menuName, bool opening, void *userdata) )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ AlignTextToFramePadding()

void FUCK::AlignTextToFramePadding ( )
inline
Here is the call graph for this function:

◆ BeginChild()

void FUCK::BeginChild ( const char * str_id,
const ImVec2 & size = ImVec2(0, 0),
bool border = false,
int flags = 0 )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BeginDisabled()

void FUCK::BeginDisabled ( bool disabled = true)
inline
Here is the call graph for this function:

◆ BeginDragDropSource()

bool FUCK::BeginDragDropSource ( DragDropFlags flags = DragDropFlags::kNone)
inline
Here is the call graph for this function:

◆ BeginDragDropTarget()

bool FUCK::BeginDragDropTarget ( )
inline
Here is the call graph for this function:

◆ BeginGroup()

void FUCK::BeginGroup ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BeginPanelFrame()

void FUCK::BeginPanelFrame ( const char * str_id,
float padding = 8.0f )
inline

Begins an inset child panel using an inside-out group margin. This prevents native ImGui window padding from shrinking the clipping rect and breaking scrollbars.

Here is the call graph for this function:

◆ BeginPopupContextItem()

bool FUCK::BeginPopupContextItem ( const char * str_id = nullptr,
int mouse_button = 1 )
inline
Here is the call graph for this function:

◆ BeginTabBar()

bool FUCK::BeginTabBar ( const char * str_id,
int flags = 0 )
inline
Here is the call graph for this function:

◆ BeginTabItem()

bool FUCK::BeginTabItem ( const char * label,
int flags = 0 )
inline
Here is the call graph for this function:

◆ BeginTable()

bool FUCK::BeginTable ( const char * str_id,
int column,
TableFlags flags = TableFlags::kNone,
const ImVec2 & outer_size = ImVec2(0.0f, 0.0f),
float inner_width = 0.0f )
inline
Here is the call graph for this function:

◆ BeginTooltip()

bool FUCK::BeginTooltip ( )
inline
Here is the call graph for this function:

◆ BeginWindow()

bool FUCK::BeginWindow ( const char * name,
bool * p_open = nullptr,
int flags = 0 )
inline
Here is the call graph for this function:

◆ Button()

bool FUCK::Button ( const char * label)
inline
Here is the call graph for this function:

◆ ButtonIconWithLabel()

bool FUCK::ButtonIconWithLabel ( const char * label,
ImTextureID textureID,
const ImVec2 & size,
bool alignFar = true,
bool labelLeft = true )
inline
Here is the call graph for this function:

◆ CalcItemWidth()

float FUCK::CalcItemWidth ( )
inline
Here is the call graph for this function:

◆ CalcTextSize()

ImVec2 FUCK::CalcTextSize ( const char * text,
const char * text_end = nullptr,
bool hide_text_after_double_hash = false,
float wrap_width = -1.0f )
inline
Here is the call graph for this function:

◆ CenteredText()

void FUCK::CenteredText ( const char * label,
bool vertical = false )
inline
Here is the call graph for this function:

◆ Checkbox()

bool FUCK::Checkbox ( const char * label,
bool * v,
bool alignFar = true,
bool labelLeft = true )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ClampPosToScreen()

bool FUCK::ClampPosToScreen ( ImVec2 & pos,
float outOfBoundsTolerance = 50.0f )
inline

Clamps a window or widget position to the screen bounds if it strays too far off-screen.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CollapsingHeader()

bool FUCK::CollapsingHeader ( const char * label,
int flags = 0 )
inline
Here is the call graph for this function:

◆ ColorEdit3()

bool FUCK::ColorEdit3 ( const char * label,
float col[3],
int flags = 0 )
inline
Here is the call graph for this function:

◆ ColorEdit4()

bool FUCK::ColorEdit4 ( const char * label,
float col[4],
int flags = 0 )
inline
Here is the call graph for this function:

◆ Columns()

void FUCK::Columns ( int count = 1,
const char * id = nullptr,
bool border = true )
inline
Here is the call graph for this function:

◆ Combo() [1/2]

bool FUCK::Combo ( const char * label,
int * current_item,
const char *const * items,
int items_count )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Combo() [2/2]

bool FUCK::Combo ( const char * label,
int * current_item,
const std::vector< std::string > & items )
inline
Here is the call graph for this function:

◆ ComboForm() [1/2]

bool FUCK::ComboForm ( const char * label,
std::string * currentEdid,
std::uint8_t formType )
inline
Here is the call graph for this function:

◆ ComboForm() [2/2]

bool FUCK::ComboForm ( const char * label,
std::uint32_t * currentFormID,
std::uint8_t formType )
inline
Here is the call graph for this function:

◆ ComboWithFilter() [1/2]

bool FUCK::ComboWithFilter ( const char * label,
int * current_item,
const char *const * items,
int items_count,
int popup_max_height_in_items = -1 )
inline
Here is the call graph for this function:

◆ ComboWithFilter() [2/2]

bool FUCK::ComboWithFilter ( const char * label,
int * current_item,
std::span< const std::string > items,
int popup_max_height_in_items = -1 )
inline
Here is the call graph for this function:

◆ Connect()

bool FUCK::Connect ( const char * pluginName,
unsigned int a_minVersion = FUCK_API_VERSION )
inline

Connects to the FUCK Host Framework.

Parameters
pluginNameThe exact name of your SKSE plugin. Used automatically for translations and settings directories.
Here is the call graph for this function:

◆ DragFloat()

bool FUCK::DragFloat ( const char * label,
float * v,
float speed = 1.0f,
float min = 0.0f,
float max = 0.0f,
const char * fmt = "%.3f" )
inline
Here is the call graph for this function:

◆ DragFloat2()

bool FUCK::DragFloat2 ( const char * label,
float v[2],
float speed = 1.0f,
float min = 0.0f,
float max = 0.0f,
const char * fmt = "%.3f" )
inline
Here is the call graph for this function:

◆ DragFloat3()

bool FUCK::DragFloat3 ( const char * label,
float v[3],
float speed = 1.0f,
float min = 0.0f,
float max = 0.0f,
const char * fmt = "%.3f" )
inline
Here is the call graph for this function:

◆ DragFloat4()

bool FUCK::DragFloat4 ( const char * label,
float v[4],
float speed = 1.0f,
float min = 0.0f,
float max = 0.0f,
const char * fmt = "%.3f" )
inline
Here is the call graph for this function:

◆ DragInt()

bool FUCK::DragInt ( const char * label,
int * v,
float speed = 1.0f,
int min = 0,
int max = 0,
const char * fmt = "%d" )
inline
Here is the call graph for this function:

◆ DrawBackgroundImage()

void FUCK::DrawBackgroundImage ( ImTextureID tex,
float alpha )
inline
Here is the call graph for this function:

◆ DrawBackgroundLine()

void FUCK::DrawBackgroundLine ( const ImVec2 & p1,
const ImVec2 & p2,
ImU32 col,
float thickness )
inline
Here is the call graph for this function:

◆ DrawBackgroundRect()

void FUCK::DrawBackgroundRect ( const ImVec2 & min,
const ImVec2 & max,
ImU32 col,
float thickness )
inline
Here is the call graph for this function:

◆ DrawCrosshair()

void FUCK::DrawCrosshair ( float thickness = 1.0f,
ImU32 color = 0,
float rows = 1.0f,
float cols = 1.0f )
inline
Here is the call graph for this function:

◆ DrawEditorBounds()

void FUCK::DrawEditorBounds ( const ImVec2 & min,
const ImVec2 & max,
EditorBoundsState state = EditorBoundsState::kNormal,
float thickness = 2.0f,
bool screenSpace = false,
const ImVec2 * customAnchor = nullptr )
inline

Visual for UI widget editing. Handles Screen-Space and Window-Space.

Here is the call graph for this function:

◆ DrawGoldenGrid()

void FUCK::DrawGoldenGrid ( float thickness = 1.0f,
ImU32 color = 0,
int subdivisions = 0 )
inline
Here is the call graph for this function:

◆ DrawGoldenSpiral()

void FUCK::DrawGoldenSpiral ( float thickness = 1.0f,
ImU32 color = 0,
int anchorIndex = 0,
float turns = 6.0f,
float rotationDeg = 0.0f,
float scale = 1.0f,
bool showSquares = false )
inline
Here is the call graph for this function:

◆ DrawGrid()

void FUCK::DrawGrid ( float thickness = 0.0f,
ImU32 color = 0,
float rows = 3.0f,
float cols = 3.0f,
float rotationDeg = 0.0f )
inline
Here is the call graph for this function:

◆ DrawImage()

void FUCK::DrawImage ( ImTextureID textureId,
const ImVec2 & size,
const ImVec2 & uv0 = ImVec2(0, 0),
const ImVec2 & uv1 = ImVec2(1, 1),
const ImVec4 & tint_col = ImVec4(1, 1, 1, 1) )
inline
Here is the call graph for this function:

◆ DrawImageQuad()

void FUCK::DrawImageQuad ( ImTextureID textureId,
const ImVec2 & p1,
const ImVec2 & p2,
const ImVec2 & p3,
const ImVec2 & p4,
const ImVec2 & uv1,
const ImVec2 & uv2,
const ImVec2 & uv3,
const ImVec2 & uv4,
const ImVec4 & tint_col = ImVec4(1, 1, 1, 1) )
inline
Here is the call graph for this function:

◆ DrawLine()

void FUCK::DrawLine ( const ImVec2 & p1,
const ImVec2 & p2,
const ImVec4 & col,
float thickness = 1.0f )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawManagedHotkey()

bool FUCK::DrawManagedHotkey ( const char * label,
ManagedHotkey & h,
HotkeyFlags flags = HotkeyFlags::kNone,
float iconScale = 1.0f,
float labelScale = 1.0f )
inline

Used for assigning Hotkeys within the FUCK interface.

Here is the call graph for this function:

◆ DrawOverlay()

void FUCK::DrawOverlay ( Overlay type,
float thickness = 1.0f,
ImU32 color = 0,
float paramA = 0.0f,
float paramB = 0.0f,
float paramC = 0.0f,
float paramD = 0.0f )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawRect()

void FUCK::DrawRect ( const ImVec2 & min,
const ImVec2 & max,
const ImVec4 & col,
float rounding = 0.0f,
float thickness = 1.0f )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawRectFilled()

void FUCK::DrawRectFilled ( const ImVec2 & min,
const ImVec2 & max,
const ImVec4 & col,
float rounding = 0.0f )
inline
Here is the call graph for this function:

◆ DrawScreenLine()

void FUCK::DrawScreenLine ( const ImVec2 & p1,
const ImVec2 & p2,
ImU32 col,
float thickness = 1.0f )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawScreenRect()

void FUCK::DrawScreenRect ( const ImVec2 & min,
const ImVec2 & max,
ImU32 col,
float rounding = 0.0f,
float thickness = 1.0f )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawScreenRectFilled()

void FUCK::DrawScreenRectFilled ( const ImVec2 & min,
const ImVec2 & max,
ImU32 col,
float rounding = 0.0f )
inline
Here is the call graph for this function:

◆ DrawTriangle()

void FUCK::DrawTriangle ( float thickness = 1.0f,
ImU32 color = 0,
bool mirror = false )
inline
Here is the call graph for this function:

◆ Dummy()

void FUCK::Dummy ( const ImVec2 & size)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndChild()

void FUCK::EndChild ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndDisabled()

void FUCK::EndDisabled ( )
inline
Here is the call graph for this function:

◆ EndDragDropSource()

void FUCK::EndDragDropSource ( )
inline
Here is the call graph for this function:

◆ EndDragDropTarget()

void FUCK::EndDragDropTarget ( )
inline
Here is the call graph for this function:

◆ EndGroup()

void FUCK::EndGroup ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EndPanelFrame()

void FUCK::EndPanelFrame ( float padding = 8.0f)
inline

Closes the panel opened by BeginPanelFrame.

Here is the call graph for this function:

◆ EndPopup()

void FUCK::EndPopup ( )
inline
Here is the call graph for this function:

◆ EndTabBar()

void FUCK::EndTabBar ( )
inline
Here is the call graph for this function:

◆ EndTabItem()

void FUCK::EndTabItem ( )
inline
Here is the call graph for this function:

◆ EndTable()

void FUCK::EndTable ( )
inline
Here is the call graph for this function:

◆ EndTooltip()

void FUCK::EndTooltip ( )
inline
Here is the call graph for this function:

◆ EndWindow()

void FUCK::EndWindow ( )
inline
Here is the call graph for this function:

◆ EnumStepper()

template<typename T>
bool FUCK::EnumStepper ( const char * label,
T * current_val,
const std::vector< std::string > & items,
bool a_translate = true )
Here is the call graph for this function:

◆ ExtendWindowPastBorder()

void FUCK::ExtendWindowPastBorder ( )
inline
Here is the call graph for this function:

◆ ForceCursor()

void FUCK::ForceCursor ( bool force)
inline
Here is the call graph for this function:

◆ GetAnalogInput()

float FUCK::GetAnalogInput ( std::uint32_t keyId)
inline
Here is the call graph for this function:

◆ GetColumnWidth()

float FUCK::GetColumnWidth ( int column_index = -1)
inline
Here is the call graph for this function:

◆ GetContentRegionAvail()

ImVec2 FUCK::GetContentRegionAvail ( )
inline
Here is the call graph for this function:

◆ GetCursorPos()

ImVec2 FUCK::GetCursorPos ( )
inline
Here is the call graph for this function:

◆ GetCursorScreenPos()

ImVec2 FUCK::GetCursorScreenPos ( )
inline
Here is the call graph for this function:

◆ GetDeltaTime()

float FUCK::GetDeltaTime ( )
inline
Here is the call graph for this function:

◆ GetDisplaySize()

ImVec2 FUCK::GetDisplaySize ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFont()

ImFont * FUCK::GetFont ( Font font)
inline
Here is the call graph for this function:

◆ GetFrameHeight()

float FUCK::GetFrameHeight ( )
inline
Here is the call graph for this function:

◆ GetFrameHeightWithSpacing()

float FUCK::GetFrameHeightWithSpacing ( )
inline
Here is the call graph for this function:

◆ GetGlobalScale()

float FUCK::GetGlobalScale ( )
inline

Gets the overall screen resolution combined with the user's selected UI Size Slider multiplier.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetIconForKey()

ImTextureID FUCK::GetIconForKey ( std::uint32_t key,
ImVec2 * outSize = nullptr )
inline
Here is the call graph for this function:

◆ GetInputBind()

BindResult FUCK::GetInputBind ( const void * inputEvent,
std::uint32_t * outKey,
std::int32_t * outMod1,
std::int32_t * outMod2 )
inline
Here is the call graph for this function:

◆ GetInputDevice()

InputDevice FUCK::GetInputDevice ( )
inline
Here is the call graph for this function:

◆ GetInterface()

FUCK_Interface *& FUCK::GetInterface ( )
inline

◆ GetItemRectMax()

ImVec2 FUCK::GetItemRectMax ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetItemRectMin()

ImVec2 FUCK::GetItemRectMin ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetItemRectSize()

ImVec2 FUCK::GetItemRectSize ( )
inline
Here is the call graph for this function:

◆ GetKeyName()

const char * FUCK::GetKeyName ( std::uint32_t k)
inline
Here is the call graph for this function:

◆ GetMouseDelta()

ImVec2 FUCK::GetMouseDelta ( )
inline
Here is the call graph for this function:

◆ GetMousePos()

ImVec2 FUCK::GetMousePos ( )
inline
Here is the call graph for this function:

◆ GetMouseWheel()

float FUCK::GetMouseWheel ( )
inline
Here is the call graph for this function:

◆ GetPluginConfigPath()

void FUCK::GetPluginConfigPath ( const char * pluginName,
char * dest,
size_t size )
inline
Here is the call graph for this function:

◆ GetResolutionScale()

float FUCK::GetResolutionScale ( )
inline

Gets the physical screen resolution scale multiplier (Base 1080p).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetStyleColorVec4()

ImVec4 FUCK::GetStyleColorVec4 ( ImGuiCol idx)
inline
Here is the call graph for this function:

◆ GetStyleVar()

float FUCK::GetStyleVar ( ImGuiStyleVar idx)
inline
Here is the call graph for this function:

◆ GetStyleVarVec()

ImVec2 FUCK::GetStyleVarVec ( ImGuiStyleVar idx)
inline
Here is the call graph for this function:

◆ GetTableSortSpecs()

ImGuiTableSortSpecs * FUCK::GetTableSortSpecs ( )
inline
Here is the call graph for this function:

◆ GetTextLineHeight()

float FUCK::GetTextLineHeight ( )
inline
Here is the call graph for this function:

◆ GetTextLineHeightWithSpacing()

float FUCK::GetTextLineHeightWithSpacing ( )
inline
Here is the call graph for this function:

◆ GetTime()

double FUCK::GetTime ( )
inline
Here is the call graph for this function:

◆ GetUserScale()

float FUCK::GetUserScale ( )
inline

Gets the user's custom UI Size Slider multiplier.

Here is the call graph for this function:

◆ GetWindowPos()

ImVec2 FUCK::GetWindowPos ( )
inline
Here is the call graph for this function:

◆ GetWindowSize()

ImVec2 FUCK::GetWindowSize ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Header()

void FUCK::Header ( const char * label)
inline
Here is the call graph for this function:

◆ HelpMarker()

void FUCK::HelpMarker ( const char * desc)
inline
Here is the call graph for this function:

◆ Hotkey()

bool FUCK::Hotkey ( const char * label,
std::uint32_t key,
std::int32_t modifier,
std::int32_t modifier2,
bool alignFar = true,
bool labelLeft = true,
bool flashing = false )
inline
Here is the call graph for this function:

◆ ImageButton()

bool FUCK::ImageButton ( const char * str_id,
ImTextureID user_texture_id,
const ImVec2 & image_size,
const ImVec4 * tint = nullptr )
inline
Here is the call graph for this function:

◆ Indent()

void FUCK::Indent ( float width = 0.0f)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeCustomPosition()

PosInitResult FUCK::InitializeCustomPosition ( ImVec2 & pos,
const ImVec2 & defaultPos,
bool & outHasClamped,
float tolerance = 50.0f )
inline

Handles first-frame initialization, default loading, and screen clamping for custom-positioned windows.

Here is the call graph for this function:

◆ InputText() [1/2]

bool FUCK::InputText ( const char * label,
char * buf,
size_t buf_size,
int flags = 0 )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InputText() [2/2]

bool FUCK::InputText ( const char * label,
std::string * str,
int flags = 0 )
inline
Here is the call graph for this function:

◆ InputTextMultiline() [1/2]

bool FUCK::InputTextMultiline ( const char * label,
char * buf,
size_t buf_size,
const ImVec2 & size = ImVec2(0, 0),
int flags = 0 )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ InputTextMultiline() [2/2]

bool FUCK::InputTextMultiline ( const char * label,
std::string * str,
const ImVec2 & size = ImVec2(0, 0),
int flags = 0 )
inline
Here is the call graph for this function:

◆ InvisibleButton()

bool FUCK::InvisibleButton ( const char * str_id,
const ImVec2 & size,
int flags = 0 )
inline
Here is the call graph for this function:

◆ IsAnyItemActive()

bool FUCK::IsAnyItemActive ( )
inline
Here is the call graph for this function:

◆ IsAnyItemHovered()

bool FUCK::IsAnyItemHovered ( )
inline
Here is the call graph for this function:

◆ IsBinding()

bool FUCK::IsBinding ( )
inline
Here is the call graph for this function:

◆ IsGamepadKey()

bool FUCK::IsGamepadKey ( std::uint32_t k)
inline
Here is the call graph for this function:

◆ IsInputDown()

bool FUCK::IsInputDown ( std::uint32_t keyId)
inline
Here is the call graph for this function:

◆ IsInputPressed()

bool FUCK::IsInputPressed ( const void * inputEvent,
std::uint32_t keyId )
inline
Here is the call graph for this function:

◆ IsItemActive()

bool FUCK::IsItemActive ( )
inline
Here is the call graph for this function:

◆ IsItemClicked()

bool FUCK::IsItemClicked ( int mouse_button = 0)
inline
Here is the call graph for this function:

◆ IsItemDeactivated()

bool FUCK::IsItemDeactivated ( )
inline
Here is the call graph for this function:

◆ IsItemDeactivatedAfterEdit()

bool FUCK::IsItemDeactivatedAfterEdit ( )
inline
Here is the call graph for this function:

◆ IsItemFocused()

bool FUCK::IsItemFocused ( )
inline
Here is the call graph for this function:

◆ IsItemHovered()

bool FUCK::IsItemHovered ( int flags = 0)
inline
Here is the call graph for this function:

◆ IsKeyDown()

bool FUCK::IsKeyDown ( ImGuiKey key)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsKeyPressed()

bool FUCK::IsKeyPressed ( ImGuiKey key,
bool repeat = true )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsManagedHotkeyDown()

bool FUCK::IsManagedHotkeyDown ( ManagedHotkey & h)
inline
Here is the call graph for this function:

◆ IsMenuOpen()

bool FUCK::IsMenuOpen ( )
inline
Here is the call graph for this function:

◆ IsModifierPressed()

bool FUCK::IsModifierPressed ( Modifier mod)
inline
Here is the call graph for this function:

◆ IsMouseClicked()

bool FUCK::IsMouseClicked ( int button,
bool repeat = false )
inline
Here is the call graph for this function:

◆ IsMouseDown()

bool FUCK::IsMouseDown ( int button)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsMouseReleased()

bool FUCK::IsMouseReleased ( int button)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsPopupOpen()

bool FUCK::IsPopupOpen ( const char * str_id = nullptr,
PopupFlags flags = PopupFlags::kNone )
inline
Here is the call graph for this function:

◆ IsWidgetFocused()

bool FUCK::IsWidgetFocused ( const char * label)
inline
Here is the call graph for this function:

◆ IsWindowFocused()

bool FUCK::IsWindowFocused ( int flags = 0)
inline
Here is the call graph for this function:

◆ IsWindowHovered()

bool FUCK::IsWindowHovered ( int flags = 0)
inline
Here is the call graph for this function:

◆ LeftLabel()

void FUCK::LeftLabel ( const char * label)
inline
Here is the call graph for this function:

◆ LoadTranslation()

void FUCK::LoadTranslation ( const char * pluginName)
inline
Here is the call graph for this function:

◆ NextColumn()

void FUCK::NextColumn ( )
inline
Here is the call graph for this function:

◆ operator&() [1/4]

bool FUCK::operator& ( DragDropFlags a,
DragDropFlags b )
inline

◆ operator&() [2/4]

bool FUCK::operator& ( HotkeyFlags a,
HotkeyFlags b )
inline

◆ operator&() [3/4]

bool FUCK::operator& ( ItemFlags a,
ItemFlags b )
inline

◆ operator&() [4/4]

bool FUCK::operator& ( WindowFlags a,
WindowFlags b )
inline

◆ operator|() [1/6]

DragDropFlags FUCK::operator| ( DragDropFlags a,
DragDropFlags b )
inline

◆ operator|() [2/6]

HotkeyFlags FUCK::operator| ( HotkeyFlags a,
HotkeyFlags b )
inline

◆ operator|() [3/6]

ItemFlags FUCK::operator| ( ItemFlags a,
ItemFlags b )
inline

◆ operator|() [4/6]

TableColumnFlags FUCK::operator| ( TableColumnFlags a,
TableColumnFlags b )
inline

◆ operator|() [5/6]

TableFlags FUCK::operator| ( TableFlags a,
TableFlags b )
inline

◆ operator|() [6/6]

WindowFlags FUCK::operator| ( WindowFlags a,
WindowFlags b )
inline

◆ PopFont()

void FUCK::PopFont ( )
inline
Here is the call graph for this function:

◆ PopID()

void FUCK::PopID ( )
inline
Here is the call graph for this function:

◆ PopItemFlag()

void FUCK::PopItemFlag ( )
inline
Here is the call graph for this function:

◆ PopItemWidth()

void FUCK::PopItemWidth ( )
inline
Here is the call graph for this function:

◆ PopStyleColor()

void FUCK::PopStyleColor ( int count = 1)
inline
Here is the call graph for this function:

◆ PopStyleVar()

void FUCK::PopStyleVar ( int count = 1)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessManagedHotkey()

bool FUCK::ProcessManagedHotkey ( const void * e,
ManagedHotkey & h )
inline
Here is the call graph for this function:

◆ PushFont()

void FUCK::PushFont ( ImFont * font,
float size = 0.0f )
inline
Here is the call graph for this function:

◆ PushID() [1/3]

void FUCK::PushID ( const char * str_id)
inline
Here is the call graph for this function:

◆ PushID() [2/3]

void FUCK::PushID ( const void * ptr_id)
inline
Here is the call graph for this function:

◆ PushID() [3/3]

void FUCK::PushID ( int int_id)
inline
Here is the call graph for this function:

◆ PushItemFlag()

void FUCK::PushItemFlag ( ItemFlags flag,
bool enabled )
inline
Here is the call graph for this function:

◆ PushItemWidth()

void FUCK::PushItemWidth ( float item_width)
inline
Here is the call graph for this function:

◆ PushStyleColor()

void FUCK::PushStyleColor ( ImGuiCol idx,
const ImVec4 & col )
inline
Here is the call graph for this function:

◆ PushStyleVar() [1/2]

void FUCK::PushStyleVar ( ImGuiStyleVar idx,
const ImVec2 & val )
inline
Here is the call graph for this function:

◆ PushStyleVar() [2/2]

void FUCK::PushStyleVar ( ImGuiStyleVar idx,
float val )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterTool()

void FUCK::RegisterTool ( ITool * tool)
inline
Here is the call graph for this function:

◆ RegisterWindow()

void FUCK::RegisterWindow ( IWindow * window)
inline
Here is the call graph for this function:

◆ RemoveMenuListener()

void FUCK::RemoveMenuListener ( void * userdata)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SameLine()

void FUCK::SameLine ( float offset_from_start_x = 0.0f,
float spacing = -1.0f )
inline
Here is the call graph for this function:

◆ SanitizePath()

void FUCK::SanitizePath ( char * dest,
const char * source,
size_t size )
inline
Here is the call graph for this function:

◆ Scale() [1/3]

ImVec2 FUCK::Scale ( const ImVec2 & value)
inline
Here is the call graph for this function:

◆ Scale() [2/3]

float FUCK::Scale ( float value)
inline

Scales by the Monitor Resolution.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Scale() [3/3]

ImVec2 FUCK::Scale ( float x,
float y )
inline
Here is the call graph for this function:

◆ Selectable()

bool FUCK::Selectable ( const char * label,
bool selected = false,
int flags = 0,
const ImVec2 & size = ImVec2(0, 0) )
inline
Here is the call graph for this function:

◆ Separator()

void FUCK::Separator ( )
inline
Here is the call graph for this function:

◆ SeparatorText()

void FUCK::SeparatorText ( const char * label)
inline
Here is the call graph for this function:

◆ SeparatorThick()

void FUCK::SeparatorThick ( )
inline
Here is the call graph for this function:

◆ SeparatorVertical()

void FUCK::SeparatorVertical ( )
inline
Here is the call graph for this function:

◆ SetAutoVanityBlocked()

void FUCK::SetAutoVanityBlocked ( bool blocked)
inline
Here is the call graph for this function:

◆ SetCursorPos()

void FUCK::SetCursorPos ( const ImVec2 & pos)
inline
Here is the call graph for this function:

◆ SetCursorPosX()

void FUCK::SetCursorPosX ( float x)
inline
Here is the call graph for this function:

◆ SetCursorPosY()

void FUCK::SetCursorPosY ( float y)
inline
Here is the call graph for this function:

◆ SetCursorScreenPos()

void FUCK::SetCursorScreenPos ( const ImVec2 & pos)
inline
Here is the call graph for this function:

◆ SetDragDropPayload()

bool FUCK::SetDragDropPayload ( const char * type,
const void * data,
size_t sz,
int cond = 0 )
inline
Here is the call graph for this function:

◆ SetGameTimeFrozen()

void FUCK::SetGameTimeFrozen ( bool frozen)
inline
Here is the call graph for this function:

◆ SetHardPause()

void FUCK::SetHardPause ( bool paused)
inline
Here is the call graph for this function:

◆ SetItemDefaultFocus()

void FUCK::SetItemDefaultFocus ( )
inline
Here is the call graph for this function:

◆ SetKeyboardFocusHere()

void FUCK::SetKeyboardFocusHere ( int offset = 0)
inline
Here is the call graph for this function:

◆ SetMenuOpen()

void FUCK::SetMenuOpen ( bool open)
inline
Here is the call graph for this function:

◆ SetNextItemOpen()

void FUCK::SetNextItemOpen ( bool is_open,
int cond = 0 )
inline
Here is the call graph for this function:

◆ SetNextItemWidth()

void FUCK::SetNextItemWidth ( float width)
inline
Here is the call graph for this function:

◆ SetNextWindowPos()

void FUCK::SetNextWindowPos ( const ImVec2 & pos,
int cond = 0,
const ImVec2 & pivot = ImVec2(0, 0) )
inline
Here is the call graph for this function:

◆ SetNextWindowSize()

void FUCK::SetNextWindowSize ( const ImVec2 & size,
int cond = 0 )
inline
Here is the call graph for this function:

◆ SetScrollHereY()

void FUCK::SetScrollHereY ( float center_y_ratio = 0.5f)
inline
Here is the call graph for this function:

◆ SetSoftPause()

void FUCK::SetSoftPause ( bool paused)
inline
Here is the call graph for this function:

◆ SetTooltip()

void FUCK::SetTooltip ( const char * fmt)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetWindowFontScale()

void FUCK::SetWindowFontScale ( float scale)
inline
Here is the call graph for this function:

◆ SetWindowPos()

void FUCK::SetWindowPos ( const ImVec2 & pos,
int cond = 0 )
inline
Here is the call graph for this function:

◆ SetWindowSize()

void FUCK::SetWindowSize ( const ImVec2 & size,
int cond = 0 )
inline
Here is the call graph for this function:

◆ SliderFloat()

bool FUCK::SliderFloat ( const char * label,
float * v,
float min,
float max,
const char * fmt = "%.3f" )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SliderInt()

bool FUCK::SliderInt ( const char * label,
int * v,
int min,
int max,
const char * fmt = "%d" )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Spacing()

void FUCK::Spacing ( int count = 1)
inline
Here is the call graph for this function:

◆ Spinner()

void FUCK::Spinner ( const char * label,
float radius,
float thickness,
const ImVec4 & color )
inline
Here is the call graph for this function:

◆ StartBinding()

void FUCK::StartBinding ( std::uint32_t key,
std::int32_t mod1,
std::int32_t mod2,
bool disallowModifiers = false )
inline
Here is the call graph for this function:

◆ Stepper()

void FUCK::Stepper ( const char * label,
const char * text,
bool * outLeft,
bool * outRight )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ StringCopy() [1/2]

template<size_t N>
void FUCK::StringCopy ( char(&) dest[N],
const char * source )
inline

String copy utility.

◆ StringCopy() [2/2]

template<size_t N>
void FUCK::StringCopy ( char(&) dest[N],
const std::string & source )
inline

◆ SuspendRendering()

void FUCK::SuspendRendering ( bool suspend)
inline
Here is the call graph for this function:

◆ TableHeadersRow()

void FUCK::TableHeadersRow ( )
inline
Here is the call graph for this function:

◆ TableNextColumn()

bool FUCK::TableNextColumn ( )
inline
Here is the call graph for this function:

◆ TableNextRow()

void FUCK::TableNextRow ( int row_flags = 0,
float min_row_height = 0.0f )
inline
Here is the call graph for this function:

◆ TableSetBgColor()

void FUCK::TableSetBgColor ( TableBgTarget target,
ImU32 color,
int column_n = -1 )
inline
Here is the call graph for this function:

◆ TableSetupColumn()

void FUCK::TableSetupColumn ( const char * label,
TableColumnFlags flags = TableColumnFlags::kNone,
float init_width_or_weight = 0.0f,
std::uint32_t user_id = 0 )
inline
Here is the call graph for this function:

◆ Text()

void FUCK::Text ( const char * fmt,
... )
inline
Here is the call graph for this function:

◆ TextColored()

void FUCK::TextColored ( const ImVec4 & color,
const char * fmt,
... )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TextColoredWrapped()

void FUCK::TextColoredWrapped ( const ImVec4 & col,
const char * fmt,
... )
inline
Here is the call graph for this function:

◆ TextDisabled()

void FUCK::TextDisabled ( const char * fmt,
... )
inline
Here is the call graph for this function:

◆ TextUnformatted()

void FUCK::TextUnformatted ( const char * text,
const char * text_end = nullptr )
inline
Here is the call graph for this function:

◆ TextWrapped()

void FUCK::TextWrapped ( const char * fmt,
... )
inline
Here is the call graph for this function:

◆ ToggleButton()

bool FUCK::ToggleButton ( const char * label,
bool * v,
bool alignFar = true,
bool labelLeft = true )
inline
Here is the call graph for this function:

◆ Translate()

const char * FUCK::Translate ( const char * key)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TranslateScaleformToScreen() [1/2]

ImVec2 FUCK::TranslateScaleformToScreen ( const ImVec2 & stagePos)
inline

Converts standard 1280x720 Flash Stage coordinates into physical screen pixels (accounting for Aspect Ratio borders).

Here is the call graph for this function:

◆ TranslateScaleformToScreen() [2/2]

ImVec2 FUCK::TranslateScaleformToScreen ( float stageX,
float stageY )
inline

Converts standard 1280x720 Flash Stage coordinates into physical screen pixels (accounting for Aspect Ratio borders).

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TreeNode()

bool FUCK::TreeNode ( const char * label)
inline
Here is the call graph for this function:

◆ TreePop()

void FUCK::TreePop ( )
inline
Here is the call graph for this function:

◆ UIScale() [1/3]

ImVec2 FUCK::UIScale ( const ImVec2 & value)
inline
Here is the call graph for this function:

◆ UIScale() [2/3]

float FUCK::UIScale ( float value)
inline

Scales by both Resolution and the User's UI Size slider.

Here is the call graph for this function:

◆ UIScale() [3/3]

ImVec2 FUCK::UIScale ( float x,
float y )
inline
Here is the call graph for this function:

◆ Unindent()

void FUCK::Unindent ( float width = 0.0f)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ UnregisterWindow()

void FUCK::UnregisterWindow ( IWindow * window)
inline
Here is the call graph for this function:

◆ UpdateBinding()

BindResult FUCK::UpdateBinding ( const void * inputEvent,
std::uint32_t * outKey,
std::int32_t * outMod1,
std::int32_t * outMod2 )
inline
Here is the call graph for this function:

◆ UpdateManagedHotkey()

bool FUCK::UpdateManagedHotkey ( const void * e,
ManagedHotkey & h )
inline
Here is the call graph for this function:

◆ UpdateProportionalWeight()

bool FUCK::UpdateProportionalWeight ( float & inOutWeight,
float totalWidth )
inline

Utility to capture a Table Column's width ratio upon releasing the mouse. Returns true when the weight has meaningfully changed so you can selectively trigger a config save.

Here is the call graph for this function:

◆ WASDNudge()

bool FUCK::WASDNudge ( float & outDeltaX,
float & outDeltaY,
bool isActiveOrHovered,
float step = 1.0f,
float sprintMult = 10.0f )
inline

WASD key widget nudging.

Here is the call graph for this function:

Variable Documentation

◆ g_pluginName

const char* FUCK::g_pluginName = "UnknownPlugin"
inline