Appearance shows CDE's palettes, each as a row of its colours (named colours too: Black.dp, BlackWhite.dp), found where the colour server looks (~/.dt/palettes, the configuration and the installation directory). A choice merges "*0*ColorPalette: NAME.dp" with _DtAddToResource as dtstyle does (ColorMain.c) and says it takes effect at the next login, with a Log Out Now button: on TrueColor the colour server cannot change colours it has allocated, which dtstyle says as well. Fonts lists the families Xft knows and a size, with a preview in that font, and merges *mcde.fontName/*mcde.fontSize, the render table every MCDE program draws with (sys.resources). dtsession saves the whole RESOURCE_MANAGER at logout (SmSave.c, OutputResource). Measured on Xvfb (build/mcde-shots/input-appearance.png, input-fonts.png): choosing Arizona put "*0*ColorPalette: Arizona.dp" into RESOURCE_MANAGER; choosing DejaVu Sans Mono at 12 put "*mcde.fontName: DejaVu Sans Mono", "*mcde.fontSize: 12" there, and the preview drew in it. The next login with the new palette is not measured here. www: System Settings and the bar brought up to date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
766 B
Makefile
19 lines
766 B
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
# dtsystemsettings, the settings of the computer in one window (main.c);
|
|
# panes.c is the list of the panes, plain C with its own tests (make check).
|
|
bin_PROGRAMS = dtsystemsettings
|
|
|
|
dtsystemsettings_SOURCES = main.c panes.c panes.h ui.h accounts.c update.c \
|
|
input.c appearance.c
|
|
dtsystemsettings_CPPFLAGS = -I$(top_srcdir)/include $(DT_INCDIR) \
|
|
-I$(top_builddir)/include $(XFT_CFLAGS) \
|
|
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
|
|
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
|
|
# Xft and fontconfig: the font families (appearance.c)
|
|
dtsystemsettings_LDADD = $(LIBMCDESYS) $(DTCLIENTLIBS) $(XTOOLLIB) $(XFTLIB)
|
|
|
|
check_PROGRAMS = test_panes
|
|
test_panes_SOURCES = test_panes.c panes.c panes.h
|
|
TESTS = test_panes
|