Skip to content

Adds Embers Clock theme - #19

Open
ricardobossan wants to merge 2 commits into
KlausLoeffelmann:mainfrom
ricardobossan:main
Open

Adds Embers Clock theme#19
ricardobossan wants to merge 2 commits into
KlausLoeffelmann:mainfrom
ricardobossan:main

Conversation

@ricardobossan

Copy link
Copy Markdown

A drop-in plug-in theme: a hand-less Ember Clock. Twelve flames ring the dial with Roman numerals on an inner ring and a gold hub at center. As the second hand sweeps each hour, that hour's ember burns out or reignites, so the burning wave itself marks the passing seconds.

warpclock

How it fits the contract

  • Layout: default radial ring for the flames; a small custom inner ring for the numerals.
  • Animator: reads the authoritative SecondAngle, toggles each hour's burn on crossing, and eases the flame + numeral to lit/out. It never sets a hand angle, so the engine still owns the time and it's always correct.
  • Efficient: only an element that's actively easing requests a redraw; a settled ring renders for free.
  • Hands are intentionally omitted; the effect is the point.

Files

  • New project WarpClock.Themes.EmberClock (EmberClockTheme / EmberClockRenderer / EmberClockAnimator).
  • WarpClock.App.csproj: adds the build-only ProjectReference and the CopyClockPlugins entry, matching the other sample themes.

Drawn with the WARP Direct2D surface, same as the built-in themes.

@KlausLoeffelmann KlausLoeffelmann left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,

can you set it up as a "Plug-in assembly"?
I want to have only those later in the store, which I used for testing and made myself.

Thanks!

@ricardobossan

Copy link
Copy Markdown
Author

Hey,

can you set it up as a "Plug-in assembly"? I want to have only those later in the store, which I used for testing and made myself.

Thanks!

Done. Pulled Ember out of WarpClock.App.csproj so the store stays only your own themes; it's a standalone plug-in assembly now, building to a drop-in dll for the plugins folder. Let me know if that's what you had in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants