示例#1
0
文件: main.c 项目: kuailexs/jwm
/** Initialize data structures.
 * This is called before the X connection is opened.
 */
void Initialize(void)
{

   InitializeBackgrounds();
   InitializeBorders();
   InitializeClients();
   InitializeClock();
   InitializeColors();
   InitializeCommands();
   InitializeCursors();
   InitializeDesktops();
#ifndef DISABLE_CONFIRM
   InitializeDialogs();
#endif
   InitializeDock();
   InitializeFonts();
   InitializeGroups();
   InitializeHints();
   InitializeIcons();
   InitializeKeys();
   InitializePager();
   InitializePlacement();
   InitializePopup();
   InitializeRootMenu();
   InitializeScreens();
   InitializeSettings();
   InitializeSwallow();
   InitializeTaskBar();
   InitializeTray();
   InitializeTrayButtons();
}
COwnerDrawnListControl::COwnerDrawnListControl(LPCTSTR name, int rowHeight)
    : CSortingListControl(name)
    , m_rowHeight(rowHeight)
    , m_showGrid(false)
    , m_showStripes(false)
    , m_showFullRowSelection(false)
{
    ASSERT(rowHeight > 0);
    InitializeColors();
}
void COwnerDrawnListControl::SysColorChanged()
{
    InitializeColors();
}