winclock.h 1.1 KB

1234567891011121314151617181920212223242526
  1. /*
  2. * Clock (winclock.h)
  3. *
  4. * Copyright 1998 by Marcel Baur <mbaur@g26.ethz.ch>
  5. * This file is essentially rolex.c by Jim Peterson.
  6. * Please see my winclock.c and/or his rolex.c for references.
  7. *
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2.1 of the License, or (at your option) any later version.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with this library; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  22. */
  23. void AnalogClock(HDC dc, int X, int Y, BOOL bSeconds, BOOL border);
  24. HFONT SizeFont(HDC dc, int x, int y, BOOL bSeconds, const LOGFONTW* font);
  25. void DigitalClock(HDC dc, int X, int Y, BOOL bSeconds, HFONT font);