Compare commits
51
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6bea4c5d1 | ||
|
|
7dd90490b4 | ||
|
|
91967e9f0d | ||
|
|
288d13834c | ||
|
|
87687d5ed3 | ||
|
|
222417e6bb | ||
|
|
bf039cafc3 | ||
|
|
4e51d6dd65 | ||
|
|
7c9347dc9b | ||
|
|
7013da2cb1 | ||
|
|
d283449167 | ||
|
|
d43e9881b1 | ||
|
|
ab00c2186c | ||
|
|
d651db9306 | ||
|
|
da3f2019ae | ||
|
|
313ba2bdea | ||
|
|
0cea680844 | ||
|
|
23f5afb4c2 | ||
|
|
c00e455044 | ||
|
|
78993ae092 | ||
|
|
067b95ecb3 | ||
|
|
c6441410ce | ||
|
|
4fead8a3dc | ||
|
|
8677a22d84 | ||
|
|
0fa42ac765 | ||
|
|
345c54105a | ||
|
|
28d82377d1 | ||
|
|
285ea4b3c0 | ||
|
|
dd05d43cab | ||
|
|
753c0f836e | ||
|
|
be056d34ee | ||
|
|
3d79fc80ca | ||
|
|
ff7c17dc4c | ||
|
|
2ce0575e8a | ||
|
|
f8a45ae56c | ||
|
|
f8183fa7d8 | ||
|
|
fed6f4c294 | ||
|
|
7589f2ea15 | ||
|
|
bc84289d25 | ||
|
|
88b63a51b5 | ||
|
|
727965b212 | ||
|
|
bd2afc27f2 | ||
|
|
4aa00e0649 | ||
|
|
d574ce9587 | ||
|
|
38c7bd1901 | ||
|
|
68d4953b99 | ||
|
|
fd55404245 | ||
|
|
16826ffd01 | ||
|
|
3a9f769c51 | ||
|
|
ba6190a157 | ||
|
|
e8d19bc74f |
No files matched your search
+80
@@ -2187,3 +2187,83 @@ lib/DtMmdb/schema/token.C
|
||||
# the pkgsrc recipe of Motif is not a generated Makefile: the bare "Makefile"
|
||||
# above hid it, so it lived only in the working tree (found 2026-11-13)
|
||||
!pkgsrc-motif/Makefile
|
||||
|
||||
# build outputs of an in-tree build (generated; do not commit)
|
||||
/fonts/fonts.conf
|
||||
/lib/McdeSys/test_audio
|
||||
/lib/McdeSys/test_netwatch
|
||||
/lib/libDtChat/fake_adapter
|
||||
/lib/libDtChat/test_adapter
|
||||
/lib/libDtChat/test_audio_opus
|
||||
/lib/libDtChat/test_capture
|
||||
/lib/libDtChat/test_conv
|
||||
/lib/libDtChat/test_filexfer
|
||||
/lib/libDtChat/test_frame
|
||||
/lib/libDtChat/test_fuzz
|
||||
/lib/libDtChat/test_i18n
|
||||
/lib/libDtChat/test_identity
|
||||
/lib/libDtChat/test_instance
|
||||
/lib/libDtChat/test_irc
|
||||
/lib/libDtChat/test_json
|
||||
/lib/libDtChat/test_local
|
||||
/lib/libDtChat/test_loop
|
||||
/lib/libDtChat/test_media_call
|
||||
/lib/libDtChat/test_media_packet
|
||||
/lib/libDtChat/test_media_sync
|
||||
/lib/libDtChat/test_pair
|
||||
/lib/libDtChat/test_peers
|
||||
/lib/libDtChat/test_store
|
||||
/lib/libDtChat/test_text
|
||||
/lib/libDtChat/test_video_packet
|
||||
/lib/libDtChat/test_video_render
|
||||
/lib/libDtChat/test_video_vp8
|
||||
/motif/clients/uil/UilDBDef.h
|
||||
/motif/clients/uil/UilParser.c
|
||||
/motif/clients/uil/uil
|
||||
/motif/config/util/makestrs
|
||||
/motif/include/config.h
|
||||
/motif/include/stamp-h1
|
||||
/motif/lib/Xm/Xm.h
|
||||
/motif/lib/Xm/stamp-h2
|
||||
/motif/tools/wml/motif.wmd
|
||||
/motif/tools/wml/wml
|
||||
/motif/tools/wml/wml-uil.mm
|
||||
/motif/tools/wml/wml.report
|
||||
/motif/tools/wml/wmldbcreate
|
||||
/motif/tools/wml/wmluiltok
|
||||
/programs/dtactivity/dtactivity
|
||||
/programs/dtappscan/dtappscan
|
||||
/programs/dtbackup/dtbackup
|
||||
/programs/dtbar/dtbar
|
||||
/programs/dtchat/dtchat
|
||||
/programs/dtchat/dtchat-demo
|
||||
/programs/dtchat/dtchat-headless
|
||||
/programs/dtchat/dtchat-irc
|
||||
/programs/dtchat/dtchat-telegram
|
||||
/programs/dtchat/dtchat-whatsapp
|
||||
/programs/dtchat/dtchat-xmpp
|
||||
/programs/dtcmprefs/dtcmprefs
|
||||
/programs/dtconsole/dtconsole
|
||||
/programs/dtcursor/dtcursor
|
||||
/programs/dtdiskutility/dtdiskutility
|
||||
/programs/dterror/dterror.ds
|
||||
/programs/dtimage/dtimage
|
||||
/programs/dtkeys/dtkeys
|
||||
/programs/dtlaunch/dtlaunch
|
||||
/programs/dtnetutility/dtnetutility
|
||||
/programs/dtpaint/dtpaint
|
||||
/programs/dtphoto/dtphoto
|
||||
/programs/dtscreenshot/dtscreenshot
|
||||
/programs/dtsystemsettings/dtsystemsettings
|
||||
/programs/dtthemesync/dtthemesync
|
||||
/programs/dttoolbox/dttoolbox
|
||||
/programs/localized/C/msg/dtbar.cat
|
||||
/programs/localized/C/msg/dtchat.cat
|
||||
/programs/localized/C/msg/dtlaunch.cat
|
||||
/programs/localized/C/msg/dtpaint.cat
|
||||
/programs/localized/C/msg/dtphoto.cat
|
||||
/programs/localized/C/msg/dtsystemsettings.cat
|
||||
/programs/localized/C/msg/dttoolbox.cat
|
||||
/programs/localized/C/msg/mcdesys.cat
|
||||
/programs/mcdesoundd/mcdesoundd
|
||||
/test-driver
|
||||
@@ -62,7 +62,8 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
(measured 2026-11-16). dtlaunch (`dtlaunch.msg`, 3 messages) has no
|
||||
libDtSvc to link, so it calls `catopen`/`catgets` itself and its
|
||||
Makefile passes `CDE_INSTALLATION_TOP`. dttoolbox (`dttoolbox.msg`, 2
|
||||
messages: the window title and the "no menu" label) does the same and
|
||||
messages: the window title, which is "dttoolchest", and the "no menu"
|
||||
label) does the same and
|
||||
calls `setlocale` in main before its first message; the menu labels
|
||||
themselves come from the person's chestrc, which is their file, not a
|
||||
catalog. dtphoto (`dtphoto.msg`, 5 messages: the toolbox title, the two
|
||||
@@ -93,8 +94,10 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
gives a position outside the canvas, which moved the picture back).
|
||||
Crop drags a rectangle and crops to it on release. Type opens a prompt
|
||||
and draws one line with the GC font over an undo snapshot.
|
||||
`dtphoto -movetest|-croptest|-typetest|-selecttest|-retouchtest` are the
|
||||
headless proofs (no display needed beyond Xvfb): exact pixel sets for
|
||||
`dtphoto -movetest|-croptest|-typetest|-selecttest|-retouchtest|-layertest`
|
||||
`|-cliptest|-viewtest|-drawtest|-selmodtest|-optest|-menutest` are the
|
||||
headless proofs (no display needed beyond Xvfb): exact
|
||||
pixel sets for
|
||||
wand/inverse/lasso/clear, a 10x10 block moved (10,5) with its mask and a
|
||||
background hole left behind, a crop to 20x30 that keeps only blue, a
|
||||
text line with dark pixels and an untouched corner, and all six
|
||||
@@ -208,6 +211,33 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
unreachable (measured 2026-11-22, the click landed in the eraser field).
|
||||
`DTPHOTO_OPTIONS=1` opens the box at startup, which is how the test
|
||||
reaches it without a mouse.
|
||||
The layer stack is real and the palette shows it (2026-11-22): one row
|
||||
per layer, the top of the stack first, an eye that hides a layer and a
|
||||
name that makes it active. Before this the palette was a single label
|
||||
and a layer could only be reached through the Layer menu. The rows are
|
||||
rebuilt where the *stack* changes (new, duplicate, delete, merge), never
|
||||
from inside a row's own callback -- that would destroy the widget whose
|
||||
handler is running. A layer carries coverage (0-255 per pixel) as well
|
||||
as RGB, because an empty layer has to let the one below show through:
|
||||
without it a new layer was a white sheet that hid the picture, and
|
||||
`LayerAbsorb` copied the whole composite into it, so the layer below
|
||||
appeared twice. The background has no coverage buffer (it covers
|
||||
everything), a new layer starts with an empty one, and `WritePatch`
|
||||
sets the coverage of the layer being painted so a stroke is opaque
|
||||
while the rest of the layer stays clear. `Layer Options` sets opacity
|
||||
and blend mode (0 normal, 1 multiply, 2 screen) through `FieldDialog`
|
||||
and *without* absorbing first: a property is not new pixels, and
|
||||
reading the composite back into the layer baked the old blend in, so
|
||||
50% showed 127,0,0 and multiply over white went black (measured
|
||||
2026-11-22). `-layertest` drives the real `CanvasInput` in the order
|
||||
that matters -- stack first, then the stroke -- because a `LayerEnsure`
|
||||
after the stroke reads the pixmap back into the layer and hides the
|
||||
fault: eleven checks, that the stroke lands in the painted layer and
|
||||
not the one below, that every visible layer is composited whichever is
|
||||
active, that hiding it brings the background back, that the palette
|
||||
holds one row per layer and a click on the top row makes that layer
|
||||
active, and that opacity 100/50 and multiply change what reaches the
|
||||
screen.
|
||||
Painting is clipped to the selection, as in the original: the pencil
|
||||
(a hard square tip of 2r+1), the brush (a round one) and the eraser all
|
||||
go through `PaintTip`, which reads the box around the dab once, mixes by
|
||||
@@ -216,6 +246,24 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
its radius entirely (one XDrawPoint). `-optest` proves both: a tip laid
|
||||
across the edge of a 2 px selection changes only those two columns, and
|
||||
the wand at tolerance 0 takes one pixel where tolerance 100 takes six.
|
||||
The clipboard carries the *shape* of the selection, not its bounding
|
||||
box (2026-11-22): `clipRGB` plus one coverage byte per pixel instead of
|
||||
a pixmap, so a lasso pastes its outline and a feathered edge blends.
|
||||
Three faults fell out of that the same day. Copy took the rectangle,
|
||||
so Paste brought back the pixels the lasso had excluded. Cut cleared
|
||||
the *whole* picture -- it was MaskClear plus a full XFillRectangle, so
|
||||
cutting a lasso wiped everything outside it. Paste Into called
|
||||
PasteFromClip() with no limit and was a second Paste. `-cliptest`
|
||||
checks all three plus the soft paste against exact pixels, and the
|
||||
menu path through a mouse: a dragged 60x60 box gives
|
||||
`dtphoto: copied 60x60`, and after Select > None the same Copy gives
|
||||
`copied 1024x768`.
|
||||
`MaskFromRect` claims the selection itself. `MaskClear` drops `hasSel`
|
||||
and every caller set it *before* the call, so the rectangle produced a
|
||||
mask nothing believed in: Copy fell back to the whole picture and
|
||||
Clear/Fill/Crop ignored the marquee. A rectangle put into the mask is
|
||||
a selection; the function that puts it there says so, and no caller has
|
||||
to remember.
|
||||
dtpaint builds its menus in code and its labels are catalogued
|
||||
(`dtpaint.msg`, 51 messages from 1-53, 52 unused: menus, the
|
||||
tool/file/error/discard/attributes/colour/print dialogs, Help and About);
|
||||
@@ -244,8 +292,23 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
(1/4/8/24/32 bpp, alpha 0 composited on the background; PNG-compressed
|
||||
icons refused) go through the program's own reader; PNG, JPEG, GIF and
|
||||
XPM come from `McdeThumbRead` (libDtSvc), so the program carries no
|
||||
second decoder. Saving writes the format the name ends in, `.png` and
|
||||
`.bmp` through `McdeThumbWrite`, anything else as 24-bit BMP. Measured
|
||||
second decoder. PSD is its own reader and writer (a layer stack cannot
|
||||
live in a flat pixmap): every channel plane goes through PackBits unless
|
||||
packing does not make it smaller, and the channel length in the layer
|
||||
record is measured by the same routine that then writes it, because a
|
||||
length guessed from `w*h` and two bytes put the reader at the wrong
|
||||
offset. The RLE layout is the one Photoshop writes: all the row lengths
|
||||
first, then the rows -- the first version interleaved them, and the
|
||||
program's own reader made the same mistake, so only a foreign decoder
|
||||
could catch it. ImageMagick reported `InvalidLength` until both sides
|
||||
changed; after that it reads the composite and the layer at the pixels
|
||||
the test wrote. Measured 2026-11-22: a 64x64 picture with one hard edge
|
||||
is 2436 bytes packed against about 12530 raw, and `-rletest` checks both
|
||||
the size and the pixels. `-psdread` reads a file ImageMagick wrote (16x12,
|
||||
alpha as coverage) so the reader is not only tested against the writer.
|
||||
Saving writes the format the name ends in, `.png` and
|
||||
`.bmp` through `McdeThumbWrite`, `.psd` through the layer writer,
|
||||
anything else as 24-bit BMP. Measured
|
||||
2026-11-22 on Xvfb depth 24: a 40x30 PNG written back is 1200 of 1200
|
||||
pixels identical, a GIF 0 of 1200 different, JPEG q100 at most 3 steps
|
||||
per channel; on depth 8 a 32-colour picture comes back exact and the
|
||||
@@ -359,6 +422,24 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
it Cmd+Delete said `TT_ERR_NO_MATCH ... disposition was not queue or start`
|
||||
and left the file (measured 2026-11-15, t0206); with it the file is in
|
||||
`~/.dt/Trash` and the Trash Can window lists it.
|
||||
- **Window titles are UTF-8** in the reference's face. The title has its own
|
||||
XFontSet (`WmInitWs.c`: Adobe Helvetica 14 bold oblique, the 4Dwm face, plus
|
||||
an ISO10646 fallback); `DrawWindowTitle` draws `_NET_WM_NAME` (or WM_NAME
|
||||
converted from compound text with `_XmStringUngenerate`) with
|
||||
`Xutf8DrawString` and clears the title box first. Motif's XmString path
|
||||
cannot draw UTF-8 under a non-UTF-8 locale -- with `LC_CTYPE=C` a
|
||||
`_NET_WM_NAME` of "Grüße 日本" appeared as the JIS bytes "FJK\" (measured
|
||||
2026-11-22). The `_NET_WM_NAME` atoms are interned whether or not EWMH is
|
||||
on, and `0010.language` gives a session without a language
|
||||
`LC_CTYPE=C.UTF-8`: XCreateFontSet builds for the locale, and in C the set
|
||||
had only ASCII (font set test: "Grüße" 17 px instead of 43).
|
||||
- **The session UI is IRIX Helvetica**, not the wider CDE `-dt-interface
|
||||
system` face: `programs/dtsession/sys.resources.src` and `sys.font.src`
|
||||
select Adobe Helvetica 14 px on screens wider than 1175 pixels, 12 on a
|
||||
medium one and 10 on a small one, for `*FontList`, buttons, labels, text and
|
||||
the editor -- the CDE face read one size too big. The title and the menus
|
||||
stay at the 4DWm reference, 14 px bold oblique (`Dtwm.defs.src`, 8a0a5ac3);
|
||||
the panel is the same face at 14/13/10.
|
||||
- **Windows**: dtwm places and maximizes below the bar; the title sits at the
|
||||
left of the bar (`Dtwm*titleLeft: True`, the 4Dwm `SG_titleLeft`; the CDE
|
||||
default is centred) and the frame is 7 pixels wide, as the reference's
|
||||
@@ -366,9 +447,11 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
moves it. The palette `IRIX.dp` carries the reference's greys
|
||||
(`sgilightgray` #c0c0c0, `sgibrightgray` #e0e0e0); focus follows the
|
||||
pointer without auto-raise by default; a client straight onto a desktop
|
||||
icon or the bar clears the keyboard focus (the icon windows select
|
||||
EnterWindowMask and WmMcdeDesktop calls Do_Focus_Key(NULL); dtbar sets the
|
||||
input focus to PointerRoot on its EnterNotify), so a non-client area never
|
||||
icon clears the keyboard focus (the icon windows select EnterWindowMask
|
||||
and WmMcdeDesktop calls Do_Focus_Key(NULL)); the bar is no focus target:
|
||||
dtbar sets `_MCDE_NO_FOCUS` and dtwm's focus-follows-pointer path skips
|
||||
such a client, so the program keeps the keyboard and its menu (t0255), so a
|
||||
non-client area never
|
||||
leaves the last terminal focused (t0255); zones and full screen use Command+Ctrl
|
||||
keys; the outline is XOR or four thin windows, never FlashOutline. An
|
||||
iconified window shows image and label (`Dtwm*iconDecoration: label image`,
|
||||
@@ -418,7 +501,15 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
timer) and succeeds, but the following key did not arrive at the bar in the
|
||||
measurement. A menu opens with the pointer only until a dtwm-side or
|
||||
event-based path is found.
|
||||
The front panel is not snapped or made full screen by keys.
|
||||
The front panel is not snapped or made full screen by keys. The panel
|
||||
defines the standard arrow on itself when it is mapped instead of inheriting
|
||||
one from its frame (the frame's cursor was a black 16x16 square on the
|
||||
MacBook, measured 2026-11-21), and the busy cursor's handle is kept: it used
|
||||
to be created and thrown away, so BUSY_START defined cursor None.
|
||||
The dock's kept programs (`~/.dt/panel-apps`) have a pane of their own,
|
||||
System Settings > Dock: it lists them, removes one, adds one from a command
|
||||
and restarts the window manager (`_DtWmRestartNoConfirm`) so the panel is
|
||||
built again.
|
||||
A double click on a window's title bar does `Dtwm*mcdeTitleBarDoubleClick`
|
||||
(`none` by default, `minimize` or `maximize`); the Appearance pane writes
|
||||
it and restarts dtwm (`_DtWmRestartNoConfirm`).
|
||||
@@ -461,7 +552,11 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
(auto|pc|mac, dtkeys' Alt/Windows exchange) and the modifier functions
|
||||
(`capslock: control` and its three neighbours); "dtkeys auto" applies both
|
||||
with XChangeKeyboardMapping/XSetModifierMapping, at login
|
||||
(Xsession.d/0072.dtkeys) and at once from the pane. The Shortcuts tab
|
||||
(Xsession.d/0072.dtkeys) and at once from the pane. Whether the keyboard
|
||||
is Apple's is asked of the machine first (`hw.model` starting with "Mac"),
|
||||
then of usbdevs: at session start the internal keyboard may not be
|
||||
enumerated yet, and a MacBook took the PC branch and exchanged Alt and
|
||||
Command (`_MCDE_KEYS` said "pc", measured 2026-11-21). The Shortcuts tab
|
||||
keeps `~/.dt/shortcuts` (`Name=key`); the launcher's key is live there:
|
||||
`Dtlaunch*hotkey`, and `dtlaunch -quit` asks the running launcher to let go
|
||||
of it, so the next one takes the new key. The other rows are a record --
|
||||
@@ -488,6 +583,14 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
`~/.dt/screensaver`. The start time has the reference's seven steps
|
||||
(3/5/15/30/60/120 minutes, never) and goes to dtsession as the saver
|
||||
timeout.
|
||||
- **System Settings is one window**: 1022x550, minimum equal to maximum, and
|
||||
every pane lives in it -- a pane taller than the window scrolls (the pages
|
||||
sit in an `XmScrolledWindow` with `XmAUTOMATIC`) instead of growing the
|
||||
window (Konrad, 2026-11-21). The tab strip is one of many
|
||||
(`XmNradioBehavior`, `XmNradioAlwaysOne`), so a visited tab does not stay
|
||||
pressed. A pane's picture must exist in `appconfig/icons/C`; three did not
|
||||
(CDs & DVDs, Energy Saver, Dock) and one was used twice (Startup and
|
||||
Accounts).
|
||||
- **The "already exists" question** (dtfile/OverWrite.c,
|
||||
create_replace_rename_dialog): one sentence ("An item named ... already
|
||||
exists in this location. Do you want to replace it with the one you are
|
||||
@@ -647,12 +750,11 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
sentence and the keep sliders with the free-space limit. Without a
|
||||
configured disk the lines say so ("no disk is set up") -- measured on the
|
||||
build host, where backup is root work.
|
||||
- **Startup Disk**: `dtsystemsettings/startupdisk.c` -- the volumes from
|
||||
mcde_sys_disks, the one the system started from marked with * (the device
|
||||
of / from mcde_sys_info), its type, size and mount point, and
|
||||
"Restart..." (the bar's power dialog, so it asks). Choosing another
|
||||
startup volume writes the boot loader's configuration (grub on Linux,
|
||||
boot.cfg on NetBSD) and needs root -- the follow-up; the pane says so.
|
||||
- **Startup Disk**: not a pane any more (Konrad, 2026-11-21). The volumes
|
||||
from mcde_sys_disks, the one the system started from and its device are in
|
||||
System Information; `dtsystemsettings/startupdisk.c` is no longer built.
|
||||
Writing another startup volume's boot loader configuration (grub on Linux,
|
||||
boot.cfg on NetBSD) was its follow-up and stays one.
|
||||
- **System Information**: `dtsystemsettings/sysinfo.c` -- the sections
|
||||
Hardware, Network and Software in a list on the left, the values on the
|
||||
right from McdeSys (`mcde_sys_info`: model, processor, memory, startup
|
||||
@@ -702,7 +804,17 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
- **The desktop**: `WmMcdeDesktop.c` draws the icons of the desktop in the
|
||||
style of IRIX 4Dwm (4DWm app-defaults: iconDecoration "label image",
|
||||
iconClick false, iconPlacementMargin 10), in the top right corner and
|
||||
filled from the top down, then the next column to the left. The order is
|
||||
filled from the top down, then the next column to the left. The pictures
|
||||
are the Foundation icons at **64x64** (`programs/icons/Irix*.m.pm`,
|
||||
rastered by `tools/fti2xpm.py` from the .fti sources; the size is its third
|
||||
argument), and a medium picks its own by file system: cd9660 the CD, udf
|
||||
the DVD, msdos the diskette, tar/dump the tape, anything else the disk.
|
||||
A window's label is drawn on the backdrop with a shadow, not into a tile:
|
||||
the icon window is shaped (`XShapeCombineMask`) to the picture and the
|
||||
text. The icons are **mapped and lowered** -- an override-redirect window
|
||||
is not restacked by the window manager, so `XMapRaised` used to put them
|
||||
above every client; now a raised window, a full screen one included,
|
||||
covers them, as 4Dwm's desktop does. The order is
|
||||
the computer itself ("/", the only system volume that is shown), the disk
|
||||
mounts, the removable media (a stick, a CD or a DVD -- also when it is not
|
||||
mounted), the network mounts (NFS, SMB, AFP, sshfs) and the person's files
|
||||
@@ -732,6 +844,15 @@ narratives and test notes, is `docs/reference/mcde-agents-history-2026-11-13.txt
|
||||
NetBSD) names every mount and marks the network file systems; the desktop
|
||||
takes the local volumes from `mcde_sys_disks` (labels) and the network
|
||||
ones from there.
|
||||
- **The bar is no focus target** (`_MCDE_NO_FOCUS`): moving the pointer from
|
||||
a program to the bar used to take the keyboard away from that program --
|
||||
dtbar set the input focus to PointerRoot on EnterNotify and dtwm cleared the
|
||||
active client -- so the bar showed the M menu and a click could not act on
|
||||
the program (t0255, t0257). dtbar sets `_MCDE_NO_FOCUS` on its window and
|
||||
leaves the focus alone; dtwm's focus-follows-pointer path skips such a
|
||||
client, so the program keeps the keyboard, its menu stays in the bar, and
|
||||
an item acts on the client the menu came from (the ClientMessage goes to
|
||||
that window, not to whoever has the X focus).
|
||||
- **The bar's right end**: a person cascade (`McdeUser`) whose first line is
|
||||
the login name from the passwd entry -- a session started with an empty
|
||||
environment has no USER (measured: the menu said "user") -- then Accounts
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
# CNCL — Could Not Care Less License
|
||||
Version 1.1 (2026-11-19)
|
||||
|
||||
Version 1.1 adds the paragraph on military use; the grant is unchanged: 1.0 and
|
||||
1.1 permit exactly the same things.
|
||||
|
||||
No rights reserved. No obligations imposed. Couldn't care less.
|
||||
|
||||
## Preamble
|
||||
|
||||
Software is the product of collective human knowledge.
|
||||
|
||||
Every idea builds upon ideas that came before. Every invention stands on the accumulated discoveries, mistakes, experiments, and imagination of generations.
|
||||
|
||||
We do not believe in artificial boundaries around creativity.
|
||||
|
||||
We do not believe that creating something grants us the moral authority to dictate what others may do with it.
|
||||
|
||||
We live in an age where knowledge, tools, and artificial intelligence make creation accessible to everyone. The distinction between author, user, modifier, and creator is becoming increasingly meaningless.
|
||||
|
||||
We are not here to control what happens next.
|
||||
|
||||
We are here to create.
|
||||
|
||||
## The License
|
||||
|
||||
This software is made available to the world.
|
||||
|
||||
Do whatever you want with it.
|
||||
|
||||
Use it. Copy it. Modify it. Break it. Fix it. Sell it. Give it away. Incorporate it into something else. Keep your modifications private. Publish them. Feed it to AI. Build something nobody has thought of yet.
|
||||
|
||||
Use it commercially or personally. Combine it with other software. Release it under another license.
|
||||
|
||||
You owe the original author nothing.
|
||||
|
||||
No attribution required. No royalties. No source disclosure. No reciprocal licensing. No contribution requirements. No permission needed.
|
||||
|
||||
There are no conditions attached to your use of this software.
|
||||
|
||||
There is no expectation that you will give anything back.
|
||||
|
||||
There is no expectation that you will even care.
|
||||
|
||||
## Military use
|
||||
|
||||
We have no illusions about armies, and no say over them either. If this software
|
||||
ends up in a weapon, that is your business, not ours.
|
||||
|
||||
But since you asked: using it to defend people is not the same as using it to
|
||||
attack them. Use it to protect. Do not use it to conquer.
|
||||
|
||||
There is nothing to enforce here either. This paragraph is the author's position,
|
||||
not a term of the license: no condition, no revocation, no court. It does not add
|
||||
an obligation to CNCL 1.0, and it is not a promise that the license is "ethical".
|
||||
It is one sentence of opinion in a license that has no terms -- take it or leave
|
||||
it, as with everything else here.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
The software is provided "AS IS", without warranty of any kind.
|
||||
|
||||
The authors accept no responsibility for its use, misuse, modification, distribution, or consequences.
|
||||
|
||||
## The CNCL Principle
|
||||
|
||||
We acknowledge that everything we create is built upon something that existed before us.
|
||||
|
||||
We do not claim ownership over the collective intelligence of humanity.
|
||||
|
||||
We do not expect recognition, compensation, or control.
|
||||
|
||||
Take it. Change it. Make it better. Make it worse. Make something entirely different.
|
||||
|
||||
Or don't.
|
||||
|
||||
We Could Not Care Less.
|
||||
|
||||
---
|
||||
|
||||
CNCL — Could Not Care Less.
|
||||
|
||||
Created for everyone. Controlled by no one.
|
||||
@@ -1,100 +1,89 @@
|
||||
CDE - The Common Destop Environment
|
||||
===
|
||||
# MCDE — the Makronix Common Desktop Environment
|
||||
|
||||
In 2012, CDE was opensourced under the terms of the LGPL V2 license by
|
||||
the Open Group.
|
||||
MCDE is a fork of [CDE](https://sourceforge.net/projects/cdesktopenv/), the
|
||||
Common Desktop Environment, reshaped into the desktop Makronix ships: the
|
||||
look of IRIX 4Dwm, the interaction of Mac OS X 10.4 where it is better, and
|
||||
CDE's own front panel where it is right.
|
||||
|
||||
You may reuse and redistribute this code under the terms of this
|
||||
license. See the COPYING file for details.
|
||||
It is a working desktop, not a theme: dtwm, the front panel, the top bar, the
|
||||
file manager, System Settings and the session manager are all here and all
|
||||
changed.
|
||||
|
||||
# Downloading
|
||||

|
||||
|
||||
Downloading this release:
|
||||

|
||||
|
||||
CDE may be downloaded in source form from the Common Desktop
|
||||
Environment website:
|
||||
## What MCDE changes
|
||||
|
||||
http://sourceforge.net/projects/cdesktopenv/
|
||||
**The desktop** follows IRIX 4Dwm. The icons are the IRIX Foundation pictures
|
||||
rastered at 64x64 (`tools/fti2xpm.py` in the Makronix tree, from the `.fti`
|
||||
sources), a medium picks its own by file system — CD, DVD, diskette, tape,
|
||||
disk — the label is drawn on the backdrop with a shadow instead of into a
|
||||
tile, and the icon window is shaped to picture and text. The icons sit at the
|
||||
bottom of the stack: a raised window, a full screen program included, covers
|
||||
them, as 4Dwm's desktop does.
|
||||
|
||||
Or via git:
|
||||
**The top bar** is the global menu of the program that has the keyboard. It is
|
||||
no focus target (`_MCDE_NO_FOCUS`): moving the pointer from a program to the
|
||||
bar leaves the keyboard where it was, so the bar keeps showing that program's
|
||||
menu and an item acts on the program the menu came from.
|
||||
|
||||
git clone git://git.code.sf.net/p/cdesktopenv/code CDE
|
||||
**The front panel** is CDE's, with its drawers and its own pointer. The
|
||||
programs kept on it live in `~/.dt/panel-apps` and have a pane of their own,
|
||||
System Settings > Dock, which adds, removes and applies them by restarting
|
||||
dtwm.
|
||||
|
||||
The git repository will always be more up to date than the
|
||||
downloadable tarballs we make available, so if you have problems,
|
||||
please try the latest version from git master.
|
||||
**System Settings is one window**, 1022x550, minimum equal to maximum. Every
|
||||
pane lives in it; a pane taller than the window scrolls instead of growing it,
|
||||
the tab strip behaves as one radio group, and every pane has its own picture.
|
||||
|
||||
Note also that the master branch may be unstable, so your milage may
|
||||
vary.
|
||||
**The keyboard** is asked what it is before it is mapped: `dtkeys` checks
|
||||
`hw.model` first (`Mac...`), then usbdevs, because the internal keyboard of a
|
||||
MacBook may not be enumerated when the session starts. On Apple hardware Alt
|
||||
and Command keep their places; on a PC keyboard they are exchanged if asked.
|
||||
|
||||
# Compiling
|
||||
**The toolchest** window is called `dttoolchest` and its menu is the session's
|
||||
own, not a second copy of the bar.
|
||||
|
||||
Complete build and installation instructions can be found on the CDE
|
||||
wiki:
|
||||
## Building
|
||||
|
||||
http://sourceforge.net/p/cdesktopenv/wiki/Home/
|
||||
MCDE is built like CDE: autoconf, GNU make, Motif and X11. On NetBSD (and
|
||||
Makronix) the build needs `gmake`, `ksh93`, `gettext`, `bison`, `flex` and
|
||||
Motif; the X11 tree provides the rest.
|
||||
|
||||
Please go there and read the appropriate section(s) for your OS (Linux
|
||||
or FreeBSD/OpenBSD/NetBSD currently) prior to attmpting to build it.
|
||||
|
||||
There are a variety of dependencies that must be met, as well as
|
||||
specific set up steps required to build, especially relating to
|
||||
localization and locales.
|
||||
|
||||
Do not expect to just type 'make' and have it actually work without
|
||||
meeting the prerequisites and following the correct steps as spelled
|
||||
out on the wiki.
|
||||
|
||||
There are also a lot of other documents and information there that you
|
||||
might find useful.
|
||||
|
||||
Assuming you've met all of the requirements regarding packages needed
|
||||
for the build, you can follow the standard autoconf method:
|
||||
|
||||
```
|
||||
$ ./autogen.sh
|
||||
$ ./configure
|
||||
$ make
|
||||
$ sudo make install
|
||||
```sh
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr/pkg/dt --with-x
|
||||
gmake
|
||||
gmake install
|
||||
```
|
||||
|
||||
NOTE: BSD users must currently install and use gmake to compile, as
|
||||
well as specify the location of the TCL libraries and headers. So
|
||||
the instructions for them would looke like:
|
||||
|
||||
```
|
||||
$ ./autogen.sh
|
||||
$ ./configure --with-tcl=/usr/local/lib/tcl8.6 MAKE="gmake"
|
||||
$ gmake
|
||||
$ sudo gmake install
|
||||
```
|
||||
|
||||
Of course change to location of your TCL directory as needed for your
|
||||
system.
|
||||
|
||||
# Support
|
||||
|
||||
## Mailing list
|
||||
|
||||
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
|
||||
|
||||
## IRC
|
||||
|
||||
There is a CDE IRC channel on irc.libera.chat, channel #cde
|
||||
|
||||
## Patches welcome
|
||||
|
||||
Please see
|
||||
|
||||
https://sourceforge.net/p/cdesktopenv/wiki/Contributing%20to%20CDE/
|
||||
|
||||
for information on how to contribute.
|
||||
|
||||
|
||||
Makronix does not build it by hand: `ext/src/mcde` is a submodule of the
|
||||
Makronix repository, its pkgsrc recipe is `ext/src/mcde/pkgsrc` (and
|
||||
`pkgsrc-motif` for the Motif library), and `make release` in the Makronix tree
|
||||
builds and packages it with everything else.
|
||||
|
||||
## Licence
|
||||
|
||||
MCDE is a fork of CDE. The code that came from CDE stays under the **LGPL 2.0
|
||||
or later** — the full text is in [COPYING](COPYING) — and a file that came from
|
||||
CDE keeps the notice it has. The files Makronix wrote for MCDE are under the
|
||||
**CNCL 1.0**, the Could Not Care Less License: no rights reserved, no
|
||||
obligations imposed, see [LICENSE.CNCL](LICENSE.CNCL).
|
||||
|
||||
The CNCL adds nothing on top of the LGPL for the CDE-derived work: if you
|
||||
redistribute MCDE, the LGPL applies to the parts that came from CDE, and the
|
||||
CNCL only says that Makronix's own additions ask nothing of you.
|
||||
|
||||
The IRIX Foundation icons are SGI's artwork, rastered from the `.fti` sources
|
||||
that came with IRIX 6.5; they are used here for the look they describe.
|
||||
|
||||
## Where it lives
|
||||
|
||||
- Repository: <https://git.kropa.tech/hiddenbox/mcde>
|
||||
- In Makronix: `ext/src/mcde`, a submodule; the desktop is built by
|
||||
`make release` and installed to `/usr/pkg/dt`.
|
||||
- Upstream CDE: <https://sourceforge.net/projects/cdesktopenv/>
|
||||
|
||||
MCDE is not a CDE release and does not speak for the CDE project. Bugs belong
|
||||
in the MCDE repository.
|
||||
+1
-1
@@ -74,7 +74,7 @@ if test "$enable_xft" = yes; then
|
||||
fi
|
||||
AC_SUBST(XFTLIB)
|
||||
AC_SUBST(XFT_CFLAGS)
|
||||
AC_PREFIX_DEFAULT(/usr/dt)
|
||||
AC_PREFIX_DEFAULT(/usr/mdt)
|
||||
|
||||
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
Package: @PACKAGE@
|
||||
Version: @VERSION@
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Architecture: @ARCH@
|
||||
Maintainer: Konrad Lother <konrad.lother@gmail.com>
|
||||
Depends: @DEPENDS@
|
||||
Installed-Size: @INSIZE@
|
||||
Description: Makronix Common Desktop Environment, with its own Motif
|
||||
MCDE is the Makronix fork of CDE 2.5.3. It installs under @PREFIX@ with
|
||||
its configuration in /etc/mdt, and carries the Motif it is built from --
|
||||
libXm, libMrm and libUil, the uil compiler and the headers -- so the
|
||||
desktop runs from its own toolkit and never from the system's libxm4.
|
||||
.
|
||||
It is the Linux side of the Makronix build host: Makronix itself gets MCDE
|
||||
through pkgsrc. A session starts with @PREFIX@/bin/Xsession.
|
||||
.
|
||||
Built from @VERSION@ on @DATE@.
|
||||
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=XSession
|
||||
Exec=/usr/mdt/bin/dtsession
|
||||
TryExec=/usr/mdt/bin/dtsession
|
||||
DesktopNames=MCDE
|
||||
Name=MCDE
|
||||
Comment=Makronix Common Desktop Environment (a CDE 2.5.3 fork)
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
# License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
|
||||
#
|
||||
# postinst of the MCDE package: what a package manager cannot do for the
|
||||
# desktop. $1 is configure (install or upgrade), abort-*, or triggered.
|
||||
#
|
||||
# The font index. MCDE installs its own fonts below /usr/mdt/fonts and a
|
||||
# fonts.dir for the directory it knows; a font in a subdirectory is invisible
|
||||
# to the X server without an index of its own. Debian's xfonts-utils brings
|
||||
# mkfontdir, which is in the dependency list of the package for this reason.
|
||||
# A host without it is not an error: the fonts of the session are also in the
|
||||
# X server's own path.
|
||||
|
||||
set -e
|
||||
|
||||
case ${1:-} in
|
||||
configure) ;;
|
||||
*) exit 0 ;;
|
||||
esac
|
||||
|
||||
PREFIX=/usr/mdt
|
||||
|
||||
if command -v mkfontdir >/dev/null 2>&1; then
|
||||
find "$PREFIX/fonts" -type d 2>/dev/null | while IFS= read -r d; do
|
||||
case $d in */hack) continue ;; esac
|
||||
mkfontdir "$d" >/dev/null 2>&1 || true
|
||||
done
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
@@ -52,7 +52,11 @@ int McdeThumbScale(const unsigned char *src, int sw, int sh, int maxw,
|
||||
int maxh, unsigned char **dst, int *w, int *h);
|
||||
|
||||
/* IMAGE (8-bit RGB) written to PATH. The format comes from the name's
|
||||
* ending: .png and .bmp are written, anything else is refused. A picture
|
||||
* ending: .png, .bmp, .jpg/.jpeg, .gif and .xpm are written, anything else
|
||||
* is refused. PNG, BMP and XPM come back exactly; JPEG is lossy by its own
|
||||
* nature. GIF carries at most 256 colours, so a picture with more than that
|
||||
* goes through a 6x5x6 cube (largest deviation 25 of 255, measured
|
||||
* 2026-11-22), while one that fits keeps its own colours exactly. A picture
|
||||
* written here is read back by McdeThumbRead() pixel for pixel, which is
|
||||
* what the test checks. 0 on success, -1 on a bad argument, an unknown
|
||||
* ending or a write error. */
|
||||
|
||||
+534
-10
@@ -787,7 +787,7 @@ ReadGif(const char *path, unsigned char **rgbp, int *wp, int *hp)
|
||||
}
|
||||
if (kind == 0x2c) {
|
||||
int left, top, iw, ih, ipacked, min_size;
|
||||
size_t room, used;
|
||||
size_t room, used, after;
|
||||
|
||||
if (at + 9 > len)
|
||||
break;
|
||||
@@ -818,23 +818,41 @@ ReadGif(const char *path, unsigned char **rgbp, int *wp, int *hp)
|
||||
min_size = buf[at++];
|
||||
if (min_size < 2 || min_size > 8)
|
||||
goto bad;
|
||||
room = (size_t) iw * ih;
|
||||
if ((data = malloc(room)) == NULL)
|
||||
goto bad;
|
||||
used = GifBlocks(buf, len, at, data, room);
|
||||
/* find where the data ended, to go on after it */
|
||||
/*
|
||||
* The compressed stream is not bounded by the
|
||||
* pixel count: 8-bit codes need more than one byte
|
||||
* per pixel and a short stream is padded. The
|
||||
* buffer has to hold the whole sub-block chain, so
|
||||
* the chain is measured first. Until 2026-11-22
|
||||
* this allocated iw*ih, which was too small for
|
||||
* every picture that was not mostly a repeat: the
|
||||
* data was silently cut and GifLzw failed on it
|
||||
* (measured: a 12x9 GIF with 108 colours, 124
|
||||
* compressed bytes in a 108 byte buffer).
|
||||
*/
|
||||
{
|
||||
size_t p = at;
|
||||
|
||||
while (p < len && buf[p] != 0)
|
||||
room = 0;
|
||||
while (p < len && buf[p] != 0) {
|
||||
size_t n = buf[p];
|
||||
|
||||
if (p + 1 + n > len)
|
||||
n = len - p - 1;
|
||||
room += n;
|
||||
p += buf[p] + 1;
|
||||
at = p < len ? p + 1 : len;
|
||||
}
|
||||
after = p < len ? p + 1 : len;
|
||||
}
|
||||
if ((out = malloc(room)) == NULL)
|
||||
if (room == 0 || (data = malloc(room)) == NULL)
|
||||
goto bad;
|
||||
used = GifBlocks(buf, len, at, data, room);
|
||||
at = after;
|
||||
if ((out = malloc((size_t) iw * ih)) == NULL)
|
||||
goto bad;
|
||||
{
|
||||
int n = GifLzw(data, used, min_size, out,
|
||||
(long) room);
|
||||
(long) iw * ih);
|
||||
|
||||
if (n < 0)
|
||||
goto bad;
|
||||
@@ -1659,6 +1677,506 @@ WriteBmp(const char *path, const unsigned char *rgb, int w, int h)
|
||||
return fclose(fp) == 0 ? 0 : -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* A JPEG, as the decoder reads it: libjpeg's compressor, 4:4:4 so that a
|
||||
* small picture keeps its colours instead of being smeared by chroma
|
||||
* subsampling. Quality 92 is a photograph setting, not a thumbnail one.
|
||||
*/
|
||||
static int
|
||||
WriteJpeg(const char *path, const unsigned char *rgb, int w, int h)
|
||||
{
|
||||
struct jpeg_compress_struct cinfo;
|
||||
struct jpeg_error_mgr jerr;
|
||||
FILE *fp;
|
||||
unsigned char *row;
|
||||
int y;
|
||||
|
||||
if ((fp = fopen(path, "wb")) == NULL)
|
||||
return -1;
|
||||
if ((row = malloc((size_t) w * 3)) == NULL) {
|
||||
fclose(fp);
|
||||
return -1;
|
||||
}
|
||||
cinfo.err = jpeg_std_error(&jerr);
|
||||
jpeg_create_compress(&cinfo);
|
||||
jpeg_stdio_dest(&cinfo, fp);
|
||||
cinfo.image_width = (JDIMENSION) w;
|
||||
cinfo.image_height = (JDIMENSION) h;
|
||||
cinfo.input_components = 3;
|
||||
cinfo.in_color_space = JCS_RGB;
|
||||
jpeg_set_defaults(&cinfo);
|
||||
jpeg_set_quality(&cinfo, 92, TRUE);
|
||||
/* 4:4:4: a small picture must not lose its colours */
|
||||
cinfo.comp_info[0].h_samp_factor = 1;
|
||||
cinfo.comp_info[0].v_samp_factor = 1;
|
||||
jpeg_start_compress(&cinfo, TRUE);
|
||||
while (cinfo.next_scanline < cinfo.image_height) {
|
||||
JSAMPROW r = row;
|
||||
|
||||
y = (int) cinfo.next_scanline;
|
||||
memcpy(row, rgb + (size_t) y * (size_t) w * 3,
|
||||
(size_t) w * 3);
|
||||
jpeg_write_scanlines(&cinfo, &r, 1);
|
||||
}
|
||||
jpeg_finish_compress(&cinfo);
|
||||
jpeg_destroy_compress(&cinfo);
|
||||
free(row);
|
||||
return fclose(fp) == 0 ? 0 : -1;
|
||||
}
|
||||
|
||||
/* the colour cube a GIF and an XPM share: 6 x 7 x 6 = 252 entries */
|
||||
#define CUBE_R 6
|
||||
#define CUBE_G 7
|
||||
#define CUBE_B 6
|
||||
#define CUBE_N (CUBE_R * CUBE_G * CUBE_B)
|
||||
|
||||
/*
|
||||
* The picture's own colours as a GIF table, when there are no more than
|
||||
* 256 of them. Writes the palette and the pixel indices, and returns the
|
||||
* count, or 0 when the picture has too many colours for this to be exact.
|
||||
*/
|
||||
static int
|
||||
ExactPalette(const unsigned char *rgb, int w, int h,
|
||||
unsigned char *pal, unsigned char *idx)
|
||||
{
|
||||
/*
|
||||
* A hash of the colours seen so far. Open addressing over 1024
|
||||
* slots: the table is at most half full, so a probe chain stays
|
||||
* short without any deleting.
|
||||
*/
|
||||
static int seen[1024];
|
||||
int used = 1024;
|
||||
int n = 0, i, p;
|
||||
|
||||
for (i = 0; i < 1024; i++)
|
||||
seen[i] = -1;
|
||||
for (i = 0; i < w * h; i++) {
|
||||
const unsigned char *s = rgb + (size_t) i * 3;
|
||||
unsigned long key = ((unsigned long) s[0] << 16) |
|
||||
((unsigned long) s[1] << 8) | s[2];
|
||||
unsigned long slot = (key * 2654435761UL) & 1023;
|
||||
|
||||
for (;;) {
|
||||
if (seen[slot] == -1) {
|
||||
if (n == 256)
|
||||
return 0;
|
||||
seen[slot] = n;
|
||||
pal[n * 3] = s[0];
|
||||
pal[n * 3 + 1] = s[1];
|
||||
pal[n * 3 + 2] = s[2];
|
||||
idx[i] = (unsigned char) n;
|
||||
n++;
|
||||
break;
|
||||
}
|
||||
if (pal[seen[slot] * 3] == s[0] &&
|
||||
pal[seen[slot] * 3 + 1] == s[1] &&
|
||||
pal[seen[slot] * 3 + 2] == s[2]) {
|
||||
idx[i] = (unsigned char) seen[slot];
|
||||
break;
|
||||
}
|
||||
slot = (slot + 1) & 1023;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* The unused cells stay black: the encoder always writes the full
|
||||
* 256 entries, so the file says what the indices mean even where
|
||||
* no pixel uses them.
|
||||
*/
|
||||
for (p = n; p < 256; p++)
|
||||
pal[p * 3] = pal[p * 3 + 1] = pal[p * 3 + 2] = 0;
|
||||
return n;
|
||||
}
|
||||
|
||||
static int
|
||||
CubeIndex(const unsigned char *s)
|
||||
{
|
||||
int r = (s[0] * (CUBE_R - 1) + 127) / 255;
|
||||
int g = (s[1] * (CUBE_G - 1) + 127) / 255;
|
||||
int b = (s[2] * (CUBE_B - 1) + 127) / 255;
|
||||
|
||||
return (r * CUBE_G + g) * CUBE_B + b;
|
||||
}
|
||||
|
||||
static void
|
||||
CubePalette(unsigned char *pal)
|
||||
{
|
||||
int i, r, g, b, k = 0;
|
||||
|
||||
memset(pal, 0, 256 * 3);
|
||||
for (r = 0; r < CUBE_R; r++)
|
||||
for (g = 0; g < CUBE_G; g++)
|
||||
for (b = 0; b < CUBE_B; b++) {
|
||||
pal[k * 3] = (unsigned char)
|
||||
(r * 255 / (CUBE_R - 1));
|
||||
pal[k * 3 + 1] = (unsigned char)
|
||||
(g * 255 / (CUBE_G - 1));
|
||||
pal[k * 3 + 2] = (unsigned char)
|
||||
(b * 255 / (CUBE_B - 1));
|
||||
k++;
|
||||
}
|
||||
for (i = k; i < 256; i++)
|
||||
pal[i * 3] = pal[i * 3 + 1] = pal[i * 3 + 2] = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* A GIF87a with a global colour table of the cube above. GIF carries at
|
||||
* most 256 colours, so a 24-bit picture has to be reduced to be a GIF at
|
||||
* all; 6x7x6 is the cube an 8-bit desktop could show. The LZW is the
|
||||
* format's own compressor, with the hash table the reference uses so that
|
||||
* the cost per pixel stays constant.
|
||||
*/
|
||||
static int
|
||||
WriteGif(const char *path, const unsigned char *rgb, int w, int h)
|
||||
{
|
||||
FILE *fp;
|
||||
unsigned char *idx, pal[256 * 3];
|
||||
unsigned char hdr[7], desc[10];
|
||||
int x, y, k;
|
||||
|
||||
if (w > 65535 || h > 65535)
|
||||
return -1;
|
||||
if ((fp = fopen(path, "wb")) == NULL)
|
||||
return -1;
|
||||
if ((idx = malloc((size_t) w * h)) == NULL) {
|
||||
fclose(fp);
|
||||
return -1;
|
||||
}
|
||||
/*
|
||||
* A picture with at most 256 distinct colours needs no quantisation
|
||||
* at all: its own colours become the table, and every pixel keeps
|
||||
* its exact value. The cube below is the fallback for everything
|
||||
* else. Measured 2026-11-22: a 16x12 test picture came back with a
|
||||
* delta of 8 through the cube, 0 through the exact table.
|
||||
*/
|
||||
if (ExactPalette(rgb, w, h, pal, idx) <= 0) {
|
||||
/*
|
||||
* More colours than a table holds: the fixed cube decides
|
||||
* both the table and every pixel's index. (This step went
|
||||
* missing once and the file carried an untouched index
|
||||
* buffer -- measured: a 64x64 picture lost 90% of its
|
||||
* raster.)
|
||||
*/
|
||||
CubePalette(pal);
|
||||
for (y = 0; y < h; y++)
|
||||
for (x = 0; x < w; x++)
|
||||
idx[(size_t) y * w + x] = (unsigned char)
|
||||
CubeIndex(rgb +
|
||||
((size_t) y * w + x) * 3);
|
||||
}
|
||||
fputs("GIF87a", fp);
|
||||
hdr[0] = (unsigned char) (w & 0xFF);
|
||||
hdr[1] = (unsigned char) ((w >> 8) & 0xFF);
|
||||
hdr[2] = (unsigned char) (h & 0xFF);
|
||||
hdr[3] = (unsigned char) ((h >> 8) & 0xFF);
|
||||
hdr[4] = (unsigned char) (0x80 | 0x70 | 7); /* table, 8 bits */
|
||||
hdr[5] = 0; /* background */
|
||||
hdr[6] = 0; /* aspect */
|
||||
if (fwrite(hdr, 1, sizeof hdr, fp) != sizeof hdr)
|
||||
goto bad;
|
||||
if (fwrite(pal, 1, sizeof pal, fp) != sizeof pal)
|
||||
goto bad;
|
||||
desc[0] = 0x2C; /* image descriptor */
|
||||
desc[1] = desc[2] = desc[3] = desc[4] = 0; /* left, top */
|
||||
desc[5] = (unsigned char) (w & 0xFF);
|
||||
desc[6] = (unsigned char) ((w >> 8) & 0xFF);
|
||||
desc[7] = (unsigned char) (h & 0xFF);
|
||||
desc[8] = (unsigned char) ((h >> 8) & 0xFF);
|
||||
desc[9] = 0; /* no local table */
|
||||
if (fwrite(desc, 1, sizeof desc, fp) != sizeof desc)
|
||||
goto bad;
|
||||
if (fputc(8, fp) == EOF) /* LZW minimum code size */
|
||||
goto bad;
|
||||
{
|
||||
/*
|
||||
* The dictionary: prefix chains in a hash table of the
|
||||
* reference encoder, so a lookup is one probe and not a walk
|
||||
* over 4096 entries for every pixel.
|
||||
*/
|
||||
static const int HASH_SIZE = 5003;
|
||||
int *hashTab, *codetab;
|
||||
unsigned char *out;
|
||||
size_t outn = 0, outcap;
|
||||
int next = 258, codeSize = 9, prev = -1;
|
||||
long bitbuf = 0;
|
||||
int nbits = 0;
|
||||
int shift;
|
||||
|
||||
/*
|
||||
* Worst case: one 12-bit code per pixel plus the clear and
|
||||
* end codes, so 2 bytes per pixel is ample. The old bound
|
||||
* (w*h + 1024) silently truncated a 1024x768 picture and
|
||||
* the file came out empty (measured 2026-11-22).
|
||||
*/
|
||||
outcap = (size_t) w * h * 2 + 4096;
|
||||
hashTab = malloc(sizeof(int) * HASH_SIZE);
|
||||
codetab = malloc(sizeof(int) * HASH_SIZE);
|
||||
out = malloc(outcap);
|
||||
if (hashTab == NULL || codetab == NULL || out == NULL) {
|
||||
free(hashTab);
|
||||
free(codetab);
|
||||
free(out);
|
||||
goto bad;
|
||||
}
|
||||
for (k = 0; k < HASH_SIZE; k++)
|
||||
hashTab[k] = -1;
|
||||
|
||||
#define GPIOUT(c) do { \
|
||||
bitbuf |= (long) (c) << nbits; \
|
||||
nbits += codeSize; \
|
||||
while (nbits >= 8) { \
|
||||
if (outn >= outcap) { \
|
||||
free(out); \
|
||||
free(hashTab); \
|
||||
free(codetab); \
|
||||
goto bad; \
|
||||
} \
|
||||
out[outn++] = (unsigned char) (bitbuf & 0xFF); \
|
||||
bitbuf >>= 8; \
|
||||
nbits -= 8; \
|
||||
} \
|
||||
} while (0)
|
||||
GPIOUT(256); /* clear */
|
||||
for (y = 0; y < h; y++)
|
||||
for (x = 0; x < w; x++) {
|
||||
int c = idx[(size_t) y * w + x];
|
||||
|
||||
if (prev < 0) {
|
||||
prev = c;
|
||||
continue;
|
||||
}
|
||||
/* (prev, c) already in the table? */
|
||||
{
|
||||
long fcode = (long) prev * 256 + c;
|
||||
int i = (int) ((fcode >> 12) ^
|
||||
(fcode & 0xFFF));
|
||||
|
||||
if (i >= HASH_SIZE)
|
||||
i -= HASH_SIZE;
|
||||
/*
|
||||
* The step must not be a multiple of
|
||||
* the table size, or the probe keeps
|
||||
* landing on the same slot. At i = 0
|
||||
* the step was exactly HASH_SIZE and
|
||||
* the encoder never returned (measured
|
||||
* 2026-11-22: a 128x128 picture hung on
|
||||
* the first colour pair whose hash
|
||||
* collapsed to slot 0).
|
||||
*/
|
||||
if (i <= 0) {
|
||||
i = 0;
|
||||
shift = 1;
|
||||
} else
|
||||
shift = HASH_SIZE - i;
|
||||
for (;;) {
|
||||
if (hashTab[i] < 0)
|
||||
break;
|
||||
if (hashTab[i] == fcode) {
|
||||
prev = codetab[i];
|
||||
goto have;
|
||||
}
|
||||
i -= shift;
|
||||
if (i < 0)
|
||||
i += HASH_SIZE;
|
||||
}
|
||||
/* not there: emit and add it */
|
||||
GPIOUT(prev);
|
||||
if (next < 4096) {
|
||||
codetab[i] = next;
|
||||
hashTab[i] = (int) fcode;
|
||||
next++;
|
||||
/*
|
||||
* The width goes up only
|
||||
* after the code that
|
||||
* filled the range: the
|
||||
* reader adds its entry for
|
||||
* the *previous* code, so it
|
||||
* is always one behind.
|
||||
* `>=` here desynchronised
|
||||
* every reader from code 512
|
||||
* on (checked against
|
||||
* giftopnm 2026-11-22: the
|
||||
* `>` rule decodes, `>=`
|
||||
* does not).
|
||||
*/
|
||||
if (next > (1 << codeSize) &&
|
||||
codeSize < 12)
|
||||
codeSize++;
|
||||
} else {
|
||||
GPIOUT(256);
|
||||
next = 258;
|
||||
codeSize = 9;
|
||||
for (k = 0; k < HASH_SIZE; k++)
|
||||
hashTab[k] = -1;
|
||||
}
|
||||
prev = c;
|
||||
}
|
||||
have:
|
||||
;
|
||||
}
|
||||
if (prev >= 0)
|
||||
GPIOUT(prev);
|
||||
GPIOUT(257); /* end of information */
|
||||
if (nbits > 0) {
|
||||
if (outn >= outcap) {
|
||||
free(out);
|
||||
free(hashTab);
|
||||
free(codetab);
|
||||
goto bad;
|
||||
}
|
||||
out[outn++] = (unsigned char) (bitbuf & 0xFF);
|
||||
}
|
||||
#undef GPIOUT
|
||||
/* data in blocks of at most 255 bytes, a zero byte ends it */
|
||||
{
|
||||
size_t p = 0;
|
||||
|
||||
while (p < outn) {
|
||||
size_t n = outn - p;
|
||||
|
||||
if (n > 255)
|
||||
n = 255;
|
||||
if (fputc((int) n, fp) == EOF ||
|
||||
fwrite(out + p, 1, n, fp) != n) {
|
||||
free(out);
|
||||
free(hashTab);
|
||||
free(codetab);
|
||||
goto bad;
|
||||
}
|
||||
p += n;
|
||||
}
|
||||
}
|
||||
free(out);
|
||||
free(hashTab);
|
||||
free(codetab);
|
||||
}
|
||||
if (fputc(0, fp) == EOF || fputc(';', fp) == EOF)
|
||||
goto bad;
|
||||
free(idx);
|
||||
return fclose(fp) == 0 ? 0 : -1;
|
||||
bad:
|
||||
free(idx);
|
||||
fclose(fp);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* An XPM3. The colour table comes from the colours the picture actually
|
||||
* has while they fit in 256, so a flat picture keeps its exact values; a
|
||||
* photographic one is reduced to the same cube the GIF writer uses. The
|
||||
* codes come from the 92 printable characters, one per colour while they
|
||||
* fit and two after that.
|
||||
*/
|
||||
static int
|
||||
WriteXpm(const char *path, const unsigned char *rgb, int w, int h)
|
||||
{
|
||||
/*
|
||||
* Every printable ASCII character except '"' and '\\', which
|
||||
* cannot appear in an XPM key without escaping, and the space,
|
||||
* which leads. 93 distinct keys, so two-character keys work up
|
||||
* to 93 * 93 = 8649 colours. The table held the duplicates 'X',
|
||||
* 'o' and 'O' twice until 2026-11-22: from 93 colours on, two
|
||||
* palette entries got the same key and the picture read back
|
||||
* wrong (measured: 12x9 with 108 colours, 9 bytes off).
|
||||
*/
|
||||
static const char chars[] =
|
||||
" !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||
"[]^_`abcdefghijklmnopqrstuvwxyz{|}~";
|
||||
FILE *fp;
|
||||
unsigned long key[256];
|
||||
unsigned char pal[256 * 3];
|
||||
int nkey = 0, i, x, y, cpp, cap = (int) (sizeof chars - 1);
|
||||
int *idx;
|
||||
int useCube = 0;
|
||||
|
||||
if ((fp = fopen(path, "wb")) == NULL)
|
||||
return -1;
|
||||
idx = malloc(sizeof(int) * (size_t) w * h);
|
||||
if (idx == NULL) {
|
||||
fclose(fp);
|
||||
return -1;
|
||||
}
|
||||
/*
|
||||
* A flat picture keeps its exact colours: the first pass collects
|
||||
* them while they fit in 256. A photographic one cannot, and is
|
||||
* reduced to the cube the GIF writer uses, so the two agree.
|
||||
*/
|
||||
for (y = 0; y < h && !useCube; y++)
|
||||
for (x = 0; x < w; x++) {
|
||||
const unsigned char *s =
|
||||
rgb + ((size_t) y * w + x) * 3;
|
||||
unsigned long k = ((unsigned long) s[0] << 16) |
|
||||
((unsigned long) s[1] << 8) | s[2];
|
||||
|
||||
for (i = 0; i < nkey; i++)
|
||||
if (key[i] == k)
|
||||
break;
|
||||
if (i == nkey) {
|
||||
if (nkey == 256) {
|
||||
useCube = 1;
|
||||
break;
|
||||
}
|
||||
key[nkey] = k;
|
||||
pal[nkey * 3] = s[0];
|
||||
pal[nkey * 3 + 1] = s[1];
|
||||
pal[nkey * 3 + 2] = s[2];
|
||||
nkey++;
|
||||
}
|
||||
}
|
||||
if (useCube) {
|
||||
CubePalette(pal);
|
||||
nkey = CUBE_N;
|
||||
}
|
||||
for (y = 0; y < h; y++)
|
||||
for (x = 0; x < w; x++) {
|
||||
const unsigned char *s =
|
||||
rgb + ((size_t) y * w + x) * 3;
|
||||
|
||||
if (useCube) {
|
||||
idx[(size_t) y * w + x] = CubeIndex(s);
|
||||
} else {
|
||||
unsigned long k =
|
||||
((unsigned long) s[0] << 16) |
|
||||
((unsigned long) s[1] << 8) | s[2];
|
||||
|
||||
for (i = 0; i < nkey; i++)
|
||||
if (key[i] == k)
|
||||
break;
|
||||
idx[(size_t) y * w + x] = i < nkey ? i : 0;
|
||||
}
|
||||
}
|
||||
cpp = nkey > cap ? 2 : 1;
|
||||
fprintf(fp, "/* XPM */\nstatic char *picture_xpm[] = {\n");
|
||||
fprintf(fp, "\"%d %d %d %d\",\n", w, h, nkey, cpp);
|
||||
for (i = 0; i < nkey; i++) {
|
||||
if (cpp == 1)
|
||||
fprintf(fp, "\"%c c #%02X%02X%02X\",\n",
|
||||
chars[i % cap], pal[i * 3], pal[i * 3 + 1],
|
||||
pal[i * 3 + 2]);
|
||||
else
|
||||
fprintf(fp, "\"%c%c c #%02X%02X%02X\",\n",
|
||||
chars[(i / cap) % cap], chars[i % cap],
|
||||
pal[i * 3], pal[i * 3 + 1], pal[i * 3 + 2]);
|
||||
}
|
||||
for (y = 0; y < h; y++) {
|
||||
fputc('"', fp);
|
||||
for (x = 0; x < w; x++) {
|
||||
int v = idx[(size_t) y * w + x];
|
||||
|
||||
if (cpp == 1) {
|
||||
fputc(chars[v % cap], fp);
|
||||
} else {
|
||||
fputc(chars[(v / cap) % cap], fp);
|
||||
fputc(chars[v % cap], fp);
|
||||
}
|
||||
}
|
||||
fputc('"', fp);
|
||||
fputs(y == h - 1 ? "\n" : ",\n", fp);
|
||||
}
|
||||
fputs("};\n", fp);
|
||||
free(idx);
|
||||
return fclose(fp) == 0 ? 0 : -1;
|
||||
}
|
||||
|
||||
int
|
||||
McdeThumbWrite(const char *path, const unsigned char *rgb, int w, int h)
|
||||
{
|
||||
@@ -1670,5 +2188,11 @@ McdeThumbWrite(const char *path, const unsigned char *rgb, int w, int h)
|
||||
return WritePng(path, rgb, w, h);
|
||||
if (SameEnding(path, "bmp"))
|
||||
return WriteBmp(path, rgb, w, h);
|
||||
if (SameEnding(path, "jpg") || SameEnding(path, "jpeg"))
|
||||
return WriteJpeg(path, rgb, w, h);
|
||||
if (SameEnding(path, "gif"))
|
||||
return WriteGif(path, rgb, w, h);
|
||||
if (SameEnding(path, "xpm"))
|
||||
return WriteXpm(path, rgb, w, h);
|
||||
return -1;
|
||||
}
|
||||
@@ -14,7 +14,10 @@ libDtChat_la_SOURCES = core.c loop.c store.c conv.c text.c adapter.c instance.c
|
||||
irc.c identity.c peers.c local.c filexfer.c pair.c i18n.c media_audio.c \
|
||||
media_packet.c media_call.c media_video.c media_video_packet.c \
|
||||
media_render.c media_sync.c media_capture.c dc_internal.h
|
||||
libDtChat_la_LIBADD = libDtChatIpc.la $(CRYPTOLIB) $(LIBTLS) $(OPUSLIB) $(VPXLIB)
|
||||
# iconv: text.c converts the session's charset with it (AM_ICONV). A library
|
||||
# carries the dependency so every program that links it gets it too;
|
||||
# without it dtchat fails with "undefined reference to libiconv_open".
|
||||
libDtChat_la_LIBADD = libDtChatIpc.la $(LTLIBICONV) $(CRYPTOLIB) $(LIBTLS) $(OPUSLIB) $(VPXLIB)
|
||||
libDtChat_la_LDFLAGS = -version-info 1:0:0
|
||||
|
||||
# Built by make mcde-host as well, so tools/mcde-tests.sh finds them in
|
||||
|
||||
@@ -731,4 +731,14 @@ void dc_instance_close(DcInstance *instance);
|
||||
/* Connect to a running primary and send {"cmd":"open","conv":...}. */
|
||||
int dc_instance_notify(const char *dir, const char *conv);
|
||||
|
||||
/*
|
||||
* The tests' scratch directories. They used to name /tmp/opencode/<x>-XXXXXX
|
||||
* -- a directory of the environment they were written in, not of the system:
|
||||
* mkdtemp() returns NULL when its parent is missing, so every test that needs
|
||||
* a directory failed on a machine that has no /tmp/opencode (measured
|
||||
* 2026-11-22). This fills "template" with $TMPDIR (or /tmp) and a name
|
||||
* unique enough for a test run and makes the directory; 0 on success.
|
||||
*/
|
||||
int dc_test_tmpdir(char *template, size_t len, const char *name);
|
||||
|
||||
#endif /* _DtChat_dc_internal_h */
|
||||
@@ -446,3 +446,25 @@ fail:
|
||||
free(sock_path);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------ tests */
|
||||
|
||||
/*
|
||||
* A scratch directory for the tests: $TMPDIR (or /tmp) plus "name-XXXXXX".
|
||||
* The tests used to write /tmp/opencode/<x>-XXXXXX, and mkdtemp() returns
|
||||
* NULL when that parent does not exist -- every test that needs a directory
|
||||
* then failed on a machine without /tmp/opencode (measured 2026-11-22).
|
||||
*/
|
||||
int
|
||||
dc_test_tmpdir(char *template, size_t len, const char *name)
|
||||
{
|
||||
const char *base = getenv("TMPDIR");
|
||||
int n;
|
||||
|
||||
if (base == NULL || base[0] != '/')
|
||||
base = "/tmp";
|
||||
n = snprintf(template, len, "%s/dtchat-%s-XXXXXX", base, name);
|
||||
if (n < 0 || (size_t)n >= len)
|
||||
return -1;
|
||||
return mkdtemp(template) != NULL ? 0 : -1;
|
||||
}
|
||||
@@ -197,14 +197,14 @@ test_names(void)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char tmp[] = "/tmp/opencode/dtchat-xfer-XXXXXX";
|
||||
char tmp[64];
|
||||
char dir[512];
|
||||
char src[600];
|
||||
char src2[600];
|
||||
char sha_src[65];
|
||||
char sha_recv[65];
|
||||
char base1[] = "/tmp/opencode/dtchat-xfer-a-XXXXXX";
|
||||
char base2[] = "/tmp/opencode/dtchat-xfer-b-XXXXXX";
|
||||
char base1[64];
|
||||
char base2[64];
|
||||
char id1[600], id2[600];
|
||||
DcIdentity *a;
|
||||
DcIdentity *b;
|
||||
@@ -215,7 +215,7 @@ main(void)
|
||||
int steps = 0;
|
||||
|
||||
memset(&t, 0, sizeof(t));
|
||||
CHECK(mkdtemp(tmp) != NULL);
|
||||
CHECK(dc_test_tmpdir(tmp, sizeof tmp, "xfer") == 0);
|
||||
snprintf(dir, sizeof(dir), "%s/dl", tmp);
|
||||
snprintf(t.dir, sizeof(t.dir), "%s", dir);
|
||||
snprintf(src, sizeof(src), "%s/source.bin", tmp);
|
||||
@@ -224,8 +224,8 @@ main(void)
|
||||
CHECK(dc_file_safe_name("../../escape.bin") != NULL);
|
||||
free(dc_file_safe_name("../../escape.bin"));
|
||||
|
||||
CHECK(mkdtemp(base1) != NULL);
|
||||
CHECK(mkdtemp(base2) != NULL);
|
||||
CHECK(dc_test_tmpdir(base1, sizeof base1, "xfer-a") == 0);
|
||||
CHECK(dc_test_tmpdir(base2, sizeof base2, "xfer-b") == 0);
|
||||
snprintf(id1, sizeof(id1), "%s/state", base1);
|
||||
snprintf(id2, sizeof(id2), "%s/state", base2);
|
||||
a = dc_identity_load_or_create(id1);
|
||||
|
||||
@@ -64,18 +64,39 @@ use_catalog(const char *dir)
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char tmp[] = "/tmp/opencode/dtchat-i18n-XXXXXX";
|
||||
char tmp[64];
|
||||
char de[1024], en[1024], cat[1200];
|
||||
char *msg_de;
|
||||
char *msg_en;
|
||||
|
||||
if (argc < 3) {
|
||||
fprintf(stderr, "usage: %s <de.msg> <en.msg>\n", argv[0]);
|
||||
return 2;
|
||||
/* make check gives no arguments ($srcdir is exported by automake's
|
||||
* test driver); tools/mcde-tests.sh names the two files. Both the
|
||||
* in-tree build and a VPATH build find them this way. */
|
||||
if (argc >= 3) {
|
||||
msg_de = argv[1];
|
||||
msg_en = argv[2];
|
||||
} else {
|
||||
const char *srcdir = getenv("srcdir");
|
||||
static char bde[1024], ben[1024];
|
||||
int n;
|
||||
|
||||
if (srcdir == NULL || srcdir[0] == '\0')
|
||||
srcdir = ".";
|
||||
n = snprintf(bde, sizeof(bde), "%s/../../programs/"
|
||||
"localized/de_DE.UTF-8/msg/dtchat.msg", srcdir);
|
||||
if (n > 0 && (size_t)n < sizeof(bde) &&
|
||||
access(bde, R_OK) == 0) {
|
||||
msg_de = bde;
|
||||
snprintf(ben, sizeof(ben), "%s/../../programs/"
|
||||
"dtchat/dtchat.msg", srcdir);
|
||||
msg_en = ben;
|
||||
} else {
|
||||
fprintf(stderr, "usage: %s <de.msg> <en.msg>\n",
|
||||
argv[0]);
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
msg_de = argv[1];
|
||||
msg_en = argv[2];
|
||||
CHECK(mkdtemp(tmp) != NULL);
|
||||
CHECK(dc_test_tmpdir(tmp, sizeof tmp, "i18n") == 0);
|
||||
snprintf(de, sizeof(de), "%s/de", tmp);
|
||||
snprintf(en, sizeof(en), "%s/en", tmp);
|
||||
CHECK(mkdir(de, 0700) == 0 || 1);
|
||||
|
||||
@@ -35,7 +35,7 @@ mode_is(const char *path, mode_t want)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char base[] = "/tmp/opencode/dtchat-id-XXXXXX";
|
||||
char base[64];
|
||||
char dir[512];
|
||||
char other[512];
|
||||
char path[600];
|
||||
@@ -44,7 +44,7 @@ main(void)
|
||||
char pin[128];
|
||||
char pub[128];
|
||||
|
||||
CHECK(mkdtemp(base) != NULL);
|
||||
CHECK(dc_test_tmpdir(base, sizeof base, "id") == 0);
|
||||
snprintf(dir, sizeof(dir), "%s/state", base);
|
||||
snprintf(other, sizeof(other), "%s/other", base);
|
||||
snprintf(path, sizeof(path), "%s/identity.json", dir);
|
||||
|
||||
@@ -80,7 +80,7 @@ raw_connect(const char *path)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char tmpdir[] = "/tmp/opencode/dtchat-inst-XXXXXX";
|
||||
char tmpdir[64];
|
||||
char dir[256];
|
||||
char run[512];
|
||||
char lock[1024];
|
||||
@@ -92,7 +92,7 @@ main(void)
|
||||
struct Opened opened;
|
||||
int fd;
|
||||
|
||||
if (mkdtemp(tmpdir) == NULL) {
|
||||
if (dc_test_tmpdir(tmpdir, sizeof tmpdir, "inst") != 0) {
|
||||
perror("mkdtemp");
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -32,8 +32,7 @@ static int
|
||||
mkidentity(char *base, size_t baselen, char *dir, size_t dirlen,
|
||||
DcIdentity **out)
|
||||
{
|
||||
snprintf(base, baselen, "/tmp/opencode/dtchat-local-XXXXXX");
|
||||
if (mkdtemp(base) == NULL)
|
||||
if (dc_test_tmpdir(base, baselen, "local") != 0)
|
||||
return -1;
|
||||
snprintf(dir, dirlen, "%s/state", base);
|
||||
*out = dc_identity_load_or_create(dir);
|
||||
@@ -495,15 +494,15 @@ test_reconnect(void)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char base_c[] = "/tmp/opencode/dtchat-local-c-XXXXXX";
|
||||
char base_o[] = "/tmp/opencode/dtchat-local-o-XXXXXX";
|
||||
char base_c[64];
|
||||
char base_o[64];
|
||||
char dir_c[512], dir_o[512];
|
||||
DcIdentity *client;
|
||||
DcIdentity *other;
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
CHECK(mkdtemp(base_c) != NULL);
|
||||
CHECK(mkdtemp(base_o) != NULL);
|
||||
CHECK(dc_test_tmpdir(base_c, sizeof base_c, "local-c") == 0);
|
||||
CHECK(dc_test_tmpdir(base_o, sizeof base_o, "local-o") == 0);
|
||||
snprintf(dir_c, sizeof(dir_c), "%s/state", base_c);
|
||||
snprintf(dir_o, sizeof(dir_o), "%s/state", base_o);
|
||||
client = dc_identity_load_or_create(dir_c);
|
||||
|
||||
@@ -30,7 +30,7 @@ static int fails;
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char tmp[] = "/tmp/opencode/dtchat-pair-XXXXXX";
|
||||
char tmp[64];
|
||||
char dir[512];
|
||||
DcPins *pins;
|
||||
DcPins *again;
|
||||
@@ -56,7 +56,7 @@ main(void)
|
||||
CHECK(dc_pair_sas("nonsense", PIN_B) == NULL);
|
||||
CHECK(dc_pair_sas(PIN_A, NULL) == NULL);
|
||||
|
||||
CHECK(mkdtemp(tmp) != NULL);
|
||||
CHECK(dc_test_tmpdir(tmp, sizeof tmp, "pair") == 0);
|
||||
snprintf(dir, sizeof(dir), "%s/state", tmp);
|
||||
pins = dc_pins_load(dir);
|
||||
CHECK(pins != NULL);
|
||||
|
||||
@@ -273,12 +273,12 @@ test_default_dir(const char *tmpdir)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
char tmpdir[] = "/tmp/opencode/dtchat-store-XXXXXX";
|
||||
char tmpdir[64];
|
||||
char dir[512];
|
||||
char path[512];
|
||||
DcStore *store;
|
||||
|
||||
if (mkdtemp(tmpdir) == NULL) {
|
||||
if (dc_test_tmpdir(tmpdir, sizeof tmpdir, "store") != 0) {
|
||||
perror("mkdtemp");
|
||||
return 1;
|
||||
}
|
||||
|
||||
@@ -48,8 +48,8 @@ $(srcdir)/wmldbcreate.c: $(WMLTARGETS) UilLexPars.h
|
||||
UilLexPars.h: UilLexPars.c
|
||||
|
||||
UilLexPars.c: Uil.c
|
||||
$(LN_S) Uil.h UilLexPars.h
|
||||
$(LN_S) Uil.c UilLexPars.c
|
||||
$(LN_S) -f Uil.h UilLexPars.h
|
||||
$(LN_S) -f Uil.c UilLexPars.c
|
||||
|
||||
$(WMLTARGETS): wml-uil.mm
|
||||
|
||||
|
||||
@@ -805,8 +805,8 @@ $(srcdir)/wmldbcreate.c: $(WMLTARGETS) UilLexPars.h
|
||||
UilLexPars.h: UilLexPars.c
|
||||
|
||||
UilLexPars.c: Uil.c
|
||||
$(LN_S) Uil.h UilLexPars.h
|
||||
$(LN_S) Uil.c UilLexPars.c
|
||||
$(LN_S) -f Uil.h UilLexPars.h
|
||||
$(LN_S) -f Uil.c UilLexPars.c
|
||||
|
||||
$(WMLTARGETS): wml-uil.mm
|
||||
|
||||
|
||||
+2451
-1347
File diff suppressed because it is too large.
Load diff
@@ -1,3 +1,119 @@
|
||||
/* A Bison parser, made by GNU Bison 3.8.2. */
|
||||
|
||||
/* Bison interface for Yacc-like parsers in C
|
||||
|
||||
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* As a special exception, you may create a larger work that contains
|
||||
part or all of the Bison parser skeleton and distribute that work
|
||||
under terms of your choice, so long as that work isn't itself a
|
||||
parser generator using the skeleton or a modified version thereof
|
||||
as a parser skeleton. Alternatively, if you modify or redistribute
|
||||
the parser skeleton itself, you may (at your option) remove this
|
||||
special exception, which will cause the skeleton and the resulting
|
||||
Bison output files to be licensed under the GNU General Public
|
||||
License without this special exception.
|
||||
|
||||
This special exception was added by the Free Software Foundation in
|
||||
version 2.2 of Bison. */
|
||||
|
||||
/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
|
||||
especially those whose name start with YY_ or yy_. They are
|
||||
private implementation details that can be changed or removed. */
|
||||
|
||||
#ifndef YY_YY_WMLPARSE_H_INCLUDED
|
||||
# define YY_YY_WMLPARSE_H_INCLUDED
|
||||
/* Debug traces. */
|
||||
#ifndef YYDEBUG
|
||||
# define YYDEBUG 0
|
||||
#endif
|
||||
#if YYDEBUG
|
||||
extern int yydebug;
|
||||
#endif
|
||||
|
||||
/* Token kinds. */
|
||||
#ifndef YYTOKENTYPE
|
||||
# define YYTOKENTYPE
|
||||
enum yytokentype
|
||||
{
|
||||
YYEMPTY = -2,
|
||||
YYEOF = 0, /* "end of file" */
|
||||
YYerror = 256, /* error */
|
||||
YYUNDEF = 257, /* "invalid token" */
|
||||
CLASS = 1, /* CLASS */
|
||||
RESOURCE = 2, /* RESOURCE */
|
||||
DATATYPE = 3, /* DATATYPE */
|
||||
CONTROLLIST = 4, /* CONTROLLIST */
|
||||
ENUMERATIONSET = 5, /* ENUMERATIONSET */
|
||||
ENUMERATIONVALUE = 6, /* ENUMERATIONVALUE */
|
||||
CHARACTERSET = 7, /* CHARACTERSET */
|
||||
CHILD = 50, /* CHILD */
|
||||
DOCNAME = 8, /* DOCNAME */
|
||||
CONVFUNC = 9, /* CONVFUNC */
|
||||
ALIAS = 10, /* ALIAS */
|
||||
TYPE = 11, /* TYPE */
|
||||
RESOURCELITERAL = 12, /* RESOURCELITERAL */
|
||||
RELATED = 13, /* RELATED */
|
||||
INTERNALLITERAL = 14, /* INTERNALLITERAL */
|
||||
XRMRESOURCE = 15, /* XRMRESOURCE */
|
||||
EXCLUDE = 16, /* EXCLUDE */
|
||||
RESOURCES = 17, /* RESOURCES */
|
||||
SUPERCLASS = 18, /* SUPERCLASS */
|
||||
CONTROLS = 19, /* CONTROLS */
|
||||
WIDGETCLASS = 20, /* WIDGETCLASS */
|
||||
DIALOGCLASS = 21, /* DIALOGCLASS */
|
||||
DEFAULT = 22, /* DEFAULT */
|
||||
ENUMLITERAL = 23, /* ENUMLITERAL */
|
||||
XMSTRINGCHARSETNAME = 24, /* XMSTRINGCHARSETNAME */
|
||||
DIRECTION = 25, /* DIRECTION */
|
||||
PARSEDIRECTION = 26, /* PARSEDIRECTION */
|
||||
CHARACTERSIZE = 27, /* CHARACTERSIZE */
|
||||
CTRLMAPSRESOURCE = 28, /* CTRLMAPSRESOURCE */
|
||||
CHILDREN = 51, /* CHILDREN */
|
||||
PARENTCLASS = 52, /* PARENTCLASS */
|
||||
METACLASS = 29, /* METACLASS */
|
||||
WIDGET = 30, /* WIDGET */
|
||||
GADGET = 31, /* GADGET */
|
||||
ARGUMENT = 32, /* ARGUMENT */
|
||||
REASON = 33, /* REASON */
|
||||
CONSTRAINT = 34, /* CONSTRAINT */
|
||||
SUBRESOURCE = 35, /* SUBRESOURCE */
|
||||
ATTRTRUE = 36, /* ATTRTRUE */
|
||||
ATTRFALSE = 37, /* ATTRFALSE */
|
||||
LEFTTORIGHT = 38, /* LEFTTORIGHT */
|
||||
RIGHTTOLEFT = 39, /* RIGHTTOLEFT */
|
||||
ONEBYTE = 40, /* ONEBYTE */
|
||||
TWOBYTE = 41, /* TWOBYTE */
|
||||
MIXED1_2BYTE = 42, /* MIXED1_2BYTE */
|
||||
COLON = 43, /* COLON */
|
||||
SEMICOLON = 44, /* SEMICOLON */
|
||||
EQUALS = 45, /* EQUALS */
|
||||
LBRACE = 46, /* LBRACE */
|
||||
RBRACE = 47, /* RBRACE */
|
||||
STRING = 48, /* STRING */
|
||||
ERRORTOKEN = 49 /* ERRORTOKEN */
|
||||
};
|
||||
typedef enum yytokentype yytoken_kind_t;
|
||||
#endif
|
||||
/* Token kinds. */
|
||||
#define YYEMPTY -2
|
||||
#define YYEOF 0
|
||||
#define YYerror 256
|
||||
#define YYUNDEF 257
|
||||
#define CLASS 1
|
||||
#define RESOURCE 2
|
||||
#define DATATYPE 3
|
||||
@@ -50,3 +166,19 @@
|
||||
#define RBRACE 47
|
||||
#define STRING 48
|
||||
#define ERRORTOKEN 49
|
||||
|
||||
/* Value type. */
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef int YYSTYPE;
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
#endif
|
||||
|
||||
|
||||
extern YYSTYPE yylval;
|
||||
|
||||
|
||||
int yyparse (void);
|
||||
|
||||
|
||||
#endif /* !YY_YY_WMLPARSE_H_INCLUDED */
|
||||
+222
-213
File diff suppressed because it is too large.
Load diff
+32
-14
@@ -1,18 +1,28 @@
|
||||
# $NetBSD$
|
||||
|
||||
# $Makronix$
|
||||
#
|
||||
# Makronix's Motif: Motif 2.3.8 as MCDE carries it (ext/src/mcde/motif,
|
||||
# with the 28 patches of pkgsrc x11/motif folded in and MCDE's own fixes:
|
||||
# the Command key in text fields, menu bars shown in the top bar, Xft
|
||||
# renditions), built from the MCDE archive that tools/mcde-dist.sh makes.
|
||||
# The rest of this recipe is pkgsrc's x11/motif. On Makronix it is the
|
||||
# system's Motif (Konrad, 2026-11-13: MCDE builds its own Motif only where
|
||||
# it is not Makronix); mk.conf's MOTIFBASE lets every other package take it.
|
||||
# renditions). The rest of this recipe is pkgsrc's x11/motif. On Makronix it
|
||||
# is the system's Motif (Konrad, 2026-11-13: MCDE builds its own Motif only
|
||||
# where it is not Makronix); mk.conf's MOTIFBASE lets every other package take
|
||||
# it.
|
||||
DISTNAME= mcde-0.1.0
|
||||
PKGNAME= mcde-motif-2.3.8
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= # none yet: tools/mcde-dist.sh puts the archive into DISTDIR
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
# The source is ext/src/mcde in this repository, not a tarball (see
|
||||
# ../pkgsrc/Makefile): Motif is the motif/ part of that one tree.
|
||||
_MAKRONIX_TOP!= cd ${.CURDIR}/../../.. && pwd -P
|
||||
MCDESRC= ${_MAKRONIX_TOP}/ext/src/mcde
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/motif
|
||||
|
||||
# The copy is made by a script, not by ${CP} -R: pkgsrc extracts once, and
|
||||
# a commit after that never reached the work directory (tools/ext-extract.sh).
|
||||
do-extract:
|
||||
${RUN}${SH} ${_MAKRONIX_TOP}/tools/ext-extract.sh ${MCDESRC} ${WRKDIR}/${DISTNAME}
|
||||
|
||||
MAINTAINER= konrad.lother@gmail.com
|
||||
HOMEPAGE= https://motif.ics.com/
|
||||
COMMENT= LGPLed Motif toolkit, as the Makronix desktop carries it
|
||||
@@ -75,7 +85,8 @@ MAKE_FLAGS+= CC_FOR_BUILD=${NATIVE_CC:Q:U${CC:Q}}
|
||||
# cross gcc defaults to C17, measured: __STDC_VERSION__ 201710L).
|
||||
# :Q is required -- without it make reads -std=gnu17 as an option of its own
|
||||
# ("invalid option -- '='", userland-2026-11-13x.log:396).
|
||||
CFLAGS_FOR_BUILD= -O2 -std=gnu17
|
||||
# the host's flags, from tools/pkgsrc-cross.mk.conf
|
||||
CFLAGS_FOR_BUILD= ${HOST_BUILD_CFLAGS}
|
||||
MAKE_FLAGS+= CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:Q}
|
||||
# wmluiltok is a host tool that links -lfl (wmluiltok_LDADD in tools/wml/Makefile).
|
||||
# In a cross build -L${LOCALBASE}/lib is rewritten to the buildlink directory, so
|
||||
@@ -84,7 +95,8 @@ MAKE_FLAGS+= CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:Q}
|
||||
# build/logs/userland-2026-11-14a.log:3678ff). The bootstrap prefix has a host
|
||||
# libfl.a; naming the file leaves no search path to pick the target's from.
|
||||
.if ${USE_CROSS_COMPILE:U:tl} == "yes"
|
||||
MAKE_FLAGS+= wmluiltok_LDADD=${MAKRONIX_TOP:Q}/build/pkg/lib/libfl.a
|
||||
# the host's flex archive, named in tools/pkgsrc-cross.mk.conf
|
||||
MAKE_FLAGS+= wmluiltok_LDADD=${HOST_FL_A:Q}
|
||||
.endif
|
||||
MAKE_FLAGS+= AR_FOR_BUILD=${NATIVE_AR:Q:U${AR:Q}}
|
||||
MAKE_FLAGS+= RANLIB_FOR_BUILD=${NATIVE_RANLIB:Q:U${RANLIB:Q}}
|
||||
@@ -98,10 +110,9 @@ MAKE_FLAGS+= LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD:Q}
|
||||
# the static archives there are named directly, which no search path can
|
||||
# redirect to the target's.
|
||||
.if ${USE_CROSS_COMPILE:U:tl} == "yes"
|
||||
LIBS_FOR_BUILD= ${MAKRONIX_TOP:Q}/build/pkg/lib/libXt.a \
|
||||
${MAKRONIX_TOP:Q}/build/pkg/lib/libX11.a \
|
||||
${MAKRONIX_TOP:Q}/build/pkg/lib/libSM.a \
|
||||
${MAKRONIX_TOP:Q}/build/pkg/lib/libICE.a
|
||||
# The host tool links the X of the build host; which one that is, is named in
|
||||
# tools/pkgsrc-cross.mk.conf (HOST_X11_LIBS) -- not decided here.
|
||||
LIBS_FOR_BUILD= ${HOST_X11_LIBS}
|
||||
.else
|
||||
LIBS_FOR_BUILD= -lXt
|
||||
.endif
|
||||
@@ -133,7 +144,14 @@ LDFLAGS_FOR_BUILD+= ${BUILDLINK_LDFLAGS}
|
||||
.else
|
||||
MAKE_FLAGS+= CROSS_COMPILING=yes
|
||||
# XXX should support independent cross PREFIX
|
||||
CPPFLAGS_FOR_BUILD+= -I${PREFIX:Q}/include
|
||||
# PREFIX is the target's (/usr/pkg). Where the build host has an X of its own,
|
||||
# the build tools (makestrs, wml, wmldbcreate) must see THAT one: on Makronix
|
||||
# /usr/pkg/include has no X11, and makestrs stopped with "X11/Xos.h: No such
|
||||
# file or directory" (measured 2026-11-20 on makronix-build). On a Linux host
|
||||
# /usr/X11R7 does not exist and the buildlink's PREFIX/include is the answer,
|
||||
# as before.
|
||||
# the include path of the host's X, from tools/pkgsrc-cross.mk.conf
|
||||
CPPFLAGS_FOR_BUILD+= -I${HOST_X11BASE:Q}/include
|
||||
LDFLAGS_FOR_BUILD+= -L${PREFIX:Q}/lib
|
||||
LDFLAGS_FOR_BUILD+= ${COMPILER_RPATH_FLAG:Q}${PREFIX:Q}/lib
|
||||
CONFIGURE_ARGS.NetBSD+= ac_cv_file__usr_X_include_X11_X_h=no
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
# $NetBSD$
|
||||
# $Makronix$
|
||||
#
|
||||
# Makronix's own buildlink3.mk for x11/mcde-motif, modelled on the pkgsrc one
|
||||
# (x11/motif): the package is ours, so the file carries our header, not the
|
||||
# unused pkgsrc template.
|
||||
|
||||
BUILDLINK_TREE+= mcde-motif
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
$NetBSD$
|
||||
|
||||
BLAKE2s (mcde-0.1.0.tar.gz) = 8ca5f20642e38ee7fa47a01df0d7f577380a57af2ea920eb6aae5800e5809231
|
||||
SHA512 (mcde-0.1.0.tar.gz) = 94d52fd24cc58007d128c267e16a1c42a1728765e1ec5d4d73e3d460d986fe29312a813ef31c950de022f413874576430b30e426bf7ff5bed34e70a10651c5c4
|
||||
Size (mcde-0.1.0.tar.gz) = 67002854 bytes
|
||||
+24
-7
@@ -1,12 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.9 2025/11/27 20:31:27 vins Exp $
|
||||
|
||||
# $Makronix$
|
||||
#
|
||||
# MCDE, the Makronix fork of CDE 2.5.3 (ext/src/mcde/IMPORT). The source is
|
||||
# kept in the Makronix repository; tools/mcde-dist.sh makes the archive below from
|
||||
# a commit and writes distinfo. There is no public MASTER_SITES yet: put the
|
||||
# archive into DISTDIR.
|
||||
# ext/src/mcde in this repository -- the tree git tracks and a person edits, not
|
||||
# an archive: no DISTFILES, no distinfo, and do-extract fills WRKSRC (the same
|
||||
# way net/fetch and pkgtools/pkg_install build from their files/). The recipe
|
||||
# started as pkgsrc's wm/cde; the differences are MCDE's.
|
||||
DISTNAME= mcde-0.1.0
|
||||
CATEGORIES= wm x11
|
||||
MASTER_SITES= # none yet
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
|
||||
# Three levels above the directory pkgsrc builds in: the development tree, /mnt
|
||||
# inside the build chroot and /usr/src on an installed system. 'pwd -P' because
|
||||
# pkgsrc refuses a WRKDIR path that is not canonical and the mirror in pkgsrc/
|
||||
# is reached through a symlink (tools/ext-sync.sh).
|
||||
_MAKRONIX_TOP!= cd ${.CURDIR}/../../.. && pwd -P
|
||||
MCDESRC= ${_MAKRONIX_TOP}/ext/src/mcde
|
||||
|
||||
# The copy is made by a script, not by ${CP} -R: pkgsrc extracts once, and
|
||||
# a commit after that never reached the work directory (tools/ext-extract.sh).
|
||||
do-extract:
|
||||
${RUN}${SH} ${_MAKRONIX_TOP}/tools/ext-extract.sh ${MCDESRC} ${WRKSRC}
|
||||
|
||||
MAINTAINER= konrad.lother@gmail.com
|
||||
COMMENT= Makronix Common Desktop Environment, a fork of CDE
|
||||
@@ -149,8 +163,11 @@ PLIST.tttypes= yes
|
||||
.if ${USE_CROSS_COMPILE:U:tl} == "yes"
|
||||
# the build tools are 1990s C, and this host's compiler defaults to C23 (see the
|
||||
# Motif recipe's CFLAGS_FOR_BUILD)
|
||||
CFLAGS_FOR_BUILD= -O2 -std=gnu17
|
||||
# the host's flags, from tools/pkgsrc-cross.mk.conf
|
||||
CFLAGS_FOR_BUILD= ${HOST_BUILD_CFLAGS}
|
||||
CPPFLAGS_FOR_BUILD= -DHAVE_FCNTL_H
|
||||
# the include path of the host's X, from tools/pkgsrc-cross.mk.conf
|
||||
CPPFLAGS_FOR_BUILD+= -I${HOST_X11BASE:Q}/include
|
||||
# Nothing of the target in what links a build tool: no -L/-R of the sysroot, and
|
||||
# not the X_LIBS configure would add (a bare -R, which the host's gcc rejects:
|
||||
# build/logs/mcde-hosttools-2026-11-14b.log, "unrecognized command-line option -R").
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
$NetBSD$
|
||||
|
||||
BLAKE2s (mcde-0.1.0.tar.gz) = 8ca5f20642e38ee7fa47a01df0d7f577380a57af2ea920eb6aae5800e5809231
|
||||
SHA512 (mcde-0.1.0.tar.gz) = 94d52fd24cc58007d128c267e16a1c42a1728765e1ec5d4d73e3d460d986fe29312a813ef31c950de022f413874576430b30e426bf7ff5bed34e70a10651c5c4
|
||||
Size (mcde-0.1.0.tar.gz) = 67002854 bytes
|
||||
+16
-13
@@ -1413,20 +1413,23 @@ Events(Widget w, XtPointer data, XEvent *ev, Boolean *cont)
|
||||
/* the program brings its menus up to date before one opens */
|
||||
if (ev->xcrossing.window == XtWindow(shell))
|
||||
Send(aRefresh, 0, 0);
|
||||
/* A client straight onto the bar is no window crossing for
|
||||
* dtwm, so the terminal kept the focus over the bar (t0255).
|
||||
* The bar is not a text window: the focus goes to the
|
||||
* pointer root, and dtwm clears the active client. */
|
||||
if (ev->xcrossing.window == XtWindow(shell) &&
|
||||
ev->xcrossing.mode == NotifyNormal) {
|
||||
Window f = None;
|
||||
int revert = 0;
|
||||
/* The bar is no focus target (t0255, t0257): moving the
|
||||
* pointer onto it must not take the keyboard away from the
|
||||
* program whose menu the bar shows. The bar says so on its
|
||||
* own window (_MCDE_NO_FOCUS) and leaves the focus alone; its
|
||||
* menus open with the pointer, and an item acts on the client
|
||||
* the menu came from, not on whatever has the X focus. */
|
||||
break;
|
||||
case MapNotify:
|
||||
/* tell dtwm not to give the keyboard to the bar (see
|
||||
* EnterNotify): focus follows the pointer elsewhere, and the
|
||||
* bar keeps the last program's menu */
|
||||
if (ev->xmap.window == XtWindow(shell)) {
|
||||
Atom a = XInternAtom(dpy, "_MCDE_NO_FOCUS", False);
|
||||
long one = 1;
|
||||
|
||||
XGetInputFocus(dpy, &f, &revert);
|
||||
if (f != PointerRoot && f != None &&
|
||||
f != XtWindow(shell))
|
||||
XSetInputFocus(dpy, PointerRoot,
|
||||
RevertToPointerRoot, ev->xcrossing.time);
|
||||
XChangeProperty(dpy, XtWindow(shell), a, XA_CARDINAL,
|
||||
32, PropModeReplace, (unsigned char *) &one, 1);
|
||||
}
|
||||
break;
|
||||
case VisibilityNotify:
|
||||
|
||||
@@ -19,3 +19,14 @@ if [ -r "$HOME/.dt/language" ]; then
|
||||
fi
|
||||
unset mcde_lang
|
||||
fi
|
||||
|
||||
# MCDE: without a language the session ran in C, and a UTF-8 window title was
|
||||
# drawn as ASCII (measured 2026-11-22 on the MacBook: "Grüße 日本" appeared as
|
||||
# the JIS bytes "FJK\"). A UTF-8 LC_CTYPE lets XmString and the title font set
|
||||
# do their work; the language itself stays as it is.
|
||||
case "${LC_ALL:-${LC_CTYPE:-${LANG:-}}}" in
|
||||
*UTF-8*|*utf8*|*UTF8*) ;;
|
||||
*) LC_CTYPE=C.UTF-8
|
||||
export LC_CTYPE
|
||||
;;
|
||||
esac
|
||||
+4280
-96
File diff suppressed because it is too large.
Load diff
@@ -34,6 +34,7 @@ item Quit | Ctrl+Q
|
||||
|
||||
menu Edit
|
||||
item Undo | Ctrl+Z
|
||||
item Redo | Ctrl+Shift+Z
|
||||
sep
|
||||
item Cut | Ctrl+X
|
||||
item Copy | Ctrl+C
|
||||
|
||||
@@ -26,48 +26,48 @@ XCOMM if WIDTH > 1175
|
||||
!# High Resolution Displays
|
||||
!#
|
||||
!###
|
||||
*FontList: %|nls-1-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*buttonFontList: %|nls-1-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*labelFontList: %|nls-1-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*textFontList: %|nls-2-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*XmText*FontList: %|nls-2-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*XmTextField*FontList: %|nls-3-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*systemFont: %|nls-4-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*userFont: %|nls-5-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*DtEditor*textFontList: %|nls-6-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:^*DtEditor*textFontList|
|
||||
*Font: %|nls-7-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1^*Font|
|
||||
*FontSet: %|nls-8-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1^*FontSet|
|
||||
*FontList: %|nls-1-adobe-helvetica-medium-r-normal--14-*:^*FontList|
|
||||
*buttonFontList: %|nls-1-adobe-helvetica-medium-r-normal--14-*:^*FontList|
|
||||
*labelFontList: %|nls-1-adobe-helvetica-medium-r-normal--14-*:^*FontList|
|
||||
*textFontList: %|nls-2-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
|
||||
*XmText*FontList: %|nls-2-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
|
||||
*XmTextField*FontList: %|nls-3-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
|
||||
*systemFont: %|nls-4-adobe-helvetica-medium-r-normal--14-*:^*FontList|
|
||||
*userFont: %|nls-5-adobe-helvetica-medium-r-normal--14-*:^*XmText*FontList|
|
||||
*DtEditor*textFontList: %|nls-6-adobe-helvetica-medium-r-normal--14-*:^*DtEditor*textFontList|
|
||||
*Font: %|nls-7-adobe-helvetica-medium-r-normal--14-iso8859-1^*Font|
|
||||
*FontSet: %|nls-8-adobe-helvetica-medium-r-normal--14-iso8859-1^*FontSet|
|
||||
XCOMM else
|
||||
XCOMM if WIDTH > 850
|
||||
!###
|
||||
!# Medium Resolution Displays
|
||||
!###
|
||||
*FontList: %|nls-9-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*buttonFontList: %|nls-9-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*labelFontList: %|nls-9-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*textFontList: %|nls-10-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*XmText*FontList: %|nls-10-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*XmTextField*FontList: %|nls-11-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*systemFont: %|nls-12-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*userFont: %|nls-13-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*DtEditor*textFontList: %|nls-14-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:^*DtEditor*textFontList|
|
||||
*Font: %|nls-15-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-iso8859-1^*Font|
|
||||
*FontSet: %|nls-16-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1^*FontSet|
|
||||
*FontList: %|nls-9-adobe-helvetica-medium-r-normal--12-*:^*FontList|
|
||||
*buttonFontList: %|nls-9-adobe-helvetica-medium-r-normal--12-*:^*FontList|
|
||||
*labelFontList: %|nls-9-adobe-helvetica-medium-r-normal--12-*:^*FontList|
|
||||
*textFontList: %|nls-10-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
|
||||
*XmText*FontList: %|nls-10-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
|
||||
*XmTextField*FontList: %|nls-11-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
|
||||
*systemFont: %|nls-12-adobe-helvetica-medium-r-normal--12-*:^*FontList|
|
||||
*userFont: %|nls-13-adobe-helvetica-medium-r-normal--12-*:^*XmText*FontList|
|
||||
*DtEditor*textFontList: %|nls-14-adobe-helvetica-medium-r-normal--12-*:^*DtEditor*textFontList|
|
||||
*Font: %|nls-15-adobe-helvetica-medium-r-normal--12-iso8859-1^*Font|
|
||||
*FontSet: %|nls-16-adobe-helvetica-medium-r-normal--10-iso8859-1^*FontSet|
|
||||
XCOMM else
|
||||
!###
|
||||
!# Low Resolution Displays
|
||||
!###
|
||||
*FontList: %|nls-17-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*buttonFontList: %|nls-17-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*labelFontList: %|nls-17-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*textFontList: %|nls-18-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*XmText*FontList: %|nls-18-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*XmTextField*FontList: %|nls-19-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*systemFont: %|nls-20-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*FontList|
|
||||
*userFont: %|nls-21-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*XmText*FontList|
|
||||
*DtEditor*textFontList: %|nls-22-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:^*DtEditor*textFontList|
|
||||
*Font: %|nls-23-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1^*Font|
|
||||
*FontSet: %|nls-24-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1^*FontSet|
|
||||
*FontList: %|nls-17-adobe-helvetica-medium-r-normal--10-*:^*FontList|
|
||||
*buttonFontList: %|nls-17-adobe-helvetica-medium-r-normal--10-*:^*FontList|
|
||||
*labelFontList: %|nls-17-adobe-helvetica-medium-r-normal--10-*:^*FontList|
|
||||
*textFontList: %|nls-18-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
|
||||
*XmText*FontList: %|nls-18-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
|
||||
*XmTextField*FontList: %|nls-19-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
|
||||
*systemFont: %|nls-20-adobe-helvetica-medium-r-normal--10-*:^*FontList|
|
||||
*userFont: %|nls-21-adobe-helvetica-medium-r-normal--10-*:^*XmText*FontList|
|
||||
*DtEditor*textFontList: %|nls-22-adobe-helvetica-medium-r-normal--10-*:^*DtEditor*textFontList|
|
||||
*Font: %|nls-23-adobe-helvetica-medium-r-normal--10-iso8859-1^*Font|
|
||||
*FontSet: %|nls-24-adobe-helvetica-medium-r-normal--10-iso8859-1^*FontSet|
|
||||
XCOMM endif
|
||||
XCOMM endif
|
||||
|
||||
@@ -28,53 +28,57 @@
|
||||
!# and Motif, and with the charset left open the server's first match for
|
||||
!# the dt-interface alias is gb2312.1980-0: ASCII was drawn two bytes per
|
||||
!# glyph as Chinese in every menu (measured 2026-11-18).
|
||||
!# MCDE: the UI face of the reference (4DWm app-defaults): Adobe Helvetica
|
||||
!# at 14 px on a wide screen, 12 on a medium one, 10 on a small one --
|
||||
!# not the wider CDE "-dt-interface system" face, which read one size
|
||||
!# too big in buttons, labels and dialogs (measured 2026-11-22).
|
||||
XCOMM if WIDTH > 1175
|
||||
!###
|
||||
!# High Resolution Displays
|
||||
!#
|
||||
!###
|
||||
*FontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*buttonFontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*labelFontList: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*XmText*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*XmTextField*FontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*systemFont: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*userFont: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*DtEditor*textFontList: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
*Font: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1
|
||||
*FontSet: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-iso8859-1
|
||||
*FontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*buttonFontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*labelFontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*textFontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*XmText*FontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*XmTextField*FontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*systemFont: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*userFont: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*DtEditor*textFontList: -adobe-helvetica-medium-r-normal--14-*:
|
||||
*Font: -adobe-helvetica-medium-r-normal--14-iso8859-1
|
||||
*FontSet: -adobe-helvetica-medium-r-normal--14-iso8859-1
|
||||
XCOMM else
|
||||
XCOMM if WIDTH < 851
|
||||
!###
|
||||
!# Low Resolution Displays
|
||||
!###
|
||||
*FontList: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*buttonFontList: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*labelFontList: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*textFontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*XmText*FontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*XmTextField*FontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*systemFont: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*userFont: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*DtEditor*textFontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
*Font: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1
|
||||
*FontSet: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-iso8859-1
|
||||
*FontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*buttonFontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*labelFontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*textFontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*XmText*FontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*XmTextField*FontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*systemFont: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*userFont: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*DtEditor*textFontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
*Font: -adobe-helvetica-medium-r-normal--10-iso8859-1
|
||||
*FontSet: -adobe-helvetica-medium-r-normal--10-iso8859-1
|
||||
XCOMM else
|
||||
!###
|
||||
!# Medium Resolution Displays (always default if no cpp present on system)
|
||||
!###
|
||||
*FontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*buttonFontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*labelFontList: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*textFontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*XmText*FontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*XmTextField*FontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*systemFont: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*userFont: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*DtEditor*textFontList: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
*Font: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-iso8859-1
|
||||
*FontSet: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-iso8859-1
|
||||
*FontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*buttonFontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*labelFontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*textFontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*XmText*FontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*XmTextField*FontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*systemFont: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*userFont: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*DtEditor*textFontList: -adobe-helvetica-medium-r-normal--12-*:
|
||||
*Font: -adobe-helvetica-medium-r-normal--12-iso8859-1
|
||||
*FontSet: -adobe-helvetica-medium-r-normal--12-iso8859-1
|
||||
XCOMM endif
|
||||
XCOMM endif
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ bin_PROGRAMS = dtsystemsettings
|
||||
dtsystemsettings_SOURCES = main.c panes.c panes.h ui.h accounts.c update.c \
|
||||
network.c \
|
||||
input.c appearance.c desktop.c timezone.c wifi.c \
|
||||
startup.c sharing.c backup.c displays.c language.c sound.c printers.c parental.c cds.c energy.c internet.c defaults.c sysinfo.c startupdisk.c \
|
||||
startup.c sharing.c backup.c displays.c language.c sound.c printers.c parental.c cds.c dock.c energy.c internet.c defaults.c sysinfo.c startupdisk.c \
|
||||
security.c
|
||||
dtsystemsettings_CPPFLAGS = -I$(top_srcdir)/include $(DT_INCDIR) \
|
||||
-I$(top_builddir)/include $(XFT_CFLAGS) \
|
||||
|
||||
@@ -0,0 +1,245 @@
|
||||
/*
|
||||
* dock.c -- dtsystemsettings: the programs kept in the front panel's dock
|
||||
*
|
||||
* Copyright (c) 2026 The Makronix project. GNU LGPL 2.0 or later, as CDE.
|
||||
*
|
||||
* The dock is the part of the front panel left of the Trash: the programs
|
||||
* kept there, then the running programs that have no place in the panel
|
||||
* (WmMcdePanel.c). The kept ones are ~/.dt/panel-apps, one a line:
|
||||
*
|
||||
* CLASS <tab> COMMAND
|
||||
*
|
||||
* This pane shows that list, removes an entry and adds one. A change is
|
||||
* written at once, and the window manager is restarted with
|
||||
* _DtWmRestartNoConfirm so the panel shows it (the panel is dtwm's; it
|
||||
* reads the file when the panel is built).
|
||||
*
|
||||
* C99, POSIX, Xt and Motif only (ext/src/mcde/AGENTS.md).
|
||||
*/
|
||||
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <X11/Intrinsic.h>
|
||||
#include <Xm/DialogS.h>
|
||||
#include <Xm/Form.h>
|
||||
#include <Xm/Label.h>
|
||||
#include <Xm/List.h>
|
||||
#include <Xm/PushB.h>
|
||||
#include <Xm/RowColumn.h>
|
||||
#include <Xm/Separator.h>
|
||||
#include <Xm/TextF.h>
|
||||
|
||||
#include "ui.h"
|
||||
|
||||
#define MAXAPPS 64
|
||||
|
||||
extern int _DtWmRestartNoConfirm(Display *display, Window root);
|
||||
|
||||
static Widget dockList;
|
||||
static Widget addShell, addText;
|
||||
static char apps[MAXAPPS][512];
|
||||
static int napps;
|
||||
|
||||
static const char *
|
||||
Path(void)
|
||||
{
|
||||
static char path[512];
|
||||
const char *home = getenv("HOME");
|
||||
|
||||
(void) snprintf(path, sizeof path, "%s/.dt/panel-apps",
|
||||
home != NULL ? home : ".");
|
||||
return path;
|
||||
}
|
||||
|
||||
static void
|
||||
Load(void)
|
||||
{
|
||||
FILE *f;
|
||||
char line[512];
|
||||
|
||||
napps = 0;
|
||||
if ((f = fopen(Path(), "r")) == NULL)
|
||||
return;
|
||||
while (napps < MAXAPPS && fgets(line, sizeof line, f) != NULL) {
|
||||
char *nl = strchr(line, '\n');
|
||||
|
||||
if (nl != NULL)
|
||||
*nl = '\0';
|
||||
if (line[0] == '\0')
|
||||
continue;
|
||||
(void) snprintf(apps[napps], sizeof apps[0], "%s", line);
|
||||
napps++;
|
||||
}
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
static void
|
||||
Save(void)
|
||||
{
|
||||
FILE *f = fopen(Path(), "w");
|
||||
int i;
|
||||
|
||||
if (f == NULL)
|
||||
return;
|
||||
for (i = 0; i < napps; i++)
|
||||
fprintf(f, "%s\n", apps[i]);
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
static void
|
||||
Show(void)
|
||||
{
|
||||
XmString items[MAXAPPS];
|
||||
char buf[600];
|
||||
int i;
|
||||
|
||||
XmListDeleteAllItems(dockList);
|
||||
for (i = 0; i < napps; i++) {
|
||||
char *tab = strchr(apps[i], '\t');
|
||||
|
||||
if (tab != NULL)
|
||||
(void) snprintf(buf, sizeof buf, "%.*s - %s",
|
||||
(int) (tab - apps[i]), apps[i], tab + 1);
|
||||
else
|
||||
(void) snprintf(buf, sizeof buf, "%s", apps[i]);
|
||||
items[i] = XmStringCreateLocalized(buf);
|
||||
}
|
||||
if (napps > 0)
|
||||
XmListAddItems(dockList, items, napps, 1);
|
||||
for (i = 0; i < napps; i++)
|
||||
XmStringFree(items[i]);
|
||||
}
|
||||
|
||||
static void
|
||||
Restart(void)
|
||||
{
|
||||
_DtWmRestartNoConfirm(XtDisplay(dockList),
|
||||
DefaultRootWindow(XtDisplay(dockList)));
|
||||
}
|
||||
|
||||
static void
|
||||
RemoveClicked(Widget w, XtPointer cd, XtPointer call)
|
||||
{
|
||||
int *pos = NULL, n = 0, i;
|
||||
|
||||
(void) w; (void) cd; (void) call;
|
||||
if (!XmListGetSelectedPos(dockList, &pos, &n) || n < 1) {
|
||||
Message(dockList, "Choose a program in the list first.", 0);
|
||||
return;
|
||||
}
|
||||
i = pos[0] - 1;
|
||||
XtFree((char *) pos);
|
||||
if (i < 0 || i >= napps)
|
||||
return;
|
||||
memmove(&apps[i], &apps[i + 1],
|
||||
(size_t) (napps - i - 1) * sizeof apps[0]);
|
||||
napps--;
|
||||
Save();
|
||||
Show();
|
||||
Restart();
|
||||
}
|
||||
|
||||
static void
|
||||
AddOk(Widget w, XtPointer cd, XtPointer call)
|
||||
{
|
||||
char *cmd = XmTextFieldGetString(addText);
|
||||
char cls[128], *base;
|
||||
|
||||
(void) w; (void) cd; (void) call;
|
||||
if (cmd == NULL)
|
||||
return;
|
||||
if (cmd[0] == '\0') {
|
||||
XtFree(cmd);
|
||||
Message(dockList, "Name the command to start.", 0);
|
||||
return;
|
||||
}
|
||||
base = strrchr(cmd, '/');
|
||||
base = base != NULL ? base + 1 : cmd;
|
||||
(void) snprintf(cls, sizeof cls, "%s", base);
|
||||
if (cls[0] >= 'a' && cls[0] <= 'z')
|
||||
cls[0] = (char) (cls[0] - 'a' + 'A');
|
||||
if (napps < MAXAPPS) {
|
||||
(void) snprintf(apps[napps], sizeof apps[0], "%s\t%s",
|
||||
cls, cmd);
|
||||
napps++;
|
||||
Save();
|
||||
Show();
|
||||
}
|
||||
XtFree(cmd);
|
||||
XtUnmanageChild(addShell);
|
||||
Restart();
|
||||
}
|
||||
|
||||
static void
|
||||
AddCancel(Widget w, XtPointer cd, XtPointer call)
|
||||
{
|
||||
(void) w; (void) cd; (void) call;
|
||||
XtUnmanageChild(addShell);
|
||||
}
|
||||
|
||||
static void
|
||||
AddClicked(Widget w, XtPointer cd, XtPointer call)
|
||||
{
|
||||
Widget form, ok, cancel;
|
||||
|
||||
(void) w; (void) cd; (void) call;
|
||||
if (addShell == NULL) {
|
||||
addShell = XmCreateDialogShell(dockList, "addProgram", NULL, 0);
|
||||
XtVaSetValues(addShell, XmNtitle, "Add a Program", NULL);
|
||||
form = XtVaCreateManagedWidget("addForm", xmFormWidgetClass,
|
||||
addShell, XmNmarginWidth, 12, XmNmarginHeight, 12,
|
||||
XmNautoUnmanage, False, NULL);
|
||||
(void) Text(form, "addLabel",
|
||||
"Command (the program to start):");
|
||||
addText = XtVaCreateManagedWidget("addCommand",
|
||||
xmTextFieldWidgetClass, form, XmNcolumns, 40,
|
||||
XmNtopAttachment, XmATTACH_WIDGET,
|
||||
XmNtopWidget, XtNameToWidget(form, "addLabel"),
|
||||
XmNleftAttachment, XmATTACH_FORM,
|
||||
XmNrightAttachment, XmATTACH_FORM, NULL);
|
||||
ok = Button(form, "Add", AddOk, NULL);
|
||||
XtVaSetValues(ok, XmNtopAttachment, XmATTACH_WIDGET,
|
||||
XmNtopWidget, addText, XmNleftAttachment, XmATTACH_FORM,
|
||||
NULL);
|
||||
cancel = Button(form, "Cancel", AddCancel, NULL);
|
||||
XtVaSetValues(cancel, XmNtopAttachment, XmATTACH_WIDGET,
|
||||
XmNtopWidget, addText, XmNleftAttachment, XmATTACH_WIDGET,
|
||||
XmNleftWidget, ok, NULL);
|
||||
}
|
||||
XtManageChild(addShell);
|
||||
XtManageChild(XtNameToWidget(addShell, "*addForm"));
|
||||
XmProcessTraversal(addText, XmTRAVERSE_CURRENT);
|
||||
}
|
||||
|
||||
Widget
|
||||
MakeDock(Widget parent)
|
||||
{
|
||||
Widget box, list;
|
||||
|
||||
box = XtVaCreateWidget("dockPane", xmRowColumnWidgetClass, parent,
|
||||
XmNorientation, XmVERTICAL, XmNspacing, 10, NULL);
|
||||
(void) Text(box, "dockLabel",
|
||||
"The programs kept in the dock, left of the Trash in the front "
|
||||
"panel. A click starts the program or brings it forward; the "
|
||||
"right mouse button in the panel removes it.");
|
||||
list = XtVaCreateManagedWidget("dockList", xmListWidgetClass, box,
|
||||
XmNvisibleItemCount, 10, XmNselectionPolicy, XmSINGLE_SELECT,
|
||||
XmNwidth, 420, NULL);
|
||||
dockList = list;
|
||||
(void) Button(box, "Remove from the Dock", RemoveClicked, NULL);
|
||||
(void) Button(box, "Add a Program...", AddClicked, NULL);
|
||||
XtVaCreateManagedWidget("sep", xmSeparatorWidgetClass, box,
|
||||
XmNorientation, XmHORIZONTAL, XmNmarginTop, 4,
|
||||
XmNmarginBottom, 4, NULL);
|
||||
(void) Text(box, "dockNote",
|
||||
"The running programs that are not kept appear in the dock on "
|
||||
"their own; keeping one writes it to ~/.dt/panel-apps. A change "
|
||||
"restarts the window manager, so the panel is built again.");
|
||||
Load();
|
||||
Show();
|
||||
return box;
|
||||
}
|
||||
@@ -1125,6 +1125,8 @@ ShowPane(const Pane *p)
|
||||
else if (strcmp(p->id, "energy") == 0) {
|
||||
w = MakeEnergy(paneArea);
|
||||
}
|
||||
else if (strcmp(p->id, "dock") == 0)
|
||||
w = MakeDock(paneArea);
|
||||
else if (strcmp(p->id, "cds") == 0) {
|
||||
w = MakeCDs(paneArea);
|
||||
}
|
||||
|
||||
@@ -29,11 +29,13 @@ const Pane panes[] = {
|
||||
"screensaver screen saver bildschirmschoner" },
|
||||
{ "language", "Language", CAT_PERSONAL, "DtI18N.pm", PANE_OWN,
|
||||
NULL, "language sprache locale region formats datum" },
|
||||
{ "security", "Security", CAT_PERSONAL, "McdeLock.pm", PANE_OWN, NULL,
|
||||
{ "dock", "Dock", CAT_PERSONAL, "Dtapps.m.pm", PANE_OWN, NULL,
|
||||
"dock leiste panel front panel programme programs" },
|
||||
{ "security", "Security", CAT_PERSONAL, "McdeLock.pm", PANE_OWN, NULL,
|
||||
"security sicherheit firewall lock sperre password passwort "
|
||||
"encryption verschluesselung cgd swap virtual memory npf" },
|
||||
|
||||
{ "defaults", "Default Programs", CAT_PERSONAL, "Dtmail.t.pm",
|
||||
{ "defaults", "Default Programs", CAT_PERSONAL, "McdeFile.m.pm",
|
||||
PANE_OWN, NULL, "default programs browser mail image video text "
|
||||
"standardprogramme" },
|
||||
{ "sound", "Sound", CAT_HARDWARE, "Dtaudio.m.pm", PANE_OWN, NULL,
|
||||
@@ -74,7 +76,7 @@ const Pane panes[] = {
|
||||
"accounts benutzer users password passwort" },
|
||||
{ "update", "Software Update", CAT_SYSTEM, "Dtstyle.m.pm", PANE_OWN,
|
||||
NULL, "update software aktualisierung pakete packages" },
|
||||
{ "backup", "Backup", CAT_SYSTEM, "DtSystem.m.pm", PANE_OWN, NULL,
|
||||
{ "backup", "Backup", CAT_SYSTEM, "IrixDisk.m.pm", PANE_OWN, NULL,
|
||||
"backup sicherung" },
|
||||
{ "accessibility", "Accessibility", CAT_SYSTEM, "Dtmouse.m.pm",
|
||||
PANE_LATER, NULL, "accessibility bedienungshilfen" },
|
||||
|
||||
@@ -77,6 +77,7 @@ Widget MakePrinters(Widget parent);
|
||||
Widget MakeParental(Widget parent);
|
||||
/* the CDs & DVDs pane (cds.c): the choice per kind of medium */
|
||||
Widget MakeCDs(Widget parent);
|
||||
Widget MakeDock(Widget parent);
|
||||
/* the Energy Saver pane (energy.c) */
|
||||
Widget MakeEnergy(Widget parent);
|
||||
/* the Internet accounts pane (internet.c) */
|
||||
@@ -87,8 +88,9 @@ Widget MakeDefaults(Widget parent);
|
||||
int OpenWebCommand(const char *arg);
|
||||
/* what this computer is (sysinfo.c): Hardware | Network | Software */
|
||||
Widget MakeSysinfo(Widget parent);
|
||||
/* the Startup Disk pane (startupdisk.c) */
|
||||
Widget MakeStartupDisk(Widget parent);
|
||||
/* The Startup Disk pane was removed (Konrad, 2026-11-21): the volumes and
|
||||
* the system's own device are in System Information. startupdisk.c stays in
|
||||
* the tree for its history but is not built. */
|
||||
int SetDefaultPrinterCommand(const char *name);
|
||||
int AddPrinterCommand(const char *name, const char *uri);
|
||||
int RemovePrinterCommand(const char *name);
|
||||
|
||||
@@ -3,4 +3,4 @@ $
|
||||
$set 1
|
||||
|
||||
1 dttoolchest
|
||||
2 No ToolChest menu
|
||||
2 No dttoolchest menu
|
||||
+27
-2
@@ -62,6 +62,7 @@
|
||||
#include <Xm/TextF.h>
|
||||
|
||||
#include <X11/Xatom.h>
|
||||
#include <X11/cursorfont.h>
|
||||
#include <X11/keysymdef.h>
|
||||
|
||||
#include <langinfo.h>
|
||||
@@ -105,6 +106,7 @@ extern void DeleteControlActionList (ControlData *);
|
||||
extern Boolean CheckOtherMonitorsOn (SubpanelData *);
|
||||
|
||||
static void Initialize (DtPanelShellWidget);
|
||||
static void PanelMapped (Widget, XtPointer, XtPointer);
|
||||
static void BoxCreate ();
|
||||
static Widget PanelControlCreate (Widget, char *, String);
|
||||
static void MainControlCreate (int);
|
||||
@@ -192,6 +194,7 @@ FrontPanelCreate (Widget toplevel)
|
||||
XtSetArg (al[ac], XmNmwmDecorations, MWM_DECOR_BORDER); ac++;
|
||||
panel.shell = XtCreatePopupShell (panel_name, dtPanelShellWidgetClass,
|
||||
toplevel, al, ac);
|
||||
XtAddCallback (panel.shell, XmNmapCallback, PanelMapped, NULL);
|
||||
|
||||
panel_shell = (DtPanelShellWidget) panel.shell;
|
||||
|
||||
@@ -384,6 +387,25 @@ FrontPanelCreate (Widget toplevel)
|
||||
*
|
||||
************************************************************************/
|
||||
|
||||
|
||||
/* The panel's pointer: the standard arrow, defined on the shell itself. A
|
||||
* window without a cursor of its own inherits its parent's, and the frame
|
||||
* dtwm gives the panel carried a black 16x16 cursor on this server (measured
|
||||
* 2026-11-21); the panel is a place to click, so it says which pointer it
|
||||
* wants instead of inheriting one. */
|
||||
static void
|
||||
PanelMapped(Widget w, XtPointer cd, XtPointer call)
|
||||
{
|
||||
Cursor arrow;
|
||||
|
||||
(void) cd; (void) call;
|
||||
arrow = XCreateFontCursor(XtDisplay(w), XC_left_ptr);
|
||||
if (arrow != None) {
|
||||
XDefineCursor(XtDisplay(w), XtWindow(w), arrow);
|
||||
XFreeCursor(XtDisplay(w), arrow);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
Initialize (DtPanelShellWidget panel_shell)
|
||||
|
||||
@@ -407,9 +429,12 @@ Initialize (DtPanelShellWidget panel_shell)
|
||||
unsigned int size;
|
||||
|
||||
|
||||
/* Create busy cursor. */
|
||||
/* Create busy cursor. The return value used to be thrown away, so
|
||||
* BUSY_START defined cursor None on the panel and the pointer fell back
|
||||
* to whatever the shell had inherited (a black 16x16 square on this
|
||||
* server, measured 2026-11-21: XFixes 16x16, hotspot 8,8, all black). */
|
||||
|
||||
_DtGetHourGlassCursor(display);
|
||||
panel.busy_cursor = _DtGetHourGlassCursor(display);
|
||||
|
||||
panel.resolution = (int) (intptr_t) panel.element_values[PANEL_RESOLUTION].parsed_value;
|
||||
|
||||
|
||||
@@ -1220,6 +1220,39 @@ void GetTextBox (ClientData *pcd, XRectangle *pBox)
|
||||
*
|
||||
*************************************<->***********************************/
|
||||
|
||||
/* MCDE: a title drawn with a font set, so UTF-8 is UTF-8. The font set is
|
||||
* the IRIX face with an ISO10646 fallback (WmInitWs.c); Motif's XmString path
|
||||
* leaves a UTF-8 _NET_WM_NAME empty under a non-UTF-8 locale (measured
|
||||
* 2026-11-22 on the MacBook). The clip is the title box, so long titles end
|
||||
* where XmStringDraw ended them. */
|
||||
static void
|
||||
DrawUtf8Title(Display *dpy, Window win, GC gc, XRectangle *box,
|
||||
const char *text, Boolean center)
|
||||
{
|
||||
XFontSet fs = wmGD.titleFontSet;
|
||||
XFontSetExtents *e;
|
||||
XRectangle clip;
|
||||
int textW, ascent, x, y;
|
||||
|
||||
if (fs == NULL || text == NULL)
|
||||
return;
|
||||
/* the old title must go: an update can come without eraseFirst, and a
|
||||
* character the set cannot draw would leave the old glyphs behind */
|
||||
XClearArea(dpy, win, box->x, box->y, box->width, box->height, False);
|
||||
e = XExtentsOfFontSet(fs);
|
||||
textW = Xutf8TextEscapement(fs, text, (int) strlen(text));
|
||||
ascent = -e->max_logical_extent.y;
|
||||
x = box->x;
|
||||
if (center)
|
||||
x += ((int) box->width - textW) / 2;
|
||||
y = box->y + ((int) box->height - e->max_logical_extent.height) / 2 +
|
||||
ascent;
|
||||
clip = *box;
|
||||
XSetClipRectangles(dpy, gc, 0, 0, &clip, 1, Unsorted);
|
||||
Xutf8DrawImageString(dpy, win, fs, gc, x, y, text, (int) strlen(text));
|
||||
XSetClipMask(dpy, gc, None);
|
||||
}
|
||||
|
||||
void DrawWindowTitle (ClientData *pcd, Boolean eraseFirst)
|
||||
{
|
||||
GC clientGC;
|
||||
@@ -1278,7 +1311,11 @@ void DrawWindowTitle (ClientData *pcd, Boolean eraseFirst)
|
||||
|
||||
/* MCDE: Dtwm*titleLeft puts the title at the left, as 4Dwm did
|
||||
* (SG_titleLeft); the CDE default stays centred */
|
||||
WmDrawXmString(DISPLAY, win, fontList, title, clientGC,
|
||||
if (pcd->titleUtf8 != NULL && wmGD.titleFontSet != NULL)
|
||||
DrawUtf8Title(DISPLAY, win, clientGC, &textBox, pcd->titleUtf8,
|
||||
pcd->pSD != NULL && pcd->pSD->titleLeft ? False : True);
|
||||
else
|
||||
WmDrawXmString(DISPLAY, win, fontList, title, clientGC,
|
||||
textBox.x, textBox.y, textBox.width, &textBox,
|
||||
pcd->pSD != NULL && pcd->pSD->titleLeft ? False : True);
|
||||
|
||||
|
||||
+27
-1
@@ -2364,6 +2364,31 @@ void HandleWsConfigureRequest (XConfigureRequestEvent *configureEvent)
|
||||
} /* END OF FUNCTION HandleWsConfigureRequest */
|
||||
|
||||
|
||||
/* A client that carries _MCDE_NO_FOCUS is not a keyboard target: the bar
|
||||
* (dtbar) sets it, so the pointer passing over the bar leaves the last
|
||||
* program focused and the bar keeps showing that program's menu (t0255). */
|
||||
static Bool
|
||||
NoFocusClient (ClientData *pCD)
|
||||
{
|
||||
Atom a, type;
|
||||
int fmt;
|
||||
unsigned long n, after;
|
||||
unsigned char *data = NULL;
|
||||
Bool r = False;
|
||||
|
||||
if (pCD == NULL)
|
||||
return False;
|
||||
a = XInternAtom (DISPLAY, "_MCDE_NO_FOCUS", False);
|
||||
if (XGetWindowProperty (DISPLAY, pCD->client, a, 0, 1, False,
|
||||
XA_CARDINAL, &type, &fmt, &n, &after, &data) == Success &&
|
||||
data != NULL) {
|
||||
r = True;
|
||||
XFree (data);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*************************************<->*************************************
|
||||
*
|
||||
@@ -2482,7 +2507,8 @@ void HandleWsFocusIn (XFocusInEvent *focusEvent)
|
||||
}
|
||||
else /*KEYBOARD_FOCUS_POINTER*/
|
||||
{
|
||||
if (pCD || focusEvent->detail != NotifyPointerRoot)
|
||||
if ((pCD || focusEvent->detail != NotifyPointerRoot) &&
|
||||
!NoFocusClient (pCD))
|
||||
{
|
||||
Do_Focus_Key (pCD, GetTimestamp (), ALWAYS_SET_FOCUS);
|
||||
}
|
||||
|
||||
@@ -1689,6 +1689,7 @@ typedef struct _ClientData
|
||||
int fullscreenWidth; /* fullscreen width */
|
||||
int fullscreenHeight; /* fullscreen height */
|
||||
XmString instantTitle; /* instant title */
|
||||
char *titleUtf8; /* the title as UTF-8 (WM_NAME/_NET_WM_NAME) */
|
||||
|
||||
/* client window frame graphic data: */
|
||||
|
||||
@@ -1901,6 +1902,7 @@ typedef struct _WmGlobalData
|
||||
String displayString; /* used for putenv in F_Exec */
|
||||
Display *display; /* display we are running to */
|
||||
Display *display1; /* second display connection */
|
||||
XFontSet titleFontSet; /* the IRIX title face, UTF-8 capable */
|
||||
int statusColorServer; /* CSERVE_NORMAL, CSERVE_NOT_AVAILABLE */
|
||||
DtWmpParseBuf *pWmPB; /* global parse buffer */
|
||||
int numScreens; /* number of screens */
|
||||
|
||||
@@ -475,6 +475,33 @@ void InitWmGlobal (int argc, char *argv [], char *environ [])
|
||||
ExitWM (WM_ERROR_EXIT_VALUE);
|
||||
}
|
||||
|
||||
/* MCDE: _NET_WM_NAME is the UTF-8 title, and dtwm reads it whether or not
|
||||
* EWMH support is on. WmEwmh.c interns these atoms only when EWMH is
|
||||
* enabled; without them HasProperty(atom 0) said no and a UTF-8 title fell
|
||||
* back to WM_NAME (compound text), which drew the JIS bytes as "FJK\"
|
||||
* (measured 2026-11-22 on the MacBook). */
|
||||
wmGD.xa_UTF8_STRING = XInternAtom (DISPLAY, "UTF8_STRING", False);
|
||||
wmGD.xa__NET_WM_NAME = XInternAtom (DISPLAY, "_NET_WM_NAME", False);
|
||||
wmGD.xa__NET_WM_VISIBLE_NAME =
|
||||
XInternAtom (DISPLAY, "_NET_WM_VISIBLE_NAME", False);
|
||||
|
||||
/* MCDE: the title face of the reference (Helvetica 14 bold oblique, as
|
||||
* 4Dwm had it) with an ISO10646 fallback, so a UTF-8 title can be drawn
|
||||
* with Xutf8DrawString; Motif's XmString path cannot do that under a
|
||||
* non-UTF-8 locale (measured 2026-11-22: a UTF-8 _NET_WM_NAME left the
|
||||
* title bar empty). Missing charsets are not a reason not to start. */
|
||||
{
|
||||
char **missing = NULL;
|
||||
int nmissing = 0;
|
||||
|
||||
wmGD.titleFontSet = XCreateFontSet (DISPLAY,
|
||||
"-adobe-helvetica-bold-o-normal--14-*-*-*-*-*-iso10646-1,"
|
||||
"-misc-fixed-bold-r-normal--13-*-*-*-*-*-iso10646-1",
|
||||
&missing, &nmissing, NULL);
|
||||
if (missing != NULL)
|
||||
XFreeStringList (missing);
|
||||
}
|
||||
|
||||
#if defined(sun) && defined(ALLPLANES)
|
||||
{
|
||||
int dummy;
|
||||
|
||||
@@ -1207,6 +1207,8 @@ void WithdrawWindow (ClientData *pCD)
|
||||
if ((pCD->clientFlags & CLIENT_HINTS_TITLE) && pCD->clientTitle)
|
||||
{
|
||||
XmStringFree (pCD->clientTitle);
|
||||
if (pCD->titleUtf8 != NULL)
|
||||
XtFree (pCD->titleUtf8);
|
||||
}
|
||||
|
||||
if ((pCD->iconFlags & ICON_HINTS_TITLE) && pCD->iconTitle)
|
||||
|
||||
@@ -71,7 +71,7 @@ DeskScreen(void)
|
||||
|
||||
#define DESK_MAX 64
|
||||
#define DESK_CELL_W 96
|
||||
#define DESK_CELL_H 88
|
||||
#define DESK_CELL_H 96
|
||||
#define DESK_MARGIN 10
|
||||
#define DESK_LABEL_H 14
|
||||
#define DESK_CONF ".dt/desktop.conf"
|
||||
@@ -112,7 +112,7 @@ static int deskCount;
|
||||
static Display *deskDpy;
|
||||
static Window deskRoot;
|
||||
static GC deskGC;
|
||||
static Pixel deskBg, deskFg, deskMid;
|
||||
static Pixel deskBg, deskFg, deskMid, deskShadow;
|
||||
static XFontStruct *deskFont;
|
||||
static int deskSel = -1;
|
||||
static Time deskLast;
|
||||
@@ -290,20 +290,28 @@ DeskIconName(const DeskItem *it)
|
||||
{
|
||||
switch (it->kind) {
|
||||
case DESK_COMPUTER:
|
||||
return "McdeDisk.m.pm";
|
||||
return "IrixDisk.m.pm";
|
||||
case DESK_NET:
|
||||
return "McdeNetwork.m.pm";
|
||||
return "IrixNet.m.pm";
|
||||
case DESK_MEDIA:
|
||||
return "Dtuuncd.m.pm";
|
||||
/* the medium the drive holds: a CD, a DVD, a diskette or a
|
||||
* tape, the IRIX Foundation icons at 64x64 */
|
||||
switch (it->fstype[0]) {
|
||||
case 'c': return "IrixCD.m.pm"; /* cd9660 */
|
||||
case 'u': return "IrixDVD.m.pm"; /* udf */
|
||||
case 'm': return "IrixFloppy.m.pm"; /* msdos */
|
||||
case 't': return "IrixTape.m.pm"; /* tar, dump */
|
||||
default: return "IrixDisk.m.pm";
|
||||
}
|
||||
case DESK_USER:
|
||||
/* fstype carries "d" for a folder and "f" for a file */
|
||||
return it->fstype[0] == 'd' ? "DtdirB.m.pm" : "McdeFile.m.pm";
|
||||
case DESK_TRASH:
|
||||
return it->fstype[0] == 'f' ? "Dtbinml.m.pm" : "Dtbin.m.pm";
|
||||
case DESK_DISK:
|
||||
return "McdeDisk.m.pm";
|
||||
return "IrixDisk.m.pm";
|
||||
default:
|
||||
return "McdeDisk.m.pm";
|
||||
return "IrixDisk.m.pm";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -365,9 +373,6 @@ DeskDraw(int i)
|
||||
int gy = 6;
|
||||
int lw;
|
||||
|
||||
XSetForeground(deskDpy, deskGC, deskBg);
|
||||
XFillRectangle(deskDpy, it->win, deskGC, 0, 0, DESK_CELL_W,
|
||||
DESK_CELL_H);
|
||||
if (it->glyph != None) {
|
||||
if (it->mask != None) {
|
||||
XSetClipMask(deskDpy, deskGC, it->mask);
|
||||
@@ -380,12 +385,35 @@ DeskDraw(int i)
|
||||
DeskLabel(it, label, sizeof label);
|
||||
lw = deskFont != NULL ? XTextWidth(deskFont, label,
|
||||
(int) strlen(label)) : (int) strlen(label) * 6;
|
||||
XSetForeground(deskDpy, deskGC, deskBg);
|
||||
XFillRectangle(deskDpy, it->win, deskGC, (DESK_CELL_W - lw) / 2 - 3,
|
||||
gy + gh + 6, (unsigned) (lw + 6), DESK_LABEL_H);
|
||||
/* 4Dwm sets the label on the backdrop, with a shadow, not into a
|
||||
* tile: the window is shaped to the picture and the text (below) and
|
||||
* the text gets one pixel of black under it. */
|
||||
XSetForeground(deskDpy, deskGC, deskShadow);
|
||||
XDrawString(deskDpy, it->win, deskGC, (DESK_CELL_W - lw) / 2 + 1,
|
||||
gy + gh + 6 + DESK_LABEL_H - 3, label, (int) strlen(label));
|
||||
XSetForeground(deskDpy, deskGC, deskFg);
|
||||
XDrawString(deskDpy, it->win, deskGC, (DESK_CELL_W - lw) / 2,
|
||||
gy + gh + 6 + DESK_LABEL_H - 4, label, (int) strlen(label));
|
||||
{
|
||||
Pixmap shape = XCreatePixmap(deskDpy, it->win, DESK_CELL_W,
|
||||
DESK_CELL_H, 1);
|
||||
GC sg = XCreateGC(deskDpy, shape, 0, NULL);
|
||||
|
||||
XSetForeground(deskDpy, sg, 0);
|
||||
XFillRectangle(deskDpy, shape, sg, 0, 0, DESK_CELL_W,
|
||||
DESK_CELL_H);
|
||||
XSetForeground(deskDpy, sg, 1);
|
||||
if (it->glyph != None)
|
||||
XFillRectangle(deskDpy, shape, sg, gx, gy,
|
||||
(unsigned) gw, (unsigned) gh);
|
||||
XFillRectangle(deskDpy, shape, sg, (DESK_CELL_W - lw) / 2,
|
||||
gy + gh + 6, (unsigned) lw,
|
||||
(unsigned) DESK_LABEL_H);
|
||||
XShapeCombineMask(deskDpy, it->win, ShapeBounding, 0, 0,
|
||||
shape, ShapeSet);
|
||||
XFreeGC(deskDpy, sg);
|
||||
XFreePixmap(deskDpy, shape);
|
||||
}
|
||||
if (i == deskSel)
|
||||
XDrawRectangle(deskDpy, it->win, deskGC, 0, 0,
|
||||
DESK_CELL_W - 1, DESK_CELL_H - 1);
|
||||
@@ -401,6 +429,23 @@ DeskWorkspaceIndex(WmScreenData *pSD)
|
||||
return (int) (pSD->pActiveWS - pSD->pWS);
|
||||
}
|
||||
|
||||
/* The wallpaper is a window of its own (WmBackdrop.c) and the icons are
|
||||
* override-redirect windows, so XLowerWindow on an icon puts it *below* the
|
||||
* wallpaper: the icon is there and invisible (measured 2026-11-22). Lower
|
||||
* the backdrop first, then the icon sits above the wallpaper and below the
|
||||
* clients -- the order 4Dwm has. */
|
||||
static void
|
||||
DeskLowerBackdrops(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (pSD == NULL)
|
||||
return;
|
||||
for (i = 0; i < pSD->numWorkspaces; i++)
|
||||
if (pSD->pWS[i].backdrop.window != None)
|
||||
XLowerWindow(deskDpy, pSD->pWS[i].backdrop.window);
|
||||
}
|
||||
|
||||
static void
|
||||
DeskMap(int i)
|
||||
{
|
||||
@@ -415,7 +460,14 @@ DeskMap(int i)
|
||||
}
|
||||
if (it->workspace == 0 || it->workspace == active + 1) {
|
||||
XMoveWindow(deskDpy, it->win, it->x, it->y);
|
||||
XMapRaised(deskDpy, it->win);
|
||||
/* The desktop is the bottom of the stack: a window that is
|
||||
* raised (a full screen program) covers the icons, as 4Dwm's
|
||||
* does. XMapRaised put them above every client, because an
|
||||
* override-redirect window is not restacked by the window
|
||||
* manager. */
|
||||
XMapWindow(deskDpy, it->win);
|
||||
XLowerWindow(deskDpy, it->win);
|
||||
DeskLowerBackdrops();
|
||||
} else
|
||||
XUnmapWindow(deskDpy, it->win);
|
||||
}
|
||||
@@ -1956,6 +2008,7 @@ McdeDesktopInit(void)
|
||||
cmap = DefaultColormap(deskDpy, pSD->screen);
|
||||
deskBg = WhitePixel(deskDpy, pSD->screen);
|
||||
deskFg = BlackPixel(deskDpy, pSD->screen);
|
||||
deskShadow = BlackPixel(deskDpy, pSD->screen);
|
||||
deskMid = WhitePixel(deskDpy, pSD->screen);
|
||||
if (XParseColor(deskDpy, cmap, "#C6C6B2B2A8A8", &c) &&
|
||||
XAllocColor(deskDpy, cmap, &c))
|
||||
|
||||
+96
-20
@@ -35,6 +35,8 @@
|
||||
#include <strings.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "WmGlobal.h"
|
||||
#include "WmFunction.h"
|
||||
@@ -55,7 +57,39 @@
|
||||
#include <Dt/DtStrDefs.h>
|
||||
#include <Dt/Icon.h>
|
||||
#include <Dt/Control.h>
|
||||
#include <Dt/Dnd.h>
|
||||
#include <Dt/IconFile.h>
|
||||
|
||||
/* The icon of a program class. CDE names them with a capital (Dtterm,
|
||||
* Dtcalc); a client's WM_CLASS instance name is often lower case and the
|
||||
* class a kept program was written with may be either. Try the name as
|
||||
* given, then in lower case, then with a capital -- the file name is what
|
||||
* decides, not the comparison, which is strcasecmp. */
|
||||
static String
|
||||
ClassIcon(Screen *screen, const char *cls, unsigned int size)
|
||||
{
|
||||
char lower[64], first[64];
|
||||
String icon;
|
||||
int i;
|
||||
|
||||
icon = _DtGetIconFileName(screen, (String) cls, NULL, NULL, size);
|
||||
if (icon != NULL)
|
||||
return icon;
|
||||
for (i = 0; cls[i] != '\0' && i + 1 < (int) sizeof lower; i++)
|
||||
lower[i] = (char) tolower((unsigned char) cls[i]);
|
||||
lower[i] = '\0';
|
||||
if (strcmp(lower, cls) != 0) {
|
||||
icon = _DtGetIconFileName(screen, lower, NULL, NULL, size);
|
||||
if (icon != NULL)
|
||||
return icon;
|
||||
}
|
||||
if (cls[0] >= 'a' && cls[0] <= 'z') {
|
||||
(void) snprintf(first, sizeof first, "%c%s",
|
||||
cls[0] - 'a' + 'A', cls + 1);
|
||||
icon = _DtGetIconFileName(screen, first, NULL, NULL, size);
|
||||
}
|
||||
return icon;
|
||||
}
|
||||
#include <Mcde/McdeSys.h>
|
||||
|
||||
#define MAX_APPS 48
|
||||
@@ -375,17 +409,8 @@ AddDrawerWidget(int idx)
|
||||
below = kids[k - 1];
|
||||
break;
|
||||
}
|
||||
icon = _DtGetIconFileName(XtScreen(form), (String) drawerIcons[idx].cls,
|
||||
NULL, NULL, panel.sub_icon_size);
|
||||
if (icon == NULL) {
|
||||
for (i = 0; drawerIcons[idx].cls[i] != '\0' &&
|
||||
i + 1 < sizeof lower; i++)
|
||||
lower[i] = (char) tolower((unsigned char)
|
||||
drawerIcons[idx].cls[i]);
|
||||
lower[i] = '\0';
|
||||
icon = _DtGetIconFileName(XtScreen(form), lower, NULL, NULL,
|
||||
panel.sub_icon_size);
|
||||
}
|
||||
icon = ClassIcon(XtScreen(form), drawerIcons[idx].cls,
|
||||
panel.sub_icon_size);
|
||||
if (icon == NULL)
|
||||
icon = GetIconName("Dtactn", panel.sub_icon_size);
|
||||
XtSetArg(al[ac], XmNbackground, panel.primary_pixel_set->bg); ac++;
|
||||
@@ -696,6 +721,52 @@ KeepClass(const char *cls, const char *cmd)
|
||||
McdePanelChanged();
|
||||
}
|
||||
|
||||
/* A file or folder dropped on the panel: a program goes into the dock (the
|
||||
* list the Dock pane edits, ~/.dt/panel-apps), a folder opens dtfile, a
|
||||
* plain file is not a program and is ignored. The drop site is the panel
|
||||
* shell, so a drop on an icon still goes to the icon's own site (which runs
|
||||
* its action with the file), and a drop on empty panel space lands here, as
|
||||
* on the Dock of Mac OS X 10.4. */
|
||||
static void
|
||||
McdePanelDropCB(Widget w, XtPointer client_data, XtPointer call_data)
|
||||
{
|
||||
DtDndTransferCallbackStruct *t =
|
||||
(DtDndTransferCallbackStruct *) call_data;
|
||||
Cardinal i;
|
||||
int added = 0;
|
||||
|
||||
(void) w;
|
||||
(void) client_data;
|
||||
if (t->dropData == NULL ||
|
||||
t->dropData->protocol != DtDND_FILENAME_TRANSFER) {
|
||||
t->status = DtDND_FAILURE;
|
||||
return;
|
||||
}
|
||||
for (i = 0; i < t->dropData->numItems; i++) {
|
||||
const char *path = t->dropData->data.files[i];
|
||||
struct stat st;
|
||||
char cmd[1200];
|
||||
const char *base;
|
||||
|
||||
if (path == NULL || path[0] != '/' || stat(path, &st) != 0)
|
||||
continue;
|
||||
if (S_ISDIR(st.st_mode))
|
||||
snprintf(cmd, sizeof cmd, "dtfile -dir \"%s\"", path);
|
||||
else if (access(path, X_OK) == 0)
|
||||
snprintf(cmd, sizeof cmd, "\"%s\"", path);
|
||||
else
|
||||
continue;
|
||||
base = strrchr(path, '/');
|
||||
base = base != NULL ? base + 1 : path;
|
||||
if (*base == '\0')
|
||||
continue;
|
||||
KeepClass(base, cmd);
|
||||
added++;
|
||||
}
|
||||
t->status = added > 0 ? DtDND_SUCCESS : DtDND_FAILURE;
|
||||
t->completeMove = False;
|
||||
}
|
||||
|
||||
static void
|
||||
KeepClient(ClientData *pCD)
|
||||
{
|
||||
@@ -936,15 +1007,7 @@ AddButton(const char *cls, int keptIndex)
|
||||
return;
|
||||
/* the class's icon, as CDE names them (Dtterm, Dtcalc), else in
|
||||
* lower case, else the icon of an action */
|
||||
icon = _DtGetIconFileName(XtScreen(area), (String) cls, NULL, NULL,
|
||||
panel.main_icon_size);
|
||||
if (icon == NULL) {
|
||||
for (i = 0; cls[i] != '\0' && i + 1 < sizeof lower; i++)
|
||||
lower[i] = (char) tolower((unsigned char) cls[i]);
|
||||
lower[i] = '\0';
|
||||
icon = _DtGetIconFileName(XtScreen(area), lower, NULL, NULL,
|
||||
panel.main_icon_size);
|
||||
}
|
||||
icon = ClassIcon(XtScreen(area), cls, panel.main_icon_size);
|
||||
if (icon == NULL)
|
||||
icon = GetIconName("Dtactn", panel.main_icon_size);
|
||||
XtSetArg(al[ac], XmNbackground, panel.primary_pixel_set->bg); ac++;
|
||||
@@ -1321,4 +1384,17 @@ McdePanelCreate(void)
|
||||
}
|
||||
|
||||
Update();
|
||||
|
||||
/* the panel background takes file drops for the dock (WmMcdePanel.c) */
|
||||
{
|
||||
static XtCallbackRec dropCB[] = {
|
||||
{ (XtCallbackProc) McdePanelDropCB, NULL },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
Arg dal[1];
|
||||
|
||||
XtSetArg(dal[0], DtNpreserveRegistration, True);
|
||||
DtDndDropRegister(panel.form, DtDND_FILENAME_TRANSFER,
|
||||
XmDROP_COPY, dropCB, dal, 1);
|
||||
}
|
||||
}
|
||||
@@ -52,6 +52,9 @@
|
||||
* include extern functions
|
||||
*/
|
||||
#include "WmWinInfo.h"
|
||||
|
||||
extern XtPointer _XmStringUngenerate(XmString, XmStringTag,
|
||||
XmTextType, XmTextType);
|
||||
#include "WmCDInfo.h"
|
||||
#include "WmCDecor.h"
|
||||
#include "WmCPlace.h"
|
||||
@@ -134,6 +137,8 @@ GetClientInfo (WmScreenData *pSD, Window clientWindow, long manageFlags)
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
pCD->titleUtf8 = NULL;
|
||||
|
||||
|
||||
/*
|
||||
* Initialize the data structure:
|
||||
@@ -2151,12 +2156,28 @@ ProcessWmWindowTitle (ClientData *pCD, Boolean firstTime)
|
||||
(netStr = GetUtf8String (DISPLAY, win, wmGD.xa__NET_WM_NAME)))
|
||||
{
|
||||
title_xms = XmStringCreateLocalized (netStr);
|
||||
if (pCD->titleUtf8 != NULL)
|
||||
XtFree (pCD->titleUtf8);
|
||||
pCD->titleUtf8 = XtNewString (netStr);
|
||||
XFree (netStr);
|
||||
}
|
||||
else if ((!firstTime || hasWmName) &&
|
||||
XGetWMName(DISPLAY, win, &wmNameProp))
|
||||
{
|
||||
title_xms = WmICCCMToXmString(&wmNameProp);
|
||||
if (pCD->titleUtf8 != NULL) {
|
||||
XtFree (pCD->titleUtf8);
|
||||
pCD->titleUtf8 = NULL;
|
||||
}
|
||||
if (title_xms != NULL) {
|
||||
char *u = (char *) _XmStringUngenerate (title_xms, NULL,
|
||||
XmCHARSET_TEXT, XmCHARSET_TEXT);
|
||||
|
||||
if (u != NULL) {
|
||||
pCD->titleUtf8 = XtNewString (u);
|
||||
XtFree (u);
|
||||
}
|
||||
}
|
||||
if (wmNameProp.value) XFree ((char*)wmNameProp.value);
|
||||
}
|
||||
}
|
||||
@@ -2209,6 +2230,9 @@ ProcessWmWindowTitle (ClientData *pCD, Boolean firstTime)
|
||||
(netStr = GetUtf8String (DISPLAY, win, wmGD.xa__NET_WM_VISIBLE_NAME)))
|
||||
{
|
||||
pCD->instantTitle = XmStringCreateLocalized (netStr);
|
||||
if (pCD->titleUtf8 != NULL)
|
||||
XtFree (pCD->titleUtf8);
|
||||
pCD->titleUtf8 = XtNewString (netStr);
|
||||
XFree (netStr);
|
||||
}
|
||||
|
||||
|
||||
+65
-33
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
/* MCDE: IrixCD.m.pm, from the IRIX Foundation icon (fti2xpm.py) */
|
||||
static char *IrixCD_m_pm[] = {
|
||||
"32 32 8 1 0 0",
|
||||
"64 64 8 1 0 0",
|
||||
"k c #000000",
|
||||
"w c #ffffff",
|
||||
"d c #202020",
|
||||
@@ -10,36 +10,68 @@ static char *IrixCD_m_pm[] = {
|
||||
"b c #3f3f7f",
|
||||
"B c #707080",
|
||||
". c None",
|
||||
".......................mmmm.....",
|
||||
".....................mmmmmmmm...",
|
||||
"...................mmmmmmmmmmmm.",
|
||||
".................mmmmmmmmmmmmmmm",
|
||||
"...............mmmmmmmmmmmmmmmmm",
|
||||
".............mmmmmmmmmmmmmmmmmmm",
|
||||
"............mmmmmmmmmmmmmmmmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmm",
|
||||
"...............mm.......mmmmmmmm",
|
||||
"...............mmmm.......mmmmmm",
|
||||
"...............mmmmmm.......mmmm",
|
||||
"...............mm.mmmmm.......mm",
|
||||
"...............mm...mmmmm.......",
|
||||
"...............mm.....mmmmm.....",
|
||||
"...............mm.......mmmmm...",
|
||||
"...............mm.........mmmmm.",
|
||||
"...............mm...........mmmm",
|
||||
"...............mm.............mm",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm..............m",
|
||||
"...............mm............mmm",
|
||||
"...............mm..........mmmmm",
|
||||
"...............mm........mmmmm..",
|
||||
"...............mm........mmmm...",
|
||||
".......................mmmm.....................................",
|
||||
".....................mmmmmmmm...................................",
|
||||
"...................mmmmmmmmmmmm.................................",
|
||||
".................mmmmmmmmmmmmmmmm...............................",
|
||||
"...............mmmmmmmmmmmmmmmmmmmm.............................",
|
||||
".............mmmmmmmmmmmmmmmmmmmmmmmm...........................",
|
||||
"............mmmmmmmmmmmmmmmmmmmmmmmmmmm...................mmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmmmmmmmmmmm............mmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmmmmmmmmmmmmm......mmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmmmmmmmmmmmmmmm.mmmmmmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddddd",
|
||||
"...............mmmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmddddddbbbb",
|
||||
"...............mm.mmmmm.......mmmmmmmmmmmmmmmmmmmdddddbbbbbbbbbb",
|
||||
"...............mm...mmmmm.......mmmmmmmmmmmmmmmddddbbbbbbbbbbbdd",
|
||||
"...............mm.....mmmmm.......mmmmmmmmmmddddbbbbbbbbdddddddd",
|
||||
"...............mm.......mmmmm.....mmmmmmmmdddbbbbbbbdddddddddddd",
|
||||
"...............mm.........mmmmm..mmmmmmmmddbbbbbbddddddddddddddd",
|
||||
"...............mm...........mmmmmmmmmmmddbbbbbbddddddddddddddddd",
|
||||
"...............mm.............mmmmmmmmddbbbbdddddddddddddddddddd",
|
||||
"...............mm...............mmmmmdbbbbbddddddddddddddddddddd",
|
||||
"...............mm................mmmdbbbbddddddddddddddddddddddd",
|
||||
"...............mm................mmdbbbbdddddddddddddddddddddddd",
|
||||
"...............mm.................mdbbbddddddddddddddddddddddddd",
|
||||
"...............mm................mdbbbdddddddddddddddddddddddddd",
|
||||
"...............mm..............mmdbbbddddddddddddddddddddddddddd",
|
||||
"...............mm............mmmmbbbbddddddddddddddddddddddddddd",
|
||||
"...............mm..........mmmmmmbbbbbbbdddddddddddddddddddddddb",
|
||||
"...............mm........mmmmm...bbdbbbbbbbbbdddddddddddddddbbbb",
|
||||
"...............mm........mmmm....bbbbbbbbbbbbbbbbbbdddddddbbbbdd",
|
||||
"...............mm........mmmmmm.bbbdddbbbbbbbbbbbbbbbbddbbbbdddb",
|
||||
"...............mm........mmmmmmmbbbdddddddddddddddddbbdbbbbddbbb",
|
||||
"...............mm........mm..mmmbbdddddddddddddddddddddbbbddbbbb",
|
||||
"...............mm........mm....mbbdddddddddddddddddddddbbdddbbbd",
|
||||
"...............mm........mm.....bbdddddddddddddddddddddbbdddbbdd",
|
||||
"...............mm........mm.....bbbdddddddddddddbbbbbbdbbbddbbbb",
|
||||
"...............mm........mm.....bbbdddddddbbbbbbbbbbbbdbbbbdbbbb",
|
||||
"...............mm........mm......bb.bbbbbbbbbbbbbbbb....bbbbmmbb",
|
||||
"...............mm........mm......bbbbbbbbbbbbbbb.......dddbbbbbm",
|
||||
"...............mm........mmm.....bbb.bbbbbbbbmmmm....ddddddbbbbb",
|
||||
"...............mm........mmmmm....bbb.bbb.....mmmmmddddddddddddb",
|
||||
"...............mm..........mmmmm...bbb..........mddddddddddddddd",
|
||||
"...............mm............mmmmm..bbb........ddddddddddddddddd",
|
||||
"...............mmm.............mmmmmbbbb.....ddddddddddddddddddd",
|
||||
"...............mmmmm.............mmmmbbbbb.ddddddddddddddddddddd",
|
||||
".................mmmmm.............mmmmbbbbddddddddddddddddddddd",
|
||||
"...................mmmmm.............mmmbbbbdddddddddddddddddddd",
|
||||
".....................mmmmm.............mmmbbbbdddddddddddddddddd",
|
||||
".......................mmmmm.............mmbbbbbdddddddddddddddd",
|
||||
".........................mmmmm.............mmmbbbbbddddddddddddd",
|
||||
"...........................mmmmm.............mmmbbbbbbbbdddddddd",
|
||||
".............................mmmmm.............mmmmmbbbbbbbbbbbb",
|
||||
"...............................mmmmm.............mmmmmm..bbbbbbb",
|
||||
".................................mmmmm.............mmmmm........",
|
||||
"...................................mmmmm.............mmmmmm.....",
|
||||
".....................................mmmmm.............mmmmmm...",
|
||||
".......................................mmmmm.............mmmmmm.",
|
||||
".........................................mmmmm.............mmmmm",
|
||||
"...........................................mmmmm.............mmm",
|
||||
".............................................mmmmm.............m",
|
||||
"...............................................mmmmm............",
|
||||
".................................................mmmmm..........",
|
||||
};
|
||||
+65
-33
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
/* MCDE: IrixDVD.m.pm, from the IRIX Foundation icon (fti2xpm.py) */
|
||||
static char *IrixDVD_m_pm[] = {
|
||||
"32 32 8 1 0 0",
|
||||
"64 64 8 1 0 0",
|
||||
"k c #000000",
|
||||
"w c #ffffff",
|
||||
"d c #202020",
|
||||
@@ -10,36 +10,68 @@ static char *IrixDVD_m_pm[] = {
|
||||
"b c #3f3f7f",
|
||||
"B c #707080",
|
||||
". c None",
|
||||
".......................mmmm.....",
|
||||
".....................mmmmmmmm...",
|
||||
"...................mmmmmmmmmmmm.",
|
||||
".................mmmmmmmmmmmmmmm",
|
||||
"...............mmmmmmmmmmmmmmmmm",
|
||||
".............mmmmmmmmmmmmmmmmmmm",
|
||||
"............mmmmmmmmmmmmmmmmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmm",
|
||||
"...............mm.......mmmmmmmm",
|
||||
"...............mmmm.......mmmmmm",
|
||||
"...............mmmmmm.......mmmm",
|
||||
"...............mm.mmmmm.......mm",
|
||||
"...............mm...mmmmm.......",
|
||||
"...............mm.....mmmmm.....",
|
||||
"...............mm.......mmmmm...",
|
||||
"...............mm.........mmmmm.",
|
||||
"...............mm...........mmmm",
|
||||
"...............mm.............mm",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm...............",
|
||||
"...............mm..............m",
|
||||
"...............mm............mmm",
|
||||
"...............mm..........mmmmm",
|
||||
"...............mm........mmmmm..",
|
||||
"...............mm........mmmm...",
|
||||
".......................mmmm.....................................",
|
||||
".....................mmmmmmmm...................................",
|
||||
"...................mmmmmmmmmmmm.................................",
|
||||
".................mmmmmmmmmmmmmmmm...............................",
|
||||
"...............mmmmmmmmmmmmmmmmmmmm.............................",
|
||||
".............mmmmmmmmmmmmmmmmmmmmmmmm...........................",
|
||||
"............mmmmmmmmmmmmmmmmmmmmmmmmmmm...................mmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmmmmmmmmmmm............mmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmmmmmmmmmmmmm......mmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmmmmmmmmmmmmmmm.mmmmmmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmddddd",
|
||||
"...............mmmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmddddddbbbb",
|
||||
"...............mm.mmmmm.......mmmmmmmmmmmmmmmmmmmdddddbbbbbbbbbb",
|
||||
"...............mm...mmmmm.......mmmmmmmmmmmmmmmddddbbbbbbbbbbbdd",
|
||||
"...............mm.....mmmmm.......mmmmmmmmmmddddbbbbbbbbdddddddd",
|
||||
"...............mm.......mmmmm.....mmmmmmmmdddbbbbbbbdddddddddddd",
|
||||
"...............mm.........mmmmm..mmmmmmmmddbbbbbbddddddddddddddd",
|
||||
"...............mm...........mmmmmmmmmmmddbbbbbbddddddddddddddddd",
|
||||
"...............mm.............mmmmmmmmddbbbbdddddddddddddddddddd",
|
||||
"...............mm...............mmmmmdbbbbbddddddddddddddddddddd",
|
||||
"...............mm................mmmdbbbbddddddddddddddddddddddd",
|
||||
"...............mm................mmdbbbbdddddddddddddddddddddddd",
|
||||
"...............mm.................mdbbbddddddddddddddddddddddddd",
|
||||
"...............mm................mdbbbdddddddddddddddddddddddddd",
|
||||
"...............mm..............mmdbbbddddddddddddddddddddddddddd",
|
||||
"...............mm............mmmmbbbbddddddddddddddddddddddddddd",
|
||||
"...............mm..........mmmmmmbbbbbbbdddddddddddddddddddddddb",
|
||||
"...............mm........mmmmm...bbdbbbbbbbbbdddddddddddddddbbbb",
|
||||
"...............mm........mmmm....bbbbbbbbbbbbbbbbbbdddddddbbbbdd",
|
||||
"...............mm........mmmmmm.bbbdddbbbbbbbbbbbbbbbbddbbbbdddb",
|
||||
"...............mm........mmmmmmmbbbdddddddddddddddddbbdbbbbddbbb",
|
||||
"...............mm........mm..mmmbbdddddddddddddddddddddbbbddbbbb",
|
||||
"...............mm........mm....mbbdddddddddddddddddddddbbdddbbbd",
|
||||
"...............mm........mm.....bbdddddddddddddddddddddbbdddbbdd",
|
||||
"...............mm........mm.....bbbdddddddddddddbbbbbbdbbbddbbbb",
|
||||
"...............mm........mm.....bbbdddddddbbbbbbbbbbbbdbbbbdbbbb",
|
||||
"...............mm........mm......bb.bbbbbbbbbbbbbbbb....bbbbmmbb",
|
||||
"...............mm........mm......bbbbbbbbbbbbbbb.......dddbbbbbm",
|
||||
"...............mm........mmm.....bbb.bbbbbbbbmmmm....ddddddbbbbb",
|
||||
"...............mm........mmmmm....bbb.bbb.....mmmmmddddddddddddb",
|
||||
"...............mm..........mmmmm...bbb..........mddddddddddddddd",
|
||||
"...............mm............mmmmm..bbb........ddddddddddddddddd",
|
||||
"...............mmm.............mmmmmbbbb.....ddddddddddddddddddd",
|
||||
"...............mmmmm.............mmmmbbbbb.ddddddddddddddddddddd",
|
||||
".................mmmmm.............mmmmbbbbddddddddddddddddddddd",
|
||||
"...................mmmmm.............mmmbbbbdddddddddddddddddddd",
|
||||
".....................mmmmm.............mmmbbbbdddddddddddddddddd",
|
||||
".......................mmmmm.............mmbbbbbdddddddddddddddd",
|
||||
".........................mmmmm.............mmmbbbbbddddddddddddd",
|
||||
"...........................mmmmm.............mmmbbbbbbbbdddddddd",
|
||||
".............................mmmmm.............mmmmmbbbbbbbbbbbb",
|
||||
"...............................mmmmm.............mmmmmm..bbbbbbb",
|
||||
".................................mmmmm.............mmmmm........",
|
||||
"...................................mmmmm.............mmmmmm.....",
|
||||
".....................................mmmmm.............mmmmmm...",
|
||||
".......................................mmmmm.............mmmmmm.",
|
||||
".........................................mmmmm.............mmmmm",
|
||||
"...........................................mmmmm...dd........mmm",
|
||||
".............................................mmmmm.dddd........m",
|
||||
"...............................................mmmmdddddd.......",
|
||||
".................................................mmdddddddd.....",
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
/* MCDE: IrixDisk.m.pm, from the IRIX Foundation icon (fti2xpm.py) */
|
||||
static char *IrixDisk_m_pm[] = {
|
||||
"32 32 8 1 0 0",
|
||||
"64 64 8 1 0 0",
|
||||
"k c #000000",
|
||||
"w c #ffffff",
|
||||
"d c #202020",
|
||||
@@ -10,36 +10,68 @@ static char *IrixDisk_m_pm[] = {
|
||||
"b c #3f3f7f",
|
||||
"B c #707080",
|
||||
". c None",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
".......................dddd.....................................",
|
||||
".....................dddddddd...................................",
|
||||
"...................dddddddddddd.................................",
|
||||
".................dddddddddddddddd...............................",
|
||||
"...............dddddddddddddddddddd.............................",
|
||||
".............dddddddddddddddddddddddd...........................",
|
||||
"............ddddddddddddddddddddddddddd.........................",
|
||||
"..............ddddddddddddddddddddddddddd.......................",
|
||||
"................ddddddddddddddddddddddddddd.....................",
|
||||
"..................ddddddddddddddddddddddddddd...................",
|
||||
"....................ddddddddddddddddddddddddddd.................",
|
||||
"......................ddddddddddddddddddddddddddd...............",
|
||||
"...............mm.......ddddddddddddddddddddddddddd.............",
|
||||
"...............mmmm.......ddddddddddddddddddddddddddd...........",
|
||||
"...............mmmmmm.......ddddddddddddddddddddddddddd.........",
|
||||
"...............mm.mmmmm.......ddddddddddddddddddddddddddd.......",
|
||||
"...............mm...mmmmm.......ddddddddddddddddddddddddddd.....",
|
||||
"...............mm.....mmmmm.......ddddddddddddddddddddddddddd...",
|
||||
"...............mm.......mmmmm.......ddddddddddddddddddddddddddd.",
|
||||
"...............mm.........mmmmm.......dddddddddddddddddddddddddd",
|
||||
"...............mm...........mmmmm.......dddddddddddddddddddddddd",
|
||||
"...............mm.............mmmmm.......dddddddddddddddddddddd",
|
||||
"...............mm...............mmmmm.......dddddddddddddddddddd",
|
||||
"...............mm.................mmmmm.......dddddddddddddddddd",
|
||||
"...............mm...................mmmmm.......dddddddddddddddd",
|
||||
"...............mm.....................mmmmm.......dddddddddddddd",
|
||||
"...............mm.......................mmmmm.......dddddddddddd",
|
||||
"...............mm.........................mmmmm.......dddddddddd",
|
||||
"...............mm...........................mmmmm.......dddddddd",
|
||||
"...............mm.............................mmmmm.......dddddd",
|
||||
"...............mmm..............................mmmmm.......dddd",
|
||||
"...............mmmmm..............................mmmmm.......dd",
|
||||
"...............mmmmmmm..............................mmmmm.......",
|
||||
"...............mm..mmmmm..............................mmmmm.....",
|
||||
"...............mm....mmmmm..............................mmmmm...",
|
||||
"...............mm......ddmmm..............................mmmmm.",
|
||||
"...............mm......ddddmmm..............................mmmm",
|
||||
"...............mm......ddddddmmm..............................mm",
|
||||
"...............mmm.....ddddddddmmm..............................",
|
||||
"...............mmmmm...dd..dddddmmmm............................",
|
||||
"...............mmmmmmm.dd.....dd.mmmmm..........................",
|
||||
"...............mm..mmmmdddd...dd.bbmmmmm........................",
|
||||
"...............mm....mmmddddd.dd.bbbbmmmmm......................",
|
||||
"...............mm......mmddddddd.bbbbbbmmmmm....................",
|
||||
"...............mm........mmmdddd.bb.bbbb.mmmmm..................",
|
||||
"...............mmm.........mmmddmbbbb.bb...mmmmm................",
|
||||
"...............mmmmm.........mmmmbbbbbbb.....mmmmm..............",
|
||||
".................mmmmm.........mmmmbbbbb.......mmmmm............",
|
||||
"...................mmmmm.........mmmmbbb.........mmmmm..........",
|
||||
".....................mmmmm.........mmmmmm..........mmmmm........",
|
||||
".......................mmmmm.........mmmmmm..........mmmmm......",
|
||||
".........................mmmmm.........mmmmmm..........mmmmm....",
|
||||
"...........................mmmmm.........mmmmmm..........mmmmm..",
|
||||
".............................mmmmm.........mmmmmm..........mmmmm",
|
||||
"...............................mmmmm.........mmmmmm..........mmm",
|
||||
".................................mmmmm.........mmmmmm..........m",
|
||||
"...................................mmmmm.........mmmmmm.........",
|
||||
".....................................mmmmm.........mmmmmm.......",
|
||||
".......................................mmmmm.........mmmmmm.....",
|
||||
".........................................mmmmm..........mmmmm...",
|
||||
"...........................................mmmmm..........mmmmm.",
|
||||
".............................................mmmmm..........mmmm",
|
||||
"...............................................mmmmm..........mm",
|
||||
".................................................mmmmm..........",
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
/* MCDE: IrixFloppy.m.pm, from the IRIX Foundation icon (fti2xpm.py) */
|
||||
static char *IrixFloppy_m_pm[] = {
|
||||
"32 32 8 1 0 0",
|
||||
"64 64 8 1 0 0",
|
||||
"k c #000000",
|
||||
"w c #ffffff",
|
||||
"d c #202020",
|
||||
@@ -10,36 +10,68 @@ static char *IrixFloppy_m_pm[] = {
|
||||
"b c #3f3f7f",
|
||||
"B c #707080",
|
||||
". c None",
|
||||
"........................mmm.....",
|
||||
"......................mmmmmmm...",
|
||||
"....................mmmmmmmmmmm.",
|
||||
"..................mmmmmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmm",
|
||||
"............mmmmmmmmmmmmmmmmmmmm",
|
||||
"............mmmmmmmmmmmmmmmmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmm",
|
||||
".................mm.....mmmmmmmm",
|
||||
".................mmmm.....mmmmmm",
|
||||
".................mmmmmm.....mmmm",
|
||||
".................mm.mmmmm.....mm",
|
||||
".................mm...mmmmm.....",
|
||||
".................mm.....mmmmm...",
|
||||
".................mm.......mmmmm.",
|
||||
".................mm.........mmmm",
|
||||
".................mm...........mm",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm.............",
|
||||
".................mm...........dd",
|
||||
".................mm...bbb...dddd",
|
||||
"........................mmm.....................................",
|
||||
"......................mmmmmmm.................................bb",
|
||||
"....................mmmmmmmmmmm.............................bbbb",
|
||||
"..................mmmmmmmmmmmmmmm.........................bbbbbb",
|
||||
"................mmmmmmmmmmmmmmmmmmm.....................bbbbbbbb",
|
||||
"..............mmmmmmmmmmmmmmmmmmmmmmm.................bbbbbbbbbb",
|
||||
"............mmmmmmmmmmmmmmmmmmmmmmmmmmm.............bbbbbbbbbbbb",
|
||||
"............mmmmmmmmmmmmmmmmmmmmmmmmmmmmm.........bbbbbbbbbbbbbb",
|
||||
"..............mmmmmmmmmmmmmmmmmmmmmmmmmmmmm.....bbbbbbbbbbbbbbbb",
|
||||
"................mmmmmmmmmmmmmmmmmmmmmmmmmmmmm.bbbbbbbbbbbbbbbbbb",
|
||||
"..................mmmmmmmmmmmmmmmmmmmmmmmmmmbbbbbbbbbbbbbbbbbbbb",
|
||||
"....................mmmmmmmmmmmmmmmmmmmmmmbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"......................mmmmmmmmmmmmmmmmmmbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
".................mm.....mmmmmmmmmmmmmmbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
".................mmmm.....mmmmmmmmmmbbbbbbbbbbbbbbbbbbbbbbbbbbdd",
|
||||
".................mmmmmm.....mmmmmmbbbbbbbbbbbbbbbbbbbbbbbbbbdddd",
|
||||
".................mm.mmmmm.....mmmbbbbbbbbbbbbbbbbbbbbbbbbbdddddd",
|
||||
".................mm...mmmmm.....mmmbbbbbbbbbbbbbbbbbbbbbdddddddd",
|
||||
".................mm.....mmmmm.....mmmbbbbbbbbbbbbbbbbbdddddddddd",
|
||||
".................mm.......mmmmm.....mmmbbbbbbbbbbbbbdddddddddddb",
|
||||
".................mm.........mmmmm.....mmmbbbbbbbbbdddddddddddbbb",
|
||||
".................mm...........mmmmm.....mmmbbbbbdddddddddddbbbbb",
|
||||
".................mm.............mmmmm.....mmmbbddddddddddbbbbbbb",
|
||||
".................mm...............mmmmm.....mddddddddddbbbbbbbbd",
|
||||
".................mm.................mmmmm.ddddddddddbbbbbbbbbddd",
|
||||
".................mm...................mmdddddddddddbbbbbbbbddddd",
|
||||
".................mm...................ddddddddddd.mmmbbbbdddddbb",
|
||||
".................mm.................ddddddddddd.....mmmdddddbbbb",
|
||||
".................mm...............dddddddddddmmmm.....mdddddbbbb",
|
||||
".................mm.............ddddddddddd...mmmmm.....mdddddbb",
|
||||
".................mm...........ddddddddddd.......mmmmm.....mddddd",
|
||||
".................mm...bbb...dddddddddddb..........mmmmm.....mddd",
|
||||
".................mm...bbbbdddddddddddbbbbb..........mmmmm.....md",
|
||||
".................mm...bbbbdddddddddbb..bbbbb..........mmmmm.....",
|
||||
".................mm...bbmmddddddd..bb....bbbbb...ddddd..mmmmm...",
|
||||
".................mm...bbmmdddddbb..bb......bbbbddddddddd..mmmmm.",
|
||||
".................mm...bbbmddddbbbbbbb........dddddd..ddddd..mmmm",
|
||||
".................mm...bbbbbdddddbbbbb......ddddddbbb...ddddd..mm",
|
||||
".................mm.....bbbbbdddddbbbm...dddddd..bbbbb...ddddd..",
|
||||
".................mm.......bbbbbddddddmmdddddd......bbbbbdddddddd",
|
||||
".................mm.........bbbbbdddddddddd..........bdddddddddd",
|
||||
".................mm...........bbbbbddddddmmm........dddddddddddd",
|
||||
".................mm.............bbbbbddddddmmm....ddddddb.ddddd.",
|
||||
".................mm...............bbbmmddddddmmmdddddd.bb.dddddb",
|
||||
".................mm................bbmmmmddddddddddd...bddddddbd",
|
||||
".................mm................bbmmmmmmdddddddmm..ddddddbddd",
|
||||
".................mmm...............bbmmmmmmmmddddddmdddddd.ddddd",
|
||||
".................mmmmm.............bbmmmmmmmmmmdddddddddbddddddb",
|
||||
"...................mmmmm...........bbbbmmmmmmmmmmdddddmddddddbbb",
|
||||
".....................mmmmm..........bbbbbmmmmmmmmmmddddddddbb...",
|
||||
".......................mmmmm..........bbbbbmmmmmmmmmmdddddbbbbb.",
|
||||
".........................mmmmm..........bbbbbmmmmmmmmmmdddddbbbb",
|
||||
"...........................mmmmm..........bbbbbmmmmmmmbbbddddddd",
|
||||
".............................mmmmm..........bbbbbmmmbbbbbbbddddd",
|
||||
"...............................mmmmm..........bbbbbbbbbbbbbbbmmm",
|
||||
".................................mmmmm..........bbbbbmmbb.bbbbbm",
|
||||
"...................................mmmmm..........bbbbbbb...bbbb",
|
||||
".....................................mmmmm..........bbbbb.....bb",
|
||||
".......................................mmmmm..........bbb.......",
|
||||
".........................................mmmmm..................",
|
||||
"...........................................mmmmm................",
|
||||
".............................................mmmmm..............",
|
||||
"...............................................mmmmm............",
|
||||
".................................................mmmmm..........",
|
||||
};
|
||||
+65
-33
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
/* MCDE: IrixNet.m.pm, from the IRIX Foundation icon (fti2xpm.py) */
|
||||
static char *IrixNet_m_pm[] = {
|
||||
"32 32 8 1 0 0",
|
||||
"64 64 8 1 0 0",
|
||||
"k c #000000",
|
||||
"w c #ffffff",
|
||||
"d c #202020",
|
||||
@@ -10,36 +10,68 @@ static char *IrixNet_m_pm[] = {
|
||||
"b c #3f3f7f",
|
||||
"B c #707080",
|
||||
". c None",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"................................",
|
||||
"mm..............................",
|
||||
"mmmm............................",
|
||||
"mmmmmm..........................",
|
||||
"mmmmmmmm........................",
|
||||
"mmmmmmmmmm......................",
|
||||
"mmmmmmmmmmm.....................",
|
||||
".mmmmmmmmmmmm...................",
|
||||
"...mmmmmmmmmmm..................",
|
||||
".....mmmmmmmmm..................",
|
||||
".......mmmmmmm..................",
|
||||
".........mmmmm..................",
|
||||
"........mmmmmm..................",
|
||||
"......mmmmmmmm..................",
|
||||
".....mmmmmmmmm..................",
|
||||
"....mmmmmmmmm...................",
|
||||
"...mmmmmmmmm....................",
|
||||
"...mmmmmmmm.....................",
|
||||
"...mmmmm........................",
|
||||
"...mmmmmmm......................",
|
||||
"...mmmmmmmm.....................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"mm..............................................................",
|
||||
"mmmm............................................................",
|
||||
"mmmmmm..........................................................",
|
||||
"mmmmmmmm........................................................",
|
||||
"mmmmmmmmmm......................................................",
|
||||
"mmmmmmmmmmm.....................................................",
|
||||
".mmmmmmmmmmmm...................................................",
|
||||
"...mmmmmmmmmmm..................................................",
|
||||
".....mmmmmmmmm..................................................",
|
||||
".......mmmmmmm..................................................",
|
||||
".........mmmmm..................................................",
|
||||
"........mmmmmm..................................................",
|
||||
"......mmmmmmmm..................................................",
|
||||
".....mmmmmmmmm..................................................",
|
||||
"....mmmmmmmmm...................................................",
|
||||
"...mmmmmmmmm....................................................",
|
||||
"...mmmmmmmm.....................................................",
|
||||
"...mmmmm........................................................",
|
||||
"...mmmmmmm......................................................",
|
||||
"...mmmmmmmm.....................................................",
|
||||
"....mmmmmmmmm...................................................",
|
||||
".....mmmmmmmmmm.................................................",
|
||||
"......mmmmmmmmmmm...............................................",
|
||||
".......mmmmmmmmmmmm.............................................",
|
||||
".........mmmmmmmmmmm............................................",
|
||||
"...........mmmmmmmmm............................................",
|
||||
".............mmmmmmm............................................",
|
||||
"...............mmmmm............................................",
|
||||
".................mmm............................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
"................................................................",
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
/* XPM */
|
||||
/* MCDE: IrixTape.m.pm, from the IRIX Foundation icon (fti2xpm.py) */
|
||||
static char *IrixTape_m_pm[] = {
|
||||
"32 32 8 1 0 0",
|
||||
"64 64 8 1 0 0",
|
||||
"k c #000000",
|
||||
"w c #ffffff",
|
||||
"d c #202020",
|
||||
@@ -10,36 +10,68 @@ static char *IrixTape_m_pm[] = {
|
||||
"b c #3f3f7f",
|
||||
"B c #707080",
|
||||
". c None",
|
||||
".......................mmmm.....",
|
||||
".....................mmmmmmmm...",
|
||||
"...................mmmmmmmmmmmm.",
|
||||
".................mmmmmmmmmmmmmmm",
|
||||
"...............mmmmmmmmmmmmmmmmm",
|
||||
".............mmmmmmmmmmmmmmmmmmm",
|
||||
"............mmmmmmmmmmmmmmmmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmm",
|
||||
"...............mm.......mmmmmmmm",
|
||||
"...............mmmm.......mmmmmm",
|
||||
"...............mmmmmm.......mmmm",
|
||||
"...............mm.mmmmm.......mm",
|
||||
"...............mm...mmmmm.......",
|
||||
"...............mm.....mmmmm.....",
|
||||
"...............mmmm.....mmmmm...",
|
||||
"...............mmmmmm.....mmmmm.",
|
||||
"...............mm.mmmmm.....mmmm",
|
||||
"...............mm...mmmmm.....mm",
|
||||
"...............mmm....mmmmm.....",
|
||||
"...............mmmmm....mmmmm...",
|
||||
"...............mmmmmmm....mmmmm.",
|
||||
"...............mm.mmmmmm....mmmm",
|
||||
"...............mm...mmmmmm....mm",
|
||||
"...............mm.....mmmmmm....",
|
||||
"...............mmmm.....mmmmmm..",
|
||||
"...............mmmmmm.....mmmmmm",
|
||||
"...............mm.mmmmm.....mmmm",
|
||||
"...............mm...mmmmm.....mm",
|
||||
".......................mmmm.....................................",
|
||||
".....................mmmmmmmm...................................",
|
||||
"...................mmmmmmmmmmmm........................m........",
|
||||
".................mmmmmmmmmmmmmmmm....................mmmmm......",
|
||||
"...............mmmmmmmmmmmmmmmmmmmm................mmmmmmmmm....",
|
||||
".............mmmmmmmmmmmmmmmmmmmmmmmm............mmmmmmmmmmmmm..",
|
||||
"............mmmmmmmmmmmmmmmmmmmmmmmmmmm........mmmmmmmmmmmmmmmmm",
|
||||
"..............mmmmmmmmmmmmmmmmmmmmmmmmmmm....mmmmmmmmmmmmmmmmmmm",
|
||||
"................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"..................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"....................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"......................mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm.mmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm...mmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm.....mmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmm.....mmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmmmm.....mmmmm.......mmmmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm.mmmmm.....mmmmm.......mmmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm...mmmmm.....mmmmm.......mmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmm....mmmmm.....mmmmm.......mmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmmm....mmmmm.....mmmmm.......mmmmmmmmmmmmmmmmmm",
|
||||
"...............mmmmmmm....mmmmm.....mmmmm.......mmddmmmmmmmmmmmm",
|
||||
"...............mm.mmmmmm....mmmmm.....mmmmm.....ddddmmmmmmmmmmmm",
|
||||
"...............mm...mmmmmm....mmmmm.....mmmmm.ddddddmmmmmmmmmmmm",
|
||||
"...............mm.....mmmmmm....mmmmm.....mmbbbdddddmmmmmmmmmmmm",
|
||||
"...............mmmm.....mmmmmm....mmmmm...bbbbbdddddmm..mmmmmmmm",
|
||||
"...............mmmmmm.....mmmmmm....mmmmbbbbbbbdddmmmm....mmmmmm",
|
||||
"...............mm.mmmmm.....mmmmmm....bbbbbb.bbdmmmmmm......mmmm",
|
||||
"...............mm...mmmmm.....mmmmmmbbbbbbmmmbbmmmmmmmm.......mm",
|
||||
"...............mm.....mmmmm.....mmbbbbbb..mmbbbmmm..mmmmm.......",
|
||||
"...............mm.......mmmmm...bbbbbbmm..bbbbbmm...mmmmmmm.....",
|
||||
"...............mm.........mmmmbbbbb.mmmmbbbbbbmmmmmmmmmmmmmmm...",
|
||||
"...............mm...........mmbbbb....bbbbbb....mmmmmmmmmmmmmmm.",
|
||||
"...............mm....mmm...mmmbbmmm.bbbbbbmmmmmmmmmmmmmmmmmmmmmm",
|
||||
"...............mm....mmmmm.mmmbbmmbbbbbb..mmmmmmdddddmmmmmmmmmmm",
|
||||
"...............mm....mmmmmmmm.bbbbbbbddd..mmmmddddddddddmmmmmmmm",
|
||||
"...............mm....mm.mmmmmmbbbbbbdddddmmmmddddmmmddddddmmmmmm",
|
||||
"...............mm....mm...mmmmmm...dd.dddddm.ddddmmmmmddddddmmmm",
|
||||
"...............mm....mm....mmmmmmm.ddmmmddddm.ddddddmmmmddddddmm",
|
||||
"...............mm....mm....mm.mmmmmdddmm.dddddm.ddddddmmmmdddddd",
|
||||
"...............mm....mm....mm...mmmdddd....dddddm.ddddddmmmmdddd",
|
||||
"...............mm....mm....mm.mmmmdddddm.....ddddmm.ddddddmmmmdd",
|
||||
"...............mm....mm....mmmmmddddddmmmm....dddddmm.ddddddmmmm",
|
||||
"...............mm....mmm...mmmmddddd..mmmmmm....ddddmmm.ddddddmm",
|
||||
"...............mm....mmmmm.mmmmddddd....mmmmmm...dddddmmm.dddddd",
|
||||
"...............mmmm...mmmmmm.mmmmddddd....mmmmmm...dddddmmm.dddd",
|
||||
"................mmmmm...mmmmmm.mmmmddddd....mmmmmm...ddddmmmm.dd",
|
||||
"..................mmmmm...mmmmmm.mmmmddddd....mmmmmm..dddddmmmm.",
|
||||
"....................mmmmm...mmmmmm.mmmmddddd....mmmmmm..dddddmmm",
|
||||
"......................mmmmm...mmmmmm.mmmmddddd....mmmmmm.dddddmm",
|
||||
"........................mmmmm...mmmmmm.mmmmddddd....mmmmmm.dddd.",
|
||||
"..........................mmmmm...mmmmmm.mmmmddddd....mmmmmmdddd",
|
||||
"............................mmmmm...mmmmmm.mmmmddddd....mmmmmmdd",
|
||||
"..............................mmmmm...mmmmmm.mmmmddddd....mmmmmd",
|
||||
"................................mmmmm...mmmmmm.mmmmddddd....mmmm",
|
||||
"..................................mmmmm...mmmmmm.mmmmddddd....mm",
|
||||
"....................................mmmmm...mmmmmm.mmmdddddd....",
|
||||
"......................................mmmmm...mmmmmm.mmmmddddd..",
|
||||
"........................................mmmmm...mmmmmm.mmmmddddd",
|
||||
"..........................................mmmmm...mmmmmm.mmmmddd",
|
||||
"............................................mmmmm...mmmmmm.mmmmd",
|
||||
};
|
||||
@@ -56,17 +56,17 @@ $ NumFonts
|
||||
3 7
|
||||
$ Set of SystemFont
|
||||
4 Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
$ Set of UserFont
|
||||
5 Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
|
||||
@@ -87,13 +87,13 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Rename
|
||||
@@ -32,50 +32,50 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
1 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
1 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmText*FontList
|
||||
2 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmTextField*FontList
|
||||
3 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
3 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *systemFont
|
||||
4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
4 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *userFont
|
||||
5 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
5 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
6 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmText*FontList
|
||||
10 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
10 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmTextField*FontList
|
||||
11 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
11 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *systemFont
|
||||
12 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
12 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *userFont
|
||||
13 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
13 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
14 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
16 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmText*FontList
|
||||
18 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmTextField*FontList
|
||||
19 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *systemFont
|
||||
20 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *userFont
|
||||
21 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
21 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
22 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--10-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--10-*
|
||||
@@ -62,18 +62,18 @@ $ NumFonts
|
||||
$ Set of SystemFont
|
||||
|
||||
4 "Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:"
|
||||
$ Set of UserFont
|
||||
|
||||
5 "Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:"
|
||||
|
||||
@@ -104,16 +104,16 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
|
||||
17 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
17 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
|
||||
18 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
18 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
|
||||
19 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
19 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ Dtwm*icon*fontList
|
||||
|
||||
20 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
20 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Umbenennen
|
||||
@@ -35,73 +35,73 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
|
||||
1 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
1 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
2 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
2 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
3 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
3 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *systemFont
|
||||
|
||||
4 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
4 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *userFont
|
||||
|
||||
5 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
5 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
6 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
6 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *Font
|
||||
|
||||
7 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"
|
||||
7 "-adobe-helvetica-medium-r-normal--14-*"
|
||||
$ *FontSet
|
||||
|
||||
8 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"
|
||||
8 "-adobe-helvetica-medium-r-normal--14-*"
|
||||
$ *FontList
|
||||
|
||||
9 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
9 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
10 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
10 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
11 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
11 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *systemFont
|
||||
|
||||
12 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
12 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *userFont
|
||||
|
||||
13 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
13 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
14 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
14 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *Font
|
||||
|
||||
15 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*"
|
||||
15 "-adobe-helvetica-medium-r-normal--12-*"
|
||||
$ *FontSet
|
||||
|
||||
16 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*"
|
||||
16 "-adobe-helvetica-medium-r-normal--12-*"
|
||||
$ *FontList
|
||||
|
||||
17 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
17 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
18 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
18 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
19 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
19 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *systemFont
|
||||
|
||||
20 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
20 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *userFont
|
||||
|
||||
21 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
21 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
22 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
22 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *Font
|
||||
|
||||
23 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*"
|
||||
23 "-adobe-helvetica-medium-r-normal--10-*"
|
||||
$ *FontSet
|
||||
|
||||
24 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*"
|
||||
24 "-adobe-helvetica-medium-r-normal--10-*"
|
||||
@@ -8,3 +8,5 @@ $set 1
|
||||
4 Das Bild konnte nicht geöffnet werden.
|
||||
5 Das Bild konnte nicht gespeichert werden.
|
||||
6 Werkzeugoptionen
|
||||
7 Nichts konnte platziert werden.
|
||||
8 Das Bild konnte nicht exportiert werden.
|
||||
@@ -56,17 +56,17 @@ $ NumFonts
|
||||
3 7
|
||||
$ Set of SystemFont
|
||||
4 Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
$ Set of UserFont
|
||||
5 Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
|
||||
@@ -87,13 +87,13 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Μετονομασία
|
||||
@@ -32,50 +32,50 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
1 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
1 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmText*FontList
|
||||
2 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmTextField*FontList
|
||||
3 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
3 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *systemFont
|
||||
4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
4 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *userFont
|
||||
5 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
5 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
6 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmText*FontList
|
||||
10 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
10 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmTextField*FontList
|
||||
11 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
11 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *systemFont
|
||||
12 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
12 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *userFont
|
||||
13 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
13 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
14 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
16 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmText*FontList
|
||||
18 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmTextField*FontList
|
||||
19 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *systemFont
|
||||
20 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *userFont
|
||||
21 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
21 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
22 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--10-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--10-*
|
||||
@@ -62,18 +62,18 @@ $ NumFonts
|
||||
$ Set of SystemFont
|
||||
|
||||
4 "Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:"
|
||||
$ Set of UserFont
|
||||
|
||||
5 "Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:"
|
||||
|
||||
@@ -104,16 +104,16 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
|
||||
17 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
17 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
|
||||
18 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
18 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
|
||||
19 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
19 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ Dtwm*icon*fontList
|
||||
|
||||
20 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
20 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Renombrar
|
||||
@@ -35,73 +35,73 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
|
||||
1 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
1 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
2 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
2 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
3 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
3 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *systemFont
|
||||
|
||||
4 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
4 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *userFont
|
||||
|
||||
5 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
5 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
6 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
6 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *Font
|
||||
|
||||
7 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"
|
||||
7 "-adobe-helvetica-medium-r-normal--14-*"
|
||||
$ *FontSet
|
||||
|
||||
8 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"
|
||||
8 "-adobe-helvetica-medium-r-normal--14-*"
|
||||
$ *FontList
|
||||
|
||||
9 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
9 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
10 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
10 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
11 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
11 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *systemFont
|
||||
|
||||
12 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
12 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *userFont
|
||||
|
||||
13 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
13 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
14 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
14 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *Font
|
||||
|
||||
15 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*"
|
||||
15 "-adobe-helvetica-medium-r-normal--12-*"
|
||||
$ *FontSet
|
||||
|
||||
16 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*"
|
||||
16 "-adobe-helvetica-medium-r-normal--12-*"
|
||||
$ *FontList
|
||||
|
||||
17 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
17 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
18 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
18 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
19 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
19 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *systemFont
|
||||
|
||||
20 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
20 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *userFont
|
||||
|
||||
21 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
21 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
22 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
22 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *Font
|
||||
|
||||
23 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*"
|
||||
23 "-adobe-helvetica-medium-r-normal--10-*"
|
||||
$ *FontSet
|
||||
|
||||
24 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*"
|
||||
24 "-adobe-helvetica-medium-r-normal--10-*"
|
||||
@@ -62,18 +62,18 @@ $ NumFonts
|
||||
$ Set of SystemFont
|
||||
|
||||
4 "Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:"
|
||||
$ Set of UserFont
|
||||
|
||||
5 "Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:"
|
||||
|
||||
@@ -104,16 +104,16 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
|
||||
17 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
17 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
|
||||
18 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
18 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
|
||||
19 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
19 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ Dtwm*icon*fontList
|
||||
|
||||
20 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
20 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Renommer
|
||||
@@ -35,73 +35,73 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
|
||||
1 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
1 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
2 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
2 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
3 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
3 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *systemFont
|
||||
|
||||
4 "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
4 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *userFont
|
||||
|
||||
5 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
5 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
6 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:"
|
||||
6 "-adobe-helvetica-medium-r-normal--14-*:"
|
||||
$ *Font
|
||||
|
||||
7 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"
|
||||
7 "-adobe-helvetica-medium-r-normal--14-*"
|
||||
$ *FontSet
|
||||
|
||||
8 "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"
|
||||
8 "-adobe-helvetica-medium-r-normal--14-*"
|
||||
$ *FontList
|
||||
|
||||
9 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
9 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
10 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
10 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
11 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
11 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *systemFont
|
||||
|
||||
12 "-dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
12 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *userFont
|
||||
|
||||
13 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
13 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
14 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:"
|
||||
14 "-adobe-helvetica-medium-r-normal--12-*:"
|
||||
$ *Font
|
||||
|
||||
15 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*"
|
||||
15 "-adobe-helvetica-medium-r-normal--12-*"
|
||||
$ *FontSet
|
||||
|
||||
16 "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*"
|
||||
16 "-adobe-helvetica-medium-r-normal--12-*"
|
||||
$ *FontList
|
||||
|
||||
17 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
17 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *XmText*FontList
|
||||
|
||||
18 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
18 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *XmTextField*FontList
|
||||
|
||||
19 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
19 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *systemFont
|
||||
|
||||
20 "-dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
20 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *userFont
|
||||
|
||||
21 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
21 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *DtEditor*textFontList
|
||||
|
||||
22 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:"
|
||||
22 "-adobe-helvetica-medium-r-normal--10-*:"
|
||||
$ *Font
|
||||
|
||||
23 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*"
|
||||
23 "-adobe-helvetica-medium-r-normal--10-*"
|
||||
$ *FontSet
|
||||
|
||||
24 "-dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*"
|
||||
24 "-adobe-helvetica-medium-r-normal--10-*"
|
||||
@@ -56,17 +56,17 @@ $ NumFonts
|
||||
3 7
|
||||
$ Set of SystemFont
|
||||
4 Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
$ Set of UserFont
|
||||
5 Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
|
||||
@@ -87,13 +87,13 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Cambiare nome
|
||||
@@ -32,50 +32,50 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
1 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
1 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmText*FontList
|
||||
2 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmTextField*FontList
|
||||
3 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
3 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *systemFont
|
||||
4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
4 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *userFont
|
||||
5 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
5 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
6 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmText*FontList
|
||||
10 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
10 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmTextField*FontList
|
||||
11 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
11 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *systemFont
|
||||
12 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
12 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *userFont
|
||||
13 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
13 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
14 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
16 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmText*FontList
|
||||
18 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmTextField*FontList
|
||||
19 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *systemFont
|
||||
20 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *userFont
|
||||
21 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
21 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
22 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--10-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--10-*
|
||||
@@ -56,17 +56,17 @@ $ NumFonts
|
||||
3 7
|
||||
$ Set of SystemFont
|
||||
4 Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
$ Set of UserFont
|
||||
5 Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
|
||||
@@ -45,11 +45,11 @@ $ VersionDialog_popup*columns = 40 for Single-byte
|
||||
$ 20 for Multi-byte
|
||||
6 20
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
7 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
7 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
8 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
8 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
9 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
10 dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
$ *
|
||||
@@ -81,13 +81,13 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 名前の変更
|
||||
@@ -32,50 +32,50 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
1 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
1 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmText*FontList
|
||||
2 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmTextField*FontList
|
||||
3 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
3 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *systemFont
|
||||
4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
4 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *userFont
|
||||
5 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
5 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
6 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmText*FontList
|
||||
10 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
10 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmTextField*FontList
|
||||
11 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
11 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *systemFont
|
||||
12 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
12 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *userFont
|
||||
13 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
13 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
14 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
16 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmText*FontList
|
||||
18 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmTextField*FontList
|
||||
19 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *systemFont
|
||||
20 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *userFont
|
||||
21 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
21 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
22 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--10-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--10-*
|
||||
@@ -247,11 +247,11 @@ $
|
||||
$
|
||||
$ Messages 60 - 63 are font lists.
|
||||
$
|
||||
$ Message 60 - XmMonthPanel*fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
$ Message 60 - XmMonthPanel*fontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
$
|
||||
60 -dt-interface system-medium-r-normal-m*ksc*:
|
||||
$
|
||||
$ Message 61 - canvas*XmPushButton.fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
$ Message 61 - canvas*XmPushButton.fontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
$
|
||||
61 -dt-interface system-medium-r-normal-m*ksc*:
|
||||
$
|
||||
@@ -259,7 +259,7 @@ $ Message 62 - Font list to use to render date in the icon.
|
||||
$
|
||||
62 -dt-interface system-medium-r-normal-m*ksc*:
|
||||
$
|
||||
$ Message 63 - labelForm*fontList: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
$ Message 63 - labelForm*fontList: -adobe-helvetica-medium-r-normal--10-*:
|
||||
$
|
||||
63 -dt-interface system-medium-r-normal-m*ksc*:
|
||||
$
|
||||
|
||||
@@ -46,16 +46,16 @@ $ 20 for Multi-byte
|
||||
6 20
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
$ 7 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
7 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
7 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
$ 8 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
8 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
8 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
$ 9 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
9 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
$ 10 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
10 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
10 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *
|
||||
$ *
|
||||
$ * Specify the default backdrop for all workspace. This backdrop will
|
||||
@@ -86,16 +86,16 @@ $ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
$ 17 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
$ 18 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
$ 19 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
$ 20 -hp-batang-medium-r-normal--16-*-c-*:
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 이름 바꾸기
|
||||
@@ -44,11 +44,11 @@ $ *userFont
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
$ 8
|
||||
$ -hp-batang-medium-r-normal--16-*-c-*-ksc5601.1987-1
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
$ *XmText*FontList
|
||||
@@ -62,11 +62,11 @@ $ *userFont
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
$ 16 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
$ 16 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ -hp-batang-medium-r-normal--16-*-c-*-ksc5601.1987-1
|
||||
16 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
$ *XmText*FontList
|
||||
@@ -80,8 +80,8 @@ $ *userFont
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
$ 24 -hp-batang-medium-r-normal--16-*-c-*-ksc5636.1989-0,\
|
||||
$ -hp-batang-medium-r-normal--16-*-c-*-ksc5601.1987-1
|
||||
24 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--12-*
|
||||
@@ -77,8 +77,8 @@ $ * High resolution displays
|
||||
2806 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2807 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2808 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2809 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2810 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2809 -adobe-helvetica-medium-r-normal--14-*
|
||||
2810 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ * Low resolution displays
|
||||
2811 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
2812 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
@@ -89,8 +89,8 @@ $ * Low resolution displays
|
||||
2817 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
2818 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
2819 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-ksc*-*:
|
||||
2820 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
2821 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
2820 -adobe-helvetica-medium-r-normal--12-*
|
||||
2821 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ * Medium resolution displays
|
||||
2822 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2823 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
@@ -101,5 +101,5 @@ $ * Medium resolution displays
|
||||
2828 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2829 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2830 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-ksc*-*:
|
||||
2831 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2832 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2831 -adobe-helvetica-medium-r-normal--14-*
|
||||
2832 -adobe-helvetica-medium-r-normal--14-*
|
||||
@@ -56,17 +56,17 @@ $ NumFonts
|
||||
3 7
|
||||
$ Set of SystemFont
|
||||
4 Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
$ Set of UserFont
|
||||
5 Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
@@ -81,13 +81,13 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 Byt namn
|
||||
@@ -32,50 +32,50 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
1 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
1 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmText*FontList
|
||||
2 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmTextField*FontList
|
||||
3 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
3 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *systemFont
|
||||
4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
4 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *userFont
|
||||
5 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
5 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
6 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmText*FontList
|
||||
10 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
10 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmTextField*FontList
|
||||
11 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
11 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *systemFont
|
||||
12 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
12 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *userFont
|
||||
13 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
13 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
14 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
16 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmText*FontList
|
||||
18 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmTextField*FontList
|
||||
19 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *systemFont
|
||||
20 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *userFont
|
||||
21 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
21 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
22 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--10-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--10-*
|
||||
@@ -231,8 +231,8 @@ $
|
||||
$ See the CDE Help Developer's Guide for more information on how
|
||||
$ to add a rich set of font resources for a specific locale.
|
||||
$
|
||||
39 *.6.*.*.*.zh_CN.EUC-CN: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
*.8.*.*.*.zh_CN.EUC-CN: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
*.10.*.*.*.zh_CN.EUC-CN: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
*.12.*.*.*.zh_CN.EUC-CN: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
39 *.6.*.*.*.zh_CN.EUC-CN: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
*.8.*.*.*.zh_CN.EUC-CN: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
*.10.*.*.*.zh_CN.EUC-CN: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
*.12.*.*.*.zh_CN.EUC-CN: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
*.14.*.*.*.zh_CN.EUC-CN: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:
|
||||
@@ -56,17 +56,17 @@ $ NumFonts
|
||||
3 7
|
||||
$ Set of SystemFont
|
||||
4 Dtstyle*SystemFont1: -dt-interface system-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont3: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont4: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*SystemFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*SystemFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*SystemFont5: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont6: -dt-interface system-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*SystemFont7: -dt-interface system-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
$ Set of UserFont
|
||||
5 Dtstyle*UserFont1: -dt-interface user-medium-r-normal-xxs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont3: -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont4: -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont2: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
Dtstyle*UserFont3: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
Dtstyle*UserFont4: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
Dtstyle*UserFont5: -dt-interface user-medium-r-normal-l*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont6: -dt-interface user-medium-r-normal-xl*-*-*-*-*-*-*-*-*:\n\
|
||||
Dtstyle*UserFont7: -dt-interface user-medium-r-normal-xxl*-*-*-*-*-*-*-*-*:
|
||||
@@ -81,13 +81,13 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ Dtwm*FrontPanel*highResFontList
|
||||
17 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ Dtwm*FrontPanel*mediumResFontList
|
||||
18 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
18 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ Dtwm*FrontPanel*lowResFontList
|
||||
19 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
19 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ Dtwm*icon*fontList
|
||||
20 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--12-*:
|
||||
|
||||
$ Dtwm*instantTitleDialogShell.title
|
||||
21 换名
|
||||
@@ -32,50 +32,50 @@ $ These are not messages, but locale dependent values.
|
||||
$ ----------------------------------------------------------------------------
|
||||
$
|
||||
$ *FontList
|
||||
1 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
1 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *XmText*FontList
|
||||
2 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
$ *XmTextField*FontList
|
||||
3 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
$ *systemFont
|
||||
4 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
4 -adobe-helvetica-medium-r-normal--14-*:
|
||||
$ *userFont
|
||||
5 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *XmText*FontList
|
||||
10 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
$ *XmTextField*FontList
|
||||
11 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
$ *systemFont
|
||||
12 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
12 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *userFont
|
||||
13 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
16 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
16 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
17 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *XmText*FontList
|
||||
18 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-gb*-*:
|
||||
$ *XmTextField*FontList
|
||||
19 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-gb*-*:
|
||||
$ *systemFont
|
||||
20 -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:
|
||||
20 -adobe-helvetica-medium-r-normal--10-*:
|
||||
$ *userFont
|
||||
21 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-gb*-*:
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-gb*-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--10-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-xs*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--10-*
|
||||
@@ -64,43 +64,43 @@ $
|
||||
$ *XmFileSelectionBox*XmLabelGadget.fontList
|
||||
$ This is not a message, but locale dependent values. See sys.font.tmsg...
|
||||
$
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *
|
||||
$ * L10N added following.
|
||||
$ *
|
||||
$ * High resolution displays
|
||||
2800 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2801 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2802 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2800 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2801 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2802 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2803 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2804 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2805 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2806 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2806 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2807 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2808 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2809 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2810 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2809 -adobe-helvetica-medium-r-normal--14-*
|
||||
2810 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ * Low resolution displays
|
||||
2811 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
2812 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
2813 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
2811 -adobe-helvetica-medium-r-normal--12-*:
|
||||
2812 -adobe-helvetica-medium-r-normal--12-*:
|
||||
2813 -adobe-helvetica-medium-r-normal--12-*:
|
||||
2814 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
2815 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
2816 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
2817 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
2817 -adobe-helvetica-medium-r-normal--12-*:
|
||||
2818 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
2819 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-gb*-*:
|
||||
2820 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
2821 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
2820 -adobe-helvetica-medium-r-normal--12-*
|
||||
2821 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ * Medium resolution displays
|
||||
2822 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2823 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2824 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2822 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2823 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2824 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2825 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2826 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2827 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2828 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:
|
||||
2828 -adobe-helvetica-medium-r-normal--14-*:
|
||||
2829 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2830 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-gb*-*:
|
||||
2831 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2832 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2831 -adobe-helvetica-medium-r-normal--14-*
|
||||
2832 -adobe-helvetica-medium-r-normal--14-*
|
||||
@@ -231,8 +231,8 @@ $
|
||||
$ See the CDE Help Developer's Guide for more information on how
|
||||
$ to add a rich set of font resources for a specific locale.
|
||||
$
|
||||
39 *.6.*.*.*.zh_TW.EUC-TW: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
*.8.*.*.*.zh_TW.EUC-TW: -dt-interface system-medium-r-normal-xs*-*-*-*-*-*-*-*-*:\n\
|
||||
*.10.*.*.*.zh_TW.EUC-TW: -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:\n\
|
||||
*.12.*.*.*.zh_TW.EUC-TW: -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*:\n\
|
||||
39 *.6.*.*.*.zh_TW.EUC-TW: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
*.8.*.*.*.zh_TW.EUC-TW: -adobe-helvetica-medium-r-normal--10-*:\n\
|
||||
*.10.*.*.*.zh_TW.EUC-TW: -adobe-helvetica-medium-r-normal--12-*:\n\
|
||||
*.12.*.*.*.zh_TW.EUC-TW: -adobe-helvetica-medium-r-normal--14-*:\n\
|
||||
*.14.*.*.*.zh_TW.EUC-TW: -dt-interface system-medium-r-normal-l*-*-*-*-*-*-*-*-*:
|
||||
@@ -44,10 +44,10 @@ $ *userFont
|
||||
$ *DtEditor*textFontList
|
||||
6 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
$ *Font
|
||||
7 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
7 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
$ 8
|
||||
8 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
8 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
9 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
$ *XmText*FontList
|
||||
@@ -61,10 +61,10 @@ $ *userFont
|
||||
$ *DtEditor*textFontList
|
||||
14 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
$ *Font
|
||||
15 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
15 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontSet
|
||||
$ 16 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
16 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
$ 16 -adobe-helvetica-medium-r-normal--14-*
|
||||
16 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ *FontList
|
||||
17 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
$ *XmText*FontList
|
||||
@@ -78,6 +78,6 @@ $ *userFont
|
||||
$ *DtEditor*textFontList
|
||||
22 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
$ *Font
|
||||
23 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
23 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ *FontSet
|
||||
24 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
24 -adobe-helvetica-medium-r-normal--12-*
|
||||
@@ -64,7 +64,7 @@ $
|
||||
$ *XmFileSelectionBox*XmLabelGadget.fontList
|
||||
$ This is not a message, but locale dependent values. See sys.font.tmsg...
|
||||
$
|
||||
9 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-*-*:
|
||||
9 -adobe-helvetica-medium-r-normal--12-*:
|
||||
$ *
|
||||
$ * L10N added following.
|
||||
$ *
|
||||
@@ -78,8 +78,8 @@ $ * High resolution displays
|
||||
2806 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2807 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2808 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2809 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2810 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2809 -adobe-helvetica-medium-r-normal--14-*
|
||||
2810 -adobe-helvetica-medium-r-normal--14-*
|
||||
$ * Low resolution displays
|
||||
2811 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
2812 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
@@ -90,8 +90,8 @@ $ * Low resolution displays
|
||||
2817 -dt-interface system-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
2818 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
2819 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-cns*-*:
|
||||
2820 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
2821 -dt-interface user-medium-r-normal-s*-*-*-*-*-*-*-*-*
|
||||
2820 -adobe-helvetica-medium-r-normal--12-*
|
||||
2821 -adobe-helvetica-medium-r-normal--12-*
|
||||
$ * Medium resolution displays
|
||||
2822 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2823 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
@@ -102,5 +102,5 @@ $ * Medium resolution displays
|
||||
2828 -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2829 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2830 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-cns*-*:
|
||||
2831 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2832 -dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*
|
||||
2831 -adobe-helvetica-medium-r-normal--14-*
|
||||
2832 -adobe-helvetica-medium-r-normal--14-*
|
||||
Reference in new issue
Block a user