CTWM
Loading...
Searching...
No Matches
Variables
Window frame bits

These fields are related to the "frame" window; the decoration we put around the application's own window (the thing in TwmWindow.w above) to display borders, titlebars, etc. More...

Variables

Window TwmWindow::frame
 The X window for the overall frame.
 
Window TwmWindow::title_w
 The title bar Window.
 
Window TwmWindow::hilite_wl
 Left hilite window in titlebar.
 
Window TwmWindow::hilite_wr
 Right hilite window in titlebar.
 
Window TwmWindow::lolite_wl
 Left lolite window in titlebar.
 
Window TwmWindow::lolite_wr
 Right lolite window in titlebar.
 
Cursor TwmWindow::curcurs
 Current resize cursor.
 
Pixmap TwmWindow::gray
 Pixmap to which the border is set to when window isn't focused.
 
int TwmWindow::frame_x
 X position on screen of frame.
 
int TwmWindow::frame_y
 Y position on screen of frame.
 
unsigned int TwmWindow::frame_width
 Width of frame.
 
unsigned int TwmWindow::frame_height
 Height of frame.
 
int TwmWindow::frame_bw
 2d border width.
 
int TwmWindow::frame_bw3D
 3d border width.
 
int TwmWindow::actual_frame_x
 Saved frame_x when squeezed.
 
int TwmWindow::actual_frame_y
 Saved frame_y when squeezed.
 
unsigned int TwmWindow::actual_frame_width
 Saved frame_width when squeezed.
 
unsigned int TwmWindow::actual_frame_height
 Saved frame_height when squeezed.
 
int TwmWindow::title_x
 X coord of window title relative to title_w.
 
int TwmWindow::title_y
 Y coord of window title relative to title_w.
 
unsigned int TwmWindow::title_height
 Height of the full title bar.
 
unsigned int TwmWindow::title_width
 Width of the full title bar.
 
int TwmWindow::name_x
 Position of window title text, relative to title_w.
 
unsigned int TwmWindow::name_width
 width of name text
 
int TwmWindow::highlightxl
 Position of hilite_wl and lolite_wl.
 
int TwmWindow::highlightxr
 Position of hilite_wr and lolite_wr.
 
int TwmWindow::rightx
 Position of of right titlebar buttons.
 
TBWindowTwmWindow::titlebuttons
 Button windows in the titlebar.
 
ImageTwmWindow::HiliteImage
 Titlebar hilite backround.
 
ImageTwmWindow::LoliteImage
 Titlebar lolite backround.
 

Detailed Description

These fields are related to the "frame" window; the decoration we put around the application's own window (the thing in TwmWindow.w above) to display borders, titlebars, etc.

Variable Documentation

◆ actual_frame_height

unsigned int TwmWindow::actual_frame_height

Saved frame_height when squeezed.

Definition at line 93 of file twm_window_struct.h.

◆ actual_frame_width

unsigned int TwmWindow::actual_frame_width

Saved frame_width when squeezed.

Definition at line 92 of file twm_window_struct.h.

◆ actual_frame_x

int TwmWindow::actual_frame_x

Saved frame_x when squeezed.

Definition at line 90 of file twm_window_struct.h.

◆ actual_frame_y

int TwmWindow::actual_frame_y

Saved frame_y when squeezed.

Definition at line 91 of file twm_window_struct.h.

◆ curcurs

Cursor TwmWindow::curcurs

Current resize cursor.

This changes depending on where on the frame you are, if we're making them.

See also
ScreenInfo.BorderCursors

Definition at line 66 of file twm_window_struct.h.

◆ frame

Window TwmWindow::frame

◆ frame_bw

int TwmWindow::frame_bw

◆ frame_bw3D

int TwmWindow::frame_bw3D

◆ frame_height

unsigned int TwmWindow::frame_height

◆ frame_width

unsigned int TwmWindow::frame_width

◆ frame_x

int TwmWindow::frame_x

◆ frame_y

int TwmWindow::frame_y

◆ gray

Pixmap TwmWindow::gray

Pixmap to which the border is set to when window isn't focused.

See also
TwmWindow.borderC
SetFocusVisualAttributes()
Todo
See the XXX in SetFocusVisualAttributes()

Definition at line 71 of file twm_window_struct.h.

Referenced by HandleDestroyNotify().

◆ highlightxl

int TwmWindow::highlightxl

Position of hilite_wl and lolite_wl.

Definition at line 144 of file twm_window_struct.h.

◆ highlightxr

int TwmWindow::highlightxr

Position of hilite_wr and lolite_wr.

Definition at line 145 of file twm_window_struct.h.

◆ hilite_wl

Window TwmWindow::hilite_wl

Left hilite window in titlebar.

Definition at line 58 of file twm_window_struct.h.

Referenced by HandleDestroyNotify(), and HandleMapNotify().

◆ hilite_wr

Window TwmWindow::hilite_wr

Right hilite window in titlebar.

Definition at line 59 of file twm_window_struct.h.

Referenced by HandleDestroyNotify(), and HandleMapNotify().

◆ HiliteImage

Image* TwmWindow::HiliteImage

Titlebar hilite backround.

Definition at line 241 of file twm_window_struct.h.

◆ lolite_wl

Window TwmWindow::lolite_wl

Left lolite window in titlebar.

Definition at line 60 of file twm_window_struct.h.

Referenced by HandleDestroyNotify(), and HandleMapNotify().

◆ lolite_wr

Window TwmWindow::lolite_wr

Right lolite window in titlebar.

Definition at line 61 of file twm_window_struct.h.

Referenced by HandleDestroyNotify(), and HandleMapNotify().

◆ LoliteImage

Image* TwmWindow::LoliteImage

Titlebar lolite backround.

Definition at line 242 of file twm_window_struct.h.

◆ name_width

unsigned int TwmWindow::name_width

width of name text

Definition at line 143 of file twm_window_struct.h.

Referenced by apply_window_name().

◆ name_x

int TwmWindow::name_x

Position of window title text, relative to title_w.

Starts from title_x, but may be pushed over due to TitleJustification config.

Definition at line 142 of file twm_window_struct.h.

◆ rightx

int TwmWindow::rightx

Position of of right titlebar buttons.

Definition at line 146 of file twm_window_struct.h.

◆ title_height

unsigned int TwmWindow::title_height

◆ title_w

Window TwmWindow::title_w

The title bar Window.

Definition at line 57 of file twm_window_struct.h.

Referenced by apply_window_name(), HandleButtonPress(), HandleDestroyNotify(), HandleExpose(), and HandleKeyPress().

◆ title_width

unsigned int TwmWindow::title_width

Width of the full title bar.

Definition at line 103 of file twm_window_struct.h.

◆ title_x

int TwmWindow::title_x

X coord of window title relative to title_w.

See also
ComputeTitleLocation()

Definition at line 97 of file twm_window_struct.h.

◆ title_y

int TwmWindow::title_y

Y coord of window title relative to title_w.

See also
ComputeTitleLocation()

Definition at line 100 of file twm_window_struct.h.

◆ titlebuttons

TBWindow* TwmWindow::titlebuttons

Button windows in the titlebar.

Definition at line 212 of file twm_window_struct.h.

Referenced by HandleButtonPress(), HandleDestroyNotify(), and HandleExpose().