main.h 1.18 KB
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
1 2 3 4
/*
 * Clock (main.h)
 *
 * Copyright 1998 Marcel Baur <mbaur@g26.ethz.ch>
5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Alexandre Julliard's avatar
Alexandre Julliard committed
19 20
 */

21 22
#include "clock_res.h"

Alexandre Julliard's avatar
Alexandre Julliard committed
23
#define MAX_STRING_LEN      255
24
#define DEFAULTICON OIC_WINLOGO
Alexandre Julliard's avatar
Alexandre Julliard committed
25 26 27

typedef struct
{
28 29
  LOGFONT logfont;
  HFONT   hFont;
Alexandre Julliard's avatar
Alexandre Julliard committed
30 31 32 33 34 35 36 37
  HANDLE  hInstance;
  HWND    hMainWnd;
  HMENU   hMainMenu;

  BOOL    bAnalog;
  BOOL    bAlwaysOnTop;
  BOOL    bWithoutTitle;
  BOOL    bSeconds;
38
  BOOL    bDate;
Alexandre Julliard's avatar
Alexandre Julliard committed
39 40 41 42 43 44

  int     MaxX;
  int     MaxY;
} CLOCK_GLOBALS;

extern CLOCK_GLOBALS Globals;