CTWM
Loading...
Searching...
No Matches
Data Structures | Enumerations | Functions
/usr/src/RPM/BUILD/ctwm-4.1.0/icons.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Icon
 
struct  IconRegion
 
struct  IconEntry
 

Enumerations

enum  Matchtype {
  match_none , match_list , match_icon_pixmap_hint , match_net_wm_icon ,
  match_unknown_default
}
 

Functions

name_list ** AddIconRegion (const char *geom, RegGravity grav1, RegGravity grav2, int stepx, int stepy, const char *ijust, const char *just, const char *align)
 
void CreateIconWindow (TwmWindow *tmp_win, int def_x, int def_y)
 
void DeleteIconsList (TwmWindow *tmp_win)
 
void DeleteIcon (Icon *icon)
 
void ReleaseIconImage (Icon *icon)
 
void IconUp (TwmWindow *tmp_win)
 
void IconDown (TwmWindow *tmp_win)
 
void PaintIcon (TwmWindow *tmp_win)
 
void ShrinkIconTitle (TwmWindow *tmp_win)
 
void ExpandIconTitle (TwmWindow *tmp_win)
 
int GetIconOffset (Icon *icon)
 
void RedoIcon (TwmWindow *win)
 
void RedoIconName (TwmWindow *win)
 

Enumeration Type Documentation

◆ Matchtype

Enumerator
match_none 
match_list 
match_icon_pixmap_hint 
match_net_wm_icon 
match_unknown_default 

Definition at line 18 of file icons.h.

Function Documentation

◆ AddIconRegion()

name_list ** AddIconRegion ( const char * geom,
RegGravity grav1,
RegGravity grav2,
int stepx,
int stepy,
const char * ijust,
const char * just,
const char * align )

◆ CreateIconWindow()

void CreateIconWindow ( TwmWindow * tmp_win,
int def_x,
int def_y )

◆ DeleteIcon()

void DeleteIcon ( Icon * icon)

Definition at line 814 of file icons.c.

References dpy, PlaceX, ReleaseIconImage(), Icon::w, and Icon::w_not_ours.

Referenced by DeleteIconsList(), and HandleDestroyNotify().

◆ DeleteIconsList()

void DeleteIconsList ( TwmWindow * tmp_win)

Definition at line 782 of file icons.c.

References DeleteIcon(), name_list::next, and PlaceX.

Referenced by HandleDestroyNotify().

◆ ExpandIconTitle()

void ExpandIconTitle ( TwmWindow * tmp_win)

◆ GetIconOffset()

int GetIconOffset ( Icon * icon)

◆ IconDown()

void IconDown ( TwmWindow * tmp_win)

Definition at line 915 of file icons.c.

References FindIconEntry(), mergeEntries(), PlaceX, and prevIconEntry().

Referenced by HandleDestroyNotify(), RedoIcon(), RedoIconName(), ReMapOne(), and Vanish().

◆ IconUp()

void IconUp ( TwmWindow * tmp_win)

◆ PaintIcon()

void PaintIcon ( TwmWindow * tmp_win)

◆ RedoIcon()

void RedoIcon ( TwmWindow * win)

◆ RedoIconName()

void RedoIconName ( TwmWindow * win)

◆ ReleaseIconImage()

void ReleaseIconImage ( Icon * icon)

Definition at line 831 of file icons.c.

References FreeImage(), Icon::image, Icon::match, match_icon_pixmap_hint, and match_net_wm_icon.

Referenced by DeleteIcon(), and HandlePropertyNotify().

◆ ShrinkIconTitle()

void ShrinkIconTitle ( TwmWindow * tmp_win)