Window structure
The main window consists of several key components:Title bar
The title bar displays “Raid Consumable Checker” in gold text on a dark gray background. Interactive features:- Drag to move: Click and hold the title bar to reposition the window anywhere on screen
- Auto-save position: When you release the drag, the window position is saved automatically
The window is clamped to screen, meaning you can’t accidentally drag it off-screen.
Control buttons
Two buttons are located in the top-right corner:Config button
Config button
Close button (X)
Close button (X)
Content area
The content area displays your consumables and buffs organized by category.Item icon interactions
Each consumable or buff is represented by an icon with several interactive features:Hover tooltips
When you hover over any item icon, a tooltip appears showing:- Item name: The consumable or buff name
- Required count: How many you need (for consumables)
- Buff status: Whether the buff is active (green) or inactive (red)
- Description: What the item does
- Click hint: “Click to use” for usable consumables
For weapon enchants like Wizard Oil, the tooltip shows “Weapon enchant” status instead of a buff name.
Click to use
For consumables with buff tracking (like flasks, elixirs, and food): Left-click on an item icon to use it directly from your bags. Smart usage protection:- If the buff is already active, a confirmation dialog appears:
- Click Yes to use another consumable anyway
- Click No or Escape to cancel
Visual feedback
After clicking an item:- The item count updates immediately
- A brief delay (0.2 seconds) occurs before buff status updates
- The border color and timer update to reflect the new buff status
Category headers
Categories are displayed with decorative dashes and gold text:Window dimensions
The window size adjusts automatically based on:- Width: Determined by the category with the most items
- Height: Calculated based on the number of categories
- Minimum width: 400 pixels to ensure readability
You don’t need to manually resize the window. It recalculates dimensions when you add or remove items through the Config panel.
Real-time updates
The interface updates automatically when:- Bags change: Item counts refresh when you loot, buy, or use items
- Buffs change: Border colors and timers update every 2 seconds while the window is open
- Items used: Clicking an item triggers immediate inventory and delayed buff updates
Performance optimization
When window is open
- Bag updates trigger on
BAG_UPDATEevents - Buff scans run every 2.0 seconds
- Full UI refresh on show
When window is closed
- No bag monitoring
- No buff scanning
- Zero performance overhead