|
Revision 4196, 1.7 kB
(checked in by miyoshi, 2 years ago)
|
Sync up with Emacs CVS HEAD.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
#include "copyright.h" |
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
#ifndef _XMenuInternal_h_ |
|---|
| 18 |
#define _XMenuInternal_h_ |
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
#include <stdio.h> |
|---|
| 24 |
#include <X11/Xlib.h> |
|---|
| 25 |
#include "X10.h" |
|---|
| 26 |
#include "XMenu.h" |
|---|
| 27 |
|
|---|
| 28 |
#define min(x, y) ((x) <= (y) ? (x) : (y)) |
|---|
| 29 |
#define max(x, y) ((x) >= (y) ? (x) : (y)) |
|---|
| 30 |
#define abs(a) ((a) < 0 ? -(a) : (a)) |
|---|
| 31 |
|
|---|
| 32 |
#define _X_FAILURE -1 |
|---|
| 33 |
|
|---|
| 34 |
#define _SUCCESS 1 |
|---|
| 35 |
#define _FAILURE -1 |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
extern int (*_XMEventHandler)(); |
|---|
| 41 |
|
|---|
| 42 |
#ifndef Pixel |
|---|
| 43 |
#define Pixel unsigned long |
|---|
| 44 |
#endif |
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
int _XMWinQueInit(); |
|---|
| 50 |
int _XMWinQueAddPane(); |
|---|
| 51 |
int _XMWinQueAddSelection(); |
|---|
| 52 |
int _XMWinQueFlush(); |
|---|
| 53 |
XMPane *_XMGetPanePtr(); |
|---|
| 54 |
XMSelect *_XMGetSelectionPtr(); |
|---|
| 55 |
int _XMRecomputeGlobals(); |
|---|
| 56 |
int _XMRecomputePane(); |
|---|
| 57 |
int _XMRecomputeSelection(); |
|---|
| 58 |
int _XMTransToOrigin(); |
|---|
| 59 |
int _XMRefreshPane(); |
|---|
| 60 |
int _XMRefreshSelections(); |
|---|
| 61 |
int _XMHighlightSelection(); |
|---|
| 62 |
|
|---|
| 63 |
#endif |
|---|
| 64 |
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|