CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/functions_identify.c File Reference
#include "ctwm.h"
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xatom.h>
#include "ctopts.h"
#include "drawing.h"
#include "functions.h"
#include "functions_internal.h"
#include "icons.h"
#include "otp.h"
#include "r_area.h"
#include "r_layout.h"
#include "screen.h"
#include "version.h"
#include "vscreen.h"
Include dependency graph for functions_identify.c:

Go to the source code of this file.

Macros

#define INFO_LINES   30
#define INFO_SIZE   200
#define CHKN

Functions

static void Identify (TwmWindow *t)
void f_identify_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
void f_version_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
void draw_info_window (void)

Variables

static char Info [30][200]

Macro Definition Documentation

◆ CHKN

#define CHKN
Value:
do { \
if(n > (INFO_LINES - 3)) { \
fprintf(stderr, "Overflowing Info[] on line %d\n", n); \
sprintf(Info[n++], "(overflow)"); \
goto info_dismiss; \
} \
} while(0)
static char Info[30][200]
#define INFO_LINES

Referenced by Identify().

◆ INFO_LINES

#define INFO_LINES   30

Definition at line 26 of file functions_identify.c.

◆ INFO_SIZE

#define INFO_SIZE   200

Definition at line 27 of file functions_identify.c.

Referenced by Identify().

Function Documentation

◆ draw_info_window()

void draw_info_window ( void )

Definition at line 274 of file functions_identify.c.

References dpy, Draw3DBorder(), FB, Info, off, and Scr.

Referenced by HandleExpose().

◆ f_identify_impl()

void f_identify_impl ( int func,
void * action,
Window w,
TwmWindow * tmp_win,
XEvent * eventp,
int context,
bool pulldown )

Definition at line 40 of file functions_identify.c.

References Identify().

◆ f_version_impl()

void f_version_impl ( int func,
void * action,
Window w,
TwmWindow * tmp_win,
XEvent * eventp,
int context,
bool pulldown )

Definition at line 45 of file functions_identify.c.

References Identify().

◆ Identify()

Variable Documentation

◆ Info

char Info[30][200]
static

Definition at line 28 of file functions_identify.c.

Referenced by draw_info_window(), and Identify().