home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / sswitchxp152.exe / source / SpeedswitchXP / GeneralOptions.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-06-14  |  2.1 KB  |  76 lines

  1. /*
  2.    SpeedswitchXP V1.5
  3.    - Windows XP CPU Frequency Control for Notebooks -
  4.  
  5.    Copyright(c) 2002-2006 Christian Diefer
  6.  
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License version 2 as 
  9.    published by the Free Software Foundation.
  10.    
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.    
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. #pragma once
  22.  
  23. #include "ColorComboEx.h"
  24.  
  25. // CGeneralOptions dialog
  26.  
  27. class CGeneralOptions : public CDialog
  28. {
  29.     DECLARE_DYNAMIC(CGeneralOptions)
  30. public:
  31.     CGeneralOptions(CWnd* pParent = NULL);   // standard constructor
  32.     virtual ~CGeneralOptions();
  33.   BOOL m_bAutostart;
  34.   BOOL m_bDebugmode;
  35.   BOOL m_bMinimizeOnClose;
  36.   BOOL m_bCheckStatus;
  37.   int m_iCheckInterval;
  38.   BOOL m_bReactivate;
  39.   BOOL m_bReadCPUSpeed;
  40.   int m_iSpeedMethod;
  41.   BOOL m_bReadCPULoad;
  42.   BOOL m_bShowDiagram;
  43.   int m_iCPUInterval;
  44.   int m_iSpeedScaling;
  45.   int m_iBattMethod;
  46.   BOOL m_bShowBattery;
  47.   int m_iBatteryIndicator;
  48.   BOOL m_bChargeIndicator;
  49.   BOOL m_bSpeedIcon;
  50.   BOOL m_bLoadIcon;
  51.   CColorComboEx m_cIconColor1;
  52.   CColorComboEx m_cIconColor2;
  53.   int m_iIconColor1;
  54.   int m_iIconColor2;
  55.   BOOL m_bIconTransparent;
  56.  
  57. // Overrides
  58.  
  59. // Dialog Data
  60.   enum { IDD = IDD_GENERALOPT };
  61.  
  62. protected:
  63.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  64.     virtual BOOL OnInitDialog();
  65.   afx_msg void OnBnClickedCheck2();
  66.   afx_msg void OnBnClickedCheck4();
  67.   afx_msg void OnBnClickedCheck6();
  68.   afx_msg void OnBnClickedCheck8();
  69.   afx_msg void OnBnClickedCheck7();
  70.   afx_msg void OnBnClickedShowbatt();
  71.  
  72.     DECLARE_MESSAGE_MAP()
  73. public:
  74.   afx_msg void OnBnClickedTransparent();
  75. };
  76.