NAME

BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOfScreen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, MaxCmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and macros

SYNTAX

unsigned long BlackPixelOfScreen(Screen *_s_c_r_e_e_n); unsigned long WhitePixelOfScreen(Screen *_s_c_r_e_e_n); int CellsOfScreen(Screen *_s_c_r_e_e_n); Colormap DefaultColormapOfScreen(Screen *_s_c_r_e_e_n); int DefaultDepthOfScreen(Screen *_s_c_r_e_e_n); GC DefaultGCOfScreen(Screen *_s_c_r_e_e_n); Visual *DefaultVisualOfScreen(Screen *_s_c_r_e_e_n); int DoesBackingStore(Screen *_s_c_r_e_e_n); Bool DoesSaveUnders(Screen *_s_c_r_e_e_n); Display *DisplayOfScreen(Screen *_s_c_r_e_e_n); int XScreenNumberOfScreen(Screen *_s_c_r_e_e_n); long EventMaskOfScreen(Screen *_s_c_r_e_e_n); int HeightOfScreen(Screen *_s_c_r_e_e_n); int HeightMMOfScreen(Screen *_s_c_r_e_e_n); int MaxCmapsOfScreen(Screen *_s_c_r_e_e_n); int MinCmapsOfScreen(Screen *_s_c_r_e_e_n); int PlanesOfScreen(Screen *_s_c_r_e_e_n); Window RootWindowOfScreen(Screen *_s_c_r_e_e_n); int WidthOfScreen(Screen *_s_c_r_e_e_n); int WidthMMOfScreen(Screen *_s_c_r_e_e_n);

ARGUMENTS

_s_c_r_e_e_n Specifies the appropriate
_S_c_r_e_e_n structure.

DESCRIPTION

The _B_l_a_c_k_P_i_x_e_l_O_f_S_c_r_e_e_n macro returns the black pixel value of the specified screen.

The _W_h_i_t_e_P_i_x_e_l_O_f_S_c_r_e_e_n macro returns the white pixel value of the specified screen.

The _C_e_l_l_s_O_f_S_c_r_e_e_n macro returns the number of colormap cells in the default colormap of the specified screen.

The _D_e_f_a_u_l_t_C_o_l_o_r_m_a_p_O_f_S_c_r_e_e_n macro returns the default colormap of the specified screen.

The _D_e_f_a_u_l_t_D_e_p_t_h_O_f_S_c_r_e_e_n macro returns the default depth of the root window of the specified screen.

The _D_e_f_a_u_l_t_G_C_O_f_S_c_r_e_e_n macro returns the default GC of the specified screen, which has the same depth as the root window of the screen.

The _D_e_f_a_u_l_t_V_i_s_u_a_l_O_f_S_c_r_e_e_n macro returns the default visual of the specified screen.

The _D_o_e_s_B_a_c_k_i_n_g_S_t_o_r_e macro returns _W_h_e_n_M_a_p_p_e_d, _N_o_t_U_s_e_f_u_l, or _A_l_w_a_y_s, which indicate whether the screen supports backing stores.

The _D_o_e_s_S_a_v_e_U_n_d_e_r_s macro returns a Boolean value indicating whether the screen supports save unders.

The _D_i_s_p_l_a_y_O_f_S_c_r_e_e_n macro returns the display of the specified screen.

The _X_S_c_r_e_e_n_N_u_m_b_e_r_O_f_S_c_r_e_e_n function returns the screen index number of the specified screen.

The _E_v_e_n_t_M_a_s_k_O_f_S_c_r_e_e_n macro returns the root event mask of the root window for the specified screen at connection setup.

The _H_e_i_g_h_t_O_f_S_c_r_e_e_n macro returns the height of the specified screen.

The _H_e_i_g_h_t_M_M_O_f_S_c_r_e_e_n macro returns the height of the specified screen in millimeters.

The _M_a_x_C_m_a_p_s_O_f_S_c_r_e_e_n macro returns the maximum number of installed colormaps supported by the specified screen.

The _M_i_n_C_m_a_p_s_O_f_S_c_r_e_e_n macro returns the minimum number of installed colormaps supported by the specified screen.

The _P_l_a_n_e_s_O_f_S_c_r_e_e_n macro returns the number of planes in the root window of the specified screen.

The _R_o_o_t_W_i_n_d_o_w_O_f_S_c_r_e_e_n macro returns the root window of the specified screen.

The _W_i_d_t_h_O_f_S_c_r_e_e_n macro returns the width of the specified screen.

The _W_i_d_t_h_M_M_O_f_S_c_r_e_e_n macro returns the width of the specified screen in millimeters.

SEE ALSO

AllPlanes(3X11), ImageByteOrder(3X11), IsCursorKey(3X11)
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e