~ubuntu-branches/ubuntu/oneiric/jugglemaster/oneiric

« back to all changes in this revision

Viewing changes to src/jmpocket/MFCUtil.h

  • Committer: Bazaar Package Importer
  • Author(s): Helmut Grohne
  • Date: 2007-11-06 09:42:28 UTC
  • Revision ID: james.westby@ubuntu.com-20071106094228-c2j8ikln6qvgkmon
Tags: upstream-0.4
ImportĀ upstreamĀ versionĀ 0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * JMPocket - JuggleMaster for Pocket PC
 
3
 * Version 1.03
 
4
 * (C) Per Johan Groland 2002-2004
 
5
 *
 
6
 * Using JMLib 2.0 (C) Per Johan Groland 2000-2002
 
7
 * Based on JuggleMaster Version 1.60
 
8
 * Copyright (C) 1995-1996 Ken Matsuoka
 
9
 *
 
10
 * JMPocket is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU General Public License as published
 
12
 * by the Free Software Foundation; either version 2 of the License,
 
13
 * or (at your option) any later version.
 
14
 *
 
15
 * This program is distributed in the hope that it will be useful, but
 
16
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 
18
 * General Public License for more details.
 
19
 *
 
20
 */
 
21
 
 
22
#ifndef UTIL__HDR
 
23
#define UTIL__HDR
 
24
 
 
25
#include <afxwin.h>         // MFC core and standard components
 
26
#include <afxext.h>         // MFC extensions
 
27
 
 
28
#include <atlconv.h>        // Unicode <> ASCII conversion
 
29
 
 
30
#if defined(_WIN32_WCE_PSPC) && (_WIN32_WCE >= 300)
 
31
#define SET_HEADER if (m_bFullScreen) SetWindowText(_T("JMPocket"))
 
32
#else
 
33
#define SET_HEADER
 
34
#endif
 
35
 
 
36
void paintDialogHeader(CDC* pDC, const CString &strTitle);
 
37
void messageBox(char* msg);
 
38
void messageBox(TCHAR* msg);
 
39
void messageCallback(char* msg);
 
40
//void setHeader(CDialog* dlg);
 
41
 
 
42
#endif