#include <X11/Intrinsic.h>#include "Atoms.h"Include dependency graph for Atoms.c:

Go to the source code of this file.
Data Structures | |
| struct | _DisplayRec |
| struct | _AtomRec |
Defines | |
| #define | STATIC static |
| #define | DeclareAtom(atom, text) |
Typedefs | |
| typedef _DisplayRec | DisplayRec |
Functions | |
| DeclareAtom (XA_ATOM_PAIR,"ATOM_PAIR") | |
| char * | XmuNameOfAtom (AtomPtr atom_ptr) |
| Atom | XmuInternAtom (Display *d, AtomPtr atom_ptr) |
| char * | XmuGetAtomName (Display *d, Atom atom) |
| void | XmuInternStrings (Display *d, register String *names, register Cardinal count, register Atom *atoms) |
| #define DeclareAtom | ( | atom, | |||
| text | ) |
| typedef struct _DisplayRec DisplayRec |
| DeclareAtom | ( | XA_ATOM_PAIR | , | |
| "ATOM_PAIR" | ||||
| ) |
| char* XmuGetAtomName | ( | Display * | d, | |
| Atom | atom | |||
| ) |
| Atom XmuInternAtom | ( | Display * | d, | |
| AtomPtr | atom_ptr | |||
| ) |
Definition at line 121 of file Atoms.c.
References _DisplayRec::atom, _DisplayRec::dpy, _AtomRec::head, _AtomRec::name, _DisplayRec::next, and NULL.
Referenced by FindFontSelection().
00122 { 00123 DisplayRec* display_rec; 00124 for (display_rec = atom_ptr->head; display_rec != NULL; 00125 display_rec = display_rec->next) { 00126 if (display_rec->dpy == d) 00127 return display_rec->atom; 00128 } 00129 display_rec = XtNew(DisplayRec); 00130 display_rec->next = atom_ptr->head; 00131 atom_ptr->head = display_rec; 00132 display_rec->dpy = d; 00133 display_rec->atom = XInternAtom(d, atom_ptr->name, False); 00134 return display_rec->atom; 00135 }
Here is the caller graph for this function:

| void XmuInternStrings | ( | Display * | d, | |
| register String * | names, | |||
| register Cardinal | count, | |||
| register Atom * | atoms | |||
| ) |
Definition at line 147 of file Atoms.c.
Referenced by _GetSelection(), and _OwnSelection().
Here is the call graph for this function:

Here is the caller graph for this function:

| char* XmuNameOfAtom | ( | AtomPtr | atom_ptr | ) |
Definition at line 114 of file Atoms.c.
References _AtomRec::name.
Referenced by FindFontSelection().
00115 { 00116 return atom_ptr->name; 00117 }
Here is the caller graph for this function:

1.5.1