Initial commit

This commit is contained in:
Sasha Koshka
2023-11-03 17:59:24 -04:00
commit 344c3b8431
32 changed files with 838 additions and 0 deletions

13
libXmd/include/Xmd/Icon.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _XmdIcon_h
#define _XmdIcon_h
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
#include <Xm/Xm.h>
/* XmdLoadBitmapIcon is a macro that loads an icon with the specified name. That Icon must
be #include'd in your code somewhere. The name parameter must be a token, not a string. */
#define XmdLoadBitmapIcon(widget, name) _XmdLoadBitmapIcon(widget, name##_bits, name##_width, name##_height)
Pixmap _XmdLoadBitmapIcon (Widget widget, unsigned char *bits, int width, int height);
#endif

View File

@@ -0,0 +1,13 @@
#ifndef _XmdLauncher_h
#define _XmdLauncher_h
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
#include <Xm/Xm.h>
typedef struct {
Pixmap icon;
const char *command;
} XmdLauncher;
#endif