| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
config.h now carries everything a reader would reasonably want to change:
both fonts, the liturgical palette and the fallback for an unlisted
colour, the selection rings, geometry, weekday headings, the detail-pane
labels, the window title, and which rank earns a badge and what it says.
Several of those were literals buried in colitur-x.c.
Default font is Terminus:pixelsize=20:antialias=false, matching st.
Terminus is a bitmap face, so it exists only at fixed pixelsizes -- the
list is in the comment, because asking for one it lacks silently gets a
substitute rather than an error.
Layout metrics now come from the font instead of magic numbers: line
height and the badge from XftFont ascent/descent in colitur-x, column
widths in characters rather than pixels in colitur-mu. Before this,
changing the font size left a 13px line height and a 110px date column
that quietly truncated their contents.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both markers were drawn in gold, which works on a dark cell and very
nearly disappears on a white one -- and most days are white.
The selection is now ringed twice, dark outside and bright inside, so it
reads against a white cell and a red one without knowing which it is. The
I-class marker is a badge rather than coloured text: filled with the
cell's own foreground and lettered in its background, so it inverts
against whatever the day's liturgical colour is.
It also opens on TODAY when the input covers it, which is what a viewer
should do; colitur's kernel still never reads a clock.
Drawing now goes to an off-screen pixmap and CX_DUMP writes one frame
out, so the result can be checked without screenshotting a window whose
contents X does not retain while it is obscured.
|
|
|
Reads colitur emit --format csv on stdin and draws the year as a month
grid coloured by liturgical colour, with the selected day's readings
below.
A separate program on purpose: colitur's dependencies are frozen and its
kernel is pure, so a front-end composes with it rather than living in it.
Configuration is compile-time, the same model clectio uses.
|