MCDE: dtphoto, dtbar, dtsystemsettings, dtwm, icons and thumbnails; recipes follow the host-flag settings

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
lotherkandClaude Sonnet 5.5 committed 2026-11-22 22:01:24 +00:00
1 parent 6d39469c4f
commit 08f37a293b
29 files changed
+7169 -1871

No files matched your search

+3 -3
View File
@@ -1,5 +1,5 @@
$NetBSD$
BLAKE2s (afpfs-ng-0.8.1.tar.gz) = 342df933226a6a81f99199975aa28c220735868488e201bf32a1d13bf8be5142
SHA512 (afpfs-ng-0.8.1.tar.gz) = 0abcb76e32d11c330eab357a7ab8feeccede68953ed6b8400a282a098c82105476f4b052f8c1b69e96f91a2a22657f9dacc5d35f5a65b72112ecb7addbd94751
Size (afpfs-ng-0.8.1.tar.gz) = 460185 bytes
BLAKE2s (afpfs-ng-0.8.1.tar.gz) = 618b25240d2e1d483ea25bad52877b1abb01eb05384e1172ba62cac2c51f4a8e
SHA512 (afpfs-ng-0.8.1.tar.gz) = af7d528a8886748dc71a739555cf6fca18d0cd9efb740b260759838b7dce66e1d668d93755e743da816f88ccc7226c48029764e1864c9b3a0262b08bbdc555f8
Size (afpfs-ng-0.8.1.tar.gz) = 460106 bytes
+1 -1
View File
@@ -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
+5 -1
View File
@@ -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
View File
@@ -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;
}
File diff suppressed because it is too large. Load diff
+132
View File
@@ -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 */
File diff suppressed because it is too large. Load diff
+15 -7
View File
@@ -75,7 +75,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 +85,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 +100,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 +134,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
+3 -3
View File
@@ -1,5 +1,5 @@
$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
BLAKE2s (mcde-0.1.0.tar.gz) = 6f45b4311eee148ede12dedfef4948211a1f682ca82f2cedd36b09a7896c0efa
SHA512 (mcde-0.1.0.tar.gz) = fc0dd9bd58f9b1901d37c772d241b7fad64033f2d5cfc205957d4eea217778ab429487dfb7bccee3824fc4b7506cbb146e9c5bf60d51a8d61a04053d01af7371
Size (mcde-0.1.0.tar.gz) = 66938753 bytes
+4 -1
View File
@@ -149,8 +149,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").
+3 -3
View File
@@ -1,5 +1,5 @@
$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
BLAKE2s (mcde-0.1.0.tar.gz) = 6f45b4311eee148ede12dedfef4948211a1f682ca82f2cedd36b09a7896c0efa
SHA512 (mcde-0.1.0.tar.gz) = fc0dd9bd58f9b1901d37c772d241b7fad64033f2d5cfc205957d4eea217778ab429487dfb7bccee3824fc4b7506cbb146e9c5bf60d51a8d61a04053d01af7371
Size (mcde-0.1.0.tar.gz) = 66938753 bytes
+16 -13
View File
@@ -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:
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
@@ -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) \
@@ -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,6 +29,8 @@ const Pane panes[] = {
"screensaver screen saver bildschirmschoner" },
{ "language", "Language", CAT_PERSONAL, "DtI18N.pm", PANE_OWN,
NULL, "language sprache locale region formats datum" },
{ "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" },
@@ -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) */
+27 -2
View File
@@ -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;
+27 -1
View File
@@ -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);
}
+49 -14
View File
@@ -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);
@@ -415,7 +443,13 @@ 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);
} else
XUnmapWindow(deskDpy, it->win);
}
@@ -1956,6 +1990,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))
+34 -20
View File
@@ -56,6 +56,37 @@
#include <Dt/Icon.h>
#include <Dt/Control.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 +406,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++;
@@ -936,15 +958,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++;
+65 -33
View File
@@ -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
View File
@@ -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.....",
};
+65 -33
View File
@@ -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..........",
};
+65 -33
View File
@@ -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
View File
@@ -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............................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
"................................................................",
};
+65 -33
View File
@@ -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",
};
@@ -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.