RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
ImGuiToaster::Config Struct Reference

#include <ImGuiToaster.h>

Collaboration diagram for ImGuiToaster::Config:

Public Types

enum class  Corner { TopLeft , TopRight , BottomLeft , BottomRight }
 

Public Attributes

float bgOpacity = 0.80f
 
float rounding = 6.0f
 
ImVec2 windowPadding = ImVec2(10.f, 8.f)
 
float verticalSpacing = 36.f
 
float edgePadding = 10.f
 
bool autoResize = true
 
ImVec2 minSize = ImVec2(360.f, 0.f)
 
ImVec2 maxSize = ImVec2(0.f, 0.f)
 
ImVec2 fixedSize = ImVec2(0.f, 0.f)
 
float maxWidth = 480.f
 
bool wrapText = true
 
ImVec2 anchorPivot = ImVec2(1.f, 0.f)
 
Corner corner = Corner::TopRight
 
size_t maxToasts = 8
 
bool clickThrough = false
 
bool focusOnAppear = false
 
bool killOnClickAnywhere = true
 
ImVec4 colorInfo = ImVec4(0.20f, 0.45f, 0.85f, 1.0f)
 
ImVec4 colorGood = ImVec4(0.16f, 0.65f, 0.22f, 1.0f)
 
ImVec4 colorWarning = ImVec4(0.90f, 0.70f, 0.10f, 1.0f)
 
ImVec4 colorError = ImVec4(0.85f, 0.25f, 0.25f, 1.0f)
 
ImVec4 textColor = ImVec4(1.0f, 1.0f, 1.0f, 1.0f)
 
bool showBorder = false
 
ImVec4 borderColor = ImVec4(0, 0, 0, 0.35f)
 
float borderSize = 1.0f
 

Detailed Description

Definition at line 23 of file ImGuiToaster.h.

Member Enumeration Documentation

◆ Corner

enum class ImGuiToaster::Config::Corner
strong
Enumerator
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Definition at line 42 of file ImGuiToaster.h.

Member Data Documentation

◆ anchorPivot

ImVec2 ImGuiToaster::Config::anchorPivot = ImVec2(1.f, 0.f)

Definition at line 41 of file ImGuiToaster.h.

◆ autoResize

bool ImGuiToaster::Config::autoResize = true

Definition at line 33 of file ImGuiToaster.h.

◆ bgOpacity

float ImGuiToaster::Config::bgOpacity = 0.80f

Definition at line 26 of file ImGuiToaster.h.

◆ borderColor

ImVec4 ImGuiToaster::Config::borderColor = ImVec4(0, 0, 0, 0.35f)

Definition at line 64 of file ImGuiToaster.h.

◆ borderSize

float ImGuiToaster::Config::borderSize = 1.0f

Definition at line 65 of file ImGuiToaster.h.

◆ clickThrough

bool ImGuiToaster::Config::clickThrough = false

Definition at line 53 of file ImGuiToaster.h.

◆ colorError

ImVec4 ImGuiToaster::Config::colorError = ImVec4(0.85f, 0.25f, 0.25f, 1.0f)

Definition at line 61 of file ImGuiToaster.h.

◆ colorGood

ImVec4 ImGuiToaster::Config::colorGood = ImVec4(0.16f, 0.65f, 0.22f, 1.0f)

Definition at line 59 of file ImGuiToaster.h.

◆ colorInfo

ImVec4 ImGuiToaster::Config::colorInfo = ImVec4(0.20f, 0.45f, 0.85f, 1.0f)

Definition at line 58 of file ImGuiToaster.h.

◆ colorWarning

ImVec4 ImGuiToaster::Config::colorWarning = ImVec4(0.90f, 0.70f, 0.10f, 1.0f)

Definition at line 60 of file ImGuiToaster.h.

◆ corner

Corner ImGuiToaster::Config::corner = Corner::TopRight

Definition at line 49 of file ImGuiToaster.h.

◆ edgePadding

float ImGuiToaster::Config::edgePadding = 10.f

Definition at line 30 of file ImGuiToaster.h.

◆ fixedSize

ImVec2 ImGuiToaster::Config::fixedSize = ImVec2(0.f, 0.f)

Definition at line 36 of file ImGuiToaster.h.

◆ focusOnAppear

bool ImGuiToaster::Config::focusOnAppear = false

Definition at line 54 of file ImGuiToaster.h.

◆ killOnClickAnywhere

bool ImGuiToaster::Config::killOnClickAnywhere = true

Definition at line 55 of file ImGuiToaster.h.

◆ maxSize

ImVec2 ImGuiToaster::Config::maxSize = ImVec2(0.f, 0.f)

Definition at line 35 of file ImGuiToaster.h.

◆ maxToasts

size_t ImGuiToaster::Config::maxToasts = 8

Definition at line 52 of file ImGuiToaster.h.

◆ maxWidth

float ImGuiToaster::Config::maxWidth = 480.f

Definition at line 37 of file ImGuiToaster.h.

◆ minSize

ImVec2 ImGuiToaster::Config::minSize = ImVec2(360.f, 0.f)

Definition at line 34 of file ImGuiToaster.h.

◆ rounding

float ImGuiToaster::Config::rounding = 6.0f

Definition at line 27 of file ImGuiToaster.h.

◆ showBorder

bool ImGuiToaster::Config::showBorder = false

Definition at line 63 of file ImGuiToaster.h.

◆ textColor

ImVec4 ImGuiToaster::Config::textColor = ImVec4(1.0f, 1.0f, 1.0f, 1.0f)

Definition at line 62 of file ImGuiToaster.h.

◆ verticalSpacing

float ImGuiToaster::Config::verticalSpacing = 36.f

Definition at line 29 of file ImGuiToaster.h.

◆ windowPadding

ImVec2 ImGuiToaster::Config::windowPadding = ImVec2(10.f, 8.f)

Definition at line 28 of file ImGuiToaster.h.

◆ wrapText

bool ImGuiToaster::Config::wrapText = true

Definition at line 38 of file ImGuiToaster.h.


The documentation for this struct was generated from the following file: