Adaptive Calendar Buttons v1.0.0

Adaptive Calendar Buttons keeps Captain of Industry Calendar 1 buttons compact,
sortable, and under your control while preserving their original actions,
icons, live behavior, and reliable metadata.

ONE ADAPTIVE BUTTON

The mod adds one calendar button instead of separate settings and collapse
controls.

* Collapse mode off: left-click opens Adaptive Calendar Buttons - Settings.
  Right-click has no action.
* Collapse mode on: left-click changes between the configured Collapsed and
  Expanded states. Right-click opens settings.
* The icon is gold while Expanded is active and white while Collapsed or while
  collapse mode is disabled.
* Its translated tooltip always explains the currently available clicks.
* The Adaptive Calendar Buttons row is permanently protected from hiding in either
  state, so settings cannot become inaccessible.

ENABLED, COLLAPSED, AND EXPANDED

Every eligible calendar button has three direct controls:

* Enabled is the master switch. Disabled buttons are always hidden.
* Collapsed chooses whether the button appears in the Collapsed state.
* Expanded chooses whether the button appears in the Expanded state.

This supports every useful combination: visible in both states, only while
Collapsed, only while Expanded, or completely disabled. Turning Enabled off
preserves the two state choices for later.

The fixed bottom row contains independent bulk controls for all three columns.
Each bulk control changes only its own column. After a bulk change, Undo last
bulk change restores the exact previous mixture for the current session.

ORDER AND EXPANSION DIRECTION

The settings list always reads in the same left-to-right order as the live
calendar bar. Switching between Expand left and Expand right reverses both the
live row and the list together, so familiar sequences such as pause, speed 1,
speed 2, and speed 3 never require mental mirroring.

Select a green-highlighted row and use the compact arrow buttons to reorder it.
Moving a row up always moves that live button left. Moving it down always moves
the button right, regardless of expansion direction. Selection updates in
place and the scrolling list retains its position.

Expand left is the default for the common top-right calendar layout. When
Tweaks++ has repositioned the calendar, Adaptive Calendar Buttons keeps the right
edge anchored so width changes grow naturally toward the left. Expand right
uses the normal fixed left edge.

Direction controls are shown only while collapse mode is enabled and a valid
Tweaks++ movement target is available. The untouched native calendar already
positions itself correctly. During a real Tweaks++ drag, the right-edge
correction is suspended and then adopts the completed position. Adaptive
Calendar UI never resets or rewrites Tweaks++ HUD placement.

RESET TO DEFAULTS

Reset to defaults uses the game's native confirmation prompt. It restores:

* The original discovered visual order.
* Default button visibility, including the Speed++ conditional defaults.
* Collapse mode off.
* The transient calendar state to Expanded.
* Expand left as the default direction.

Reset never changes the calendar's screen position, the settings-window
position, or any Tweaks++ HUD coordinates.

GLOBAL SETTINGS

One global configuration is shared by every world and survives complete game
restarts. It remembers order, Enabled, Collapsed, Expanded, collapse mode, and
expansion direction. The momentary Collapsed/Expanded state is not saved, so a
new session starts safely Expanded.

There are no per-save profiles or multiple-profile setup in v1.0.0. New test
worlds automatically use the same global configuration.

SPEED++ DEFAULTS

Speed++ is optional. On a fresh configuration with Speed++ installed, the
native pause and speed controls it replaces default hidden while its current
speed display remains available. Without Speed++, native pause and speed
controls default shown. Existing saved choices remain authoritative until
Reset to defaults is confirmed.

DISCOVERY, NAMES, AND TOOLTIPS

* Detects native and mod-added calendar buttons from the live HUD.
* Preserves each discovered button's original icon, action, tooltip metadata,
  translation, and live behavior whenever its source provides them.
* Uses reliable mod display names when available. Internal structural labels
  such as Wrapper fall back to the owning loaded mod's manifest display name.
* Recognizes native pause and game-speed controls with translated names.
* Lists Mori's supported control as Mori++ Overlord Menu while leaving its
  original action and dynamically sourced tooltip untouched.
* Genuine third-party name/icon cells expose the original tooltip supplied by
  that mod. Live calendar tooltips are never altered.
* Individual row checkboxes contain no repeated tooltip clutter. Focused help
  remains on global controls, column headers, Refresh, Reset, and reorder
  arrows.

Refresh performs one immediate re-scan for buttons added, removed, or changed
by other mods without resetting saved settings. Stable scans avoid reinserting
already-correct controls, preventing repeated hover and tooltip flashing.

Stable identities and collision safeguards keep saved state attached to the
correct controls. Temporarily late-loading buttons retain their records;
genuinely removed dynamic buttons are forgotten only after a long absence
grace period.

LANGUAGES

Includes English, Catalan, Czech, German, Spanish, Estonian, French, Hungarian,
Italian, Japanese, Korean, Norwegian, Dutch, Polish, Portuguese, Russian,
Swedish, Turkish, Ukrainian, Simplified Chinese, and Traditional Chinese.

Enabled, Collapsed, Expanded, and Calendar Button intentionally remain compact
English headers so translated text cannot break the tightly aligned table.
Their full explanations remain translated tooltips. Metadata supplied by other
mods is not retranslated.

LAYOUT AND COMPATIBILITY

* Uses the verified CalendarControlsHud structure directly.
* Managed buttons and the Adaptive Calendar Buttons control remain in the native
  Calendar 1 speed row.
* The Captain's Hat Escape menu remains untouched in native Calendar 2.
* Includes no docking mode or Calendar 2 placement controls.
* Compatible with Captain of Industry 0.8.6c through verified 0.8.7.
* Safe to add to or remove from an existing save.
* No required mod dependencies.

OFFICIAL PACKAGE IDENTITY

* Display name: Adaptive Calendar Buttons
* Mod ID and installation folder: adaptive-calendar-buttons
* Public ZIP: Adaptive Calendar Buttons v1.0.0.zip
* ZIP root folder: adaptive-calendar-buttons
* Runtime DLL: SexyCalendar.dll
