mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code cleanup.
This commit is contained in:
parent
e17bd7c9f5
commit
5d2f960552
@ -15,39 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Application/Application.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Application.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.8 2004/06/05 10:50:40 rainy
|
||||
Fixed exports.
|
||||
|
||||
Revision 1.7 2002/07/01 15:22:29 rainy
|
||||
The existance of Litestep is not checked anymore.
|
||||
|
||||
Revision 1.6 2002/05/04 08:08:47 rainy
|
||||
!Bangs can be executed from the exe.
|
||||
|
||||
Revision 1.5 2002/03/31 09:50:56 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.4 2002/01/16 16:03:52 rainy
|
||||
The quotes are removed from the commandline.
|
||||
|
||||
Revision 1.3 2001/09/01 12:55:42 rainy
|
||||
Added RainmeterRefresh declaration.
|
||||
|
||||
Revision 1.2 2001/08/25 17:04:45 rainy
|
||||
Removed all Tray stuff.
|
||||
The correct instance is now given to the DLL.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable : 4996)
|
||||
|
||||
@ -104,7 +71,7 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPCTSTR lpCm
|
||||
int Pos = 0;
|
||||
if(lpCmdLine)
|
||||
{
|
||||
for(int i = 0; i <= wcslen(lpCmdLine); i++)
|
||||
for(size_t i = 0; i <= wcslen(lpCmdLine); i++)
|
||||
{
|
||||
if(lpCmdLine[i] != L'\"') Path[Pos++] = lpCmdLine[i];
|
||||
}
|
||||
|
@ -117,7 +117,9 @@
|
||||
TypeLibraryName=".\x32/Debug/Application.tlb"
|
||||
HeaderFileName=""/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="if not exist ..\testbench\x32\debug\skins (mkdir ..\testbench\x32\debug\skins)
|
||||
xcopy /S /Y ..\Install\Skins ..\testbench\x32\debug\skins"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
@ -180,7 +182,9 @@
|
||||
TypeLibraryName=".\x32/Release/Application.tlb"
|
||||
HeaderFileName=""/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"/>
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="if not exist ..\testbench\x32\release\skins (mkdir ..\testbench\x32\release\skins)
|
||||
xcopy /S /Y ..\Install\Skins ..\testbench\x32\release\skins"/>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"/>
|
||||
<Tool
|
||||
@ -271,9 +275,6 @@
|
||||
<File
|
||||
RelativePath="..\Help\History.htm">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\Todo.txt">
|
||||
</File>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
|
@ -15,32 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/AboutDialog.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: AboutDialog.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/08/13 15:43:19 rainy
|
||||
Added update check.
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2004/03/13 16:13:50 rainy
|
||||
Added support for multiple configs.
|
||||
|
||||
Revision 1.3 2003/12/05 15:50:09 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.2 2002/12/23 14:26:33 rainy
|
||||
Made the dialog resizable.
|
||||
|
||||
Revision 1.1 2002/07/01 15:35:55 rainy
|
||||
Intial version
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,20 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/AboutDialog.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: AboutDialog.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.2 2004/03/13 16:13:50 rainy
|
||||
Added support for multiple configs.
|
||||
|
||||
Revision 1.1 2002/07/01 15:35:54 rainy
|
||||
Intial version
|
||||
|
||||
*/
|
||||
|
||||
#ifndef _ABOUTDIALOG_H_
|
||||
#define _ABOUTDIALOG_H_
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/ConfigParser.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: ConfigParser.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/ConfigParser.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: ConfigParser.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __CONFIGPARSER_H__
|
||||
#define __CONFIGPARSER_H__
|
||||
|
@ -15,23 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Error.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Error.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.3 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.2 2001/10/14 07:30:04 rainy
|
||||
Changed from a static storage to a real class.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "Error.h"
|
||||
|
@ -15,23 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Error.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Error.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.3 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.2 2001/10/14 07:30:04 rainy
|
||||
Changed from a static storage to a real class.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __ERROR_H__
|
||||
#define __ERROR_H__
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Export.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Export.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __EXPORT_H__
|
||||
#define __EXPORT_H__
|
||||
|
@ -15,38 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Litestep.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Litestep.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.4 2004/07/11 17:10:01 rainy
|
||||
Added ResetLoggingFlag.
|
||||
|
||||
Revision 1.3 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.6 2004/01/28 18:05:29 rainy
|
||||
Todo is shown/hidden with OK.
|
||||
|
||||
Revision 1.5 2003/12/20 22:16:06 rainy
|
||||
Added DebugLog
|
||||
|
||||
Revision 1.4 2002/09/08 14:14:54 rainy
|
||||
The name of the log file is the same as the module's name.
|
||||
|
||||
Revision 1.3 2002/09/06 21:44:51 rainy
|
||||
Added logging functions.
|
||||
|
||||
Revision 1.2 2002/08/24 11:10:07 rainy
|
||||
Added support for logging.
|
||||
|
||||
Revision 1.1 2002/05/30 18:27:42 rainy
|
||||
Initial version
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "Litestep.h"
|
||||
|
@ -15,29 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Litestep.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Litestep.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/07/11 17:10:01 rainy
|
||||
Added ResetLoggingFlag.
|
||||
|
||||
Revision 1.4 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.3 2003/03/22 20:39:20 rainy
|
||||
LsLog is exported.
|
||||
|
||||
Revision 1.2 2003/02/10 18:12:17 rainy
|
||||
Added LSLog and LSSetVariable
|
||||
|
||||
Revision 1.1 2002/07/01 15:35:54 rainy
|
||||
Intial version
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __LITESTEP_H__
|
||||
#define __LITESTEP_H__
|
||||
|
@ -15,77 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Measure.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Measure.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.19 2004/07/11 17:14:20 rainy
|
||||
Fixed string generation when num of decimals is 0.
|
||||
|
||||
Revision 1.18 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.17 2004/03/13 16:15:01 rainy
|
||||
GetStats returns only the value
|
||||
|
||||
Revision 1.16 2003/12/05 15:50:09 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.15 2003/02/10 18:13:49 rainy
|
||||
Added median filter to max value.
|
||||
|
||||
Revision 1.14 2002/12/23 14:26:21 rainy
|
||||
Stats are gathered a bit different way now.
|
||||
|
||||
Revision 1.13 2002/05/05 10:49:16 rainy
|
||||
Disabled measures return 0.
|
||||
|
||||
Revision 1.12 2002/05/04 08:12:33 rainy
|
||||
Measure update is not tied to the update rate directly anymore.
|
||||
|
||||
Revision 1.11 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.10 2002/04/01 15:39:09 rainy
|
||||
Fixed IfBelow and IfAbove actions.
|
||||
Added NetTotal measure.
|
||||
|
||||
Revision 1.9 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.8 2001/12/23 10:18:52 rainy
|
||||
Added Time and removed Perfmon.
|
||||
|
||||
Revision 1.7 2001/10/28 10:23:59 rainy
|
||||
GetStringValue uses consts.
|
||||
Added IfAbove/Below actions.
|
||||
Added Plugin and Registry Measures.
|
||||
|
||||
Revision 1.6 2001/10/14 07:32:03 rainy
|
||||
Minor monifications to remove few warnings with VC.NET.
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:41 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
Added support for logging the max value.
|
||||
|
||||
Revision 1.3 2001/08/19 09:15:41 rainy
|
||||
Invert was moved here from the meter.
|
||||
|
||||
Revision 1.2 2001/08/12 15:47:00 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Added GetStringValue() method.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
@ -201,7 +130,7 @@ const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer)
|
||||
{
|
||||
str = buffer;
|
||||
|
||||
for (int i = 0; i < m_Substitute.size(); i = i + 2)
|
||||
for (size_t i = 0; i < m_Substitute.size(); i = i + 2)
|
||||
{
|
||||
if (str.empty() && m_Substitute[i].empty())
|
||||
{
|
||||
@ -452,7 +381,7 @@ bool CMeasure::PostUpdate()
|
||||
|
||||
// Calculate the average value
|
||||
m_Value = 0;
|
||||
for (int i = 0; i < m_AverageValues.size(); i++)
|
||||
for (size_t i = 0; i < m_AverageValues.size(); i++)
|
||||
{
|
||||
m_Value += m_AverageValues[i];
|
||||
}
|
||||
|
@ -15,57 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Measure.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Measure.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.13 2004/07/11 17:14:20 rainy
|
||||
Fixed string generation when num of decimals is 0.
|
||||
|
||||
Revision 1.12 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.11 2003/02/10 18:13:49 rainy
|
||||
Added median filter to max value.
|
||||
|
||||
Revision 1.10 2002/12/23 14:26:21 rainy
|
||||
Stats are gathered a bit different way now.
|
||||
|
||||
Revision 1.9 2002/05/04 08:12:32 rainy
|
||||
Measure update is not tied to the update rate directly anymore.
|
||||
|
||||
Revision 1.8 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.7 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.6 2001/10/28 10:24:06 rainy
|
||||
GetStringValue uses consts.
|
||||
Added IfAbove/Below actions.
|
||||
Added Plugin and Registry Measures.
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:41 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
Added support for logging the max value.
|
||||
|
||||
Revision 1.3 2001/08/19 09:15:41 rainy
|
||||
Invert was moved here from the meter.
|
||||
|
||||
Revision 1.2 2001/08/12 15:47:00 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Added GetStringValue() method.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASURE_H__
|
||||
#define __MEASURE_H__
|
||||
|
@ -15,45 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureCPU.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureCPU.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.8 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.7 2002/01/16 16:07:00 rainy
|
||||
Fixed a bug with the CPU meter in 9x.
|
||||
|
||||
Revision 1.6 2001/10/28 10:22:49 rainy
|
||||
Changed the IsNT() function return value check
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.3 2001/08/19 09:15:21 rainy
|
||||
Added support for value invert.
|
||||
|
||||
Revision 1.2 2001/08/12 15:46:34 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Fixed a bug that prevent more than one CPU meter.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureCPU.h"
|
||||
@ -156,7 +118,7 @@ bool CMeasureCPU::Update()
|
||||
if (status != NO_ERROR) return false;
|
||||
|
||||
// get new CPU's idle time
|
||||
status = m_NtQuerySystemInformation(SystemPerformanceInformation,&m_SysPerfInfo,sizeof(m_SysPerfInfo),NULL);
|
||||
status = m_NtQuerySystemInformation(SystemPerformanceInformation, &m_SysPerfInfo, sizeof(m_SysPerfInfo),NULL);
|
||||
if (status != NO_ERROR) return false;
|
||||
|
||||
// if it's a first call - skip it
|
||||
|
@ -15,59 +15,12 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureCPU.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureCPU.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.6 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.5 2002/01/16 16:07:00 rainy
|
||||
Fixed a bug with the CPU meter in 9x.
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/12 15:46:33 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Fixed a bug that prevent more than one CPU meter.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASURECPU_H__
|
||||
#define __MEASURECPU_H__
|
||||
|
||||
#include "Measure.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
DWORD dwUnknown1;
|
||||
ULONG uKeMaximumIncrement;
|
||||
ULONG uPageSize;
|
||||
ULONG uMmNumberOfPhysicalPages;
|
||||
ULONG uMmLowestPhysicalPage;
|
||||
ULONG uMmHighestPhysicalPage;
|
||||
ULONG uAllocationGranularity;
|
||||
PVOID pLowestUserAddress;
|
||||
PVOID pMmHighestUserAddress;
|
||||
ULONG uKeActiveProcessors;
|
||||
BYTE bKeNumberProcessors;
|
||||
BYTE bUnknown2;
|
||||
WORD wUnknown3;
|
||||
} SYSTEM_BASIC_INFORMATION;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
LARGE_INTEGER liIdleTime;
|
||||
|
@ -15,20 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureCalc.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureCalc.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.2 2004/07/11 17:14:39 rainy
|
||||
MeterWindow holds the counter now.
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureCalc.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureCalc.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASURECALC_H__
|
||||
#define __MEASURECALC_H__
|
||||
|
@ -15,49 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureDiskSpace.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureDiskSpace.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.11 2004/07/11 17:15:06 rainy
|
||||
Also removable drives are ignored.
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2004/03/13 16:16:12 rainy
|
||||
CDROMs are ignored
|
||||
|
||||
Revision 1.8 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.7 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.6 2001/10/28 10:22:20 rainy
|
||||
GetStringValue uses consts.
|
||||
|
||||
Revision 1.5 2001/10/14 07:31:03 rainy
|
||||
Minor monifications to remove few warnings with VC.NET
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/19 09:15:08 rainy
|
||||
Added support for value invert.
|
||||
Also the CMeasure's ReadConfig is executed.
|
||||
|
||||
Revision 1.1 2001/08/12 15:35:08 Rainy
|
||||
Inital Version
|
||||
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureDiskSpace.h"
|
||||
|
@ -15,36 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureDiskSpace.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureDiskSpace.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.6 2004/03/13 16:16:12 rainy
|
||||
CDROMs are ignored
|
||||
|
||||
Revision 1.5 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.4 2001/10/28 10:22:20 rainy
|
||||
GetStringValue uses consts.
|
||||
|
||||
Revision 1.3 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.2 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.1 2001/08/12 15:35:08 Rainy
|
||||
Inital Version
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREDISKSPACE_H__
|
||||
#define __MEASUREDISKSPACE_H__
|
||||
|
@ -15,38 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureMemory.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureMemory.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.8 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.7 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.6 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.3 2001/08/19 09:15:21 rainy
|
||||
Added support for value invert.
|
||||
|
||||
Revision 1.2 2001/08/12 15:45:45 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureMemory.h"
|
||||
|
@ -15,32 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureMemory.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureMemory.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/12 15:45:45 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREMEMORY_H__
|
||||
#define __MEASUREMEMORY_H__
|
||||
|
@ -15,45 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNet.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNet.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2003/12/05 15:50:09 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.8 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.7 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.6 2002/07/01 15:34:23 rainy
|
||||
Now it is possible to select the NIC.
|
||||
|
||||
Revision 1.5 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.4 2002/04/01 15:38:25 rainy
|
||||
Some on the implementation from NetIn/Out is moved here.
|
||||
Added TrafficAction and TrafficValue.
|
||||
|
||||
Revision 1.3 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.2 2001/08/12 15:45:34 Rainy
|
||||
Changed UpdateTable() to be a class method.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureNet.h"
|
||||
@ -237,7 +199,7 @@ LARGE_INTEGER CMeasureNet::GetNetStatsValue(NET net)
|
||||
if (m_Interface == 0)
|
||||
{
|
||||
// Get all interfaces
|
||||
for(int i = 0; i < c_StatValues.size() / 2; i++)
|
||||
for(size_t i = 0; i < c_StatValues.size() / 2; i++)
|
||||
{
|
||||
switch (net)
|
||||
{
|
||||
@ -395,7 +357,7 @@ void CMeasureNet::ResetStats()
|
||||
{
|
||||
if (c_Table)
|
||||
{
|
||||
for (int i = 0; i < c_StatValues.size(); i++)
|
||||
for (size_t i = 0; i < c_StatValues.size(); i++)
|
||||
{
|
||||
LARGE_INTEGER value;
|
||||
value.QuadPart = 0;
|
||||
@ -449,7 +411,7 @@ void CMeasureNet::WriteStats(const std::wstring& iniFile)
|
||||
wsprintf(buffer, L"%i", c_StatValues.size() / 2);
|
||||
WritePrivateProfileString(L"Statistics", L"NetStatsCount", buffer, iniFile.c_str());
|
||||
|
||||
for (int i = 0; i < c_StatValues.size() / 2; i++)
|
||||
for (size_t i = 0; i < c_StatValues.size() / 2; i++)
|
||||
{
|
||||
wsprintf(buffer2, L"NetStatsInHigh%i", i + 1);
|
||||
wsprintf(buffer, L"%u", c_StatValues[i * 2].HighPart);
|
||||
|
@ -15,39 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNet.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNet.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.8 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.7 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.6 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.5 2002/07/01 15:34:23 rainy
|
||||
Now it is possible to select the NIC.
|
||||
|
||||
Revision 1.4 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.3 2002/04/01 15:38:25 rainy
|
||||
Some on the implementation from NetIn/Out is moved here.
|
||||
Added TrafficAction and TrafficValue.
|
||||
|
||||
Revision 1.2 2001/08/12 15:45:34 Rainy
|
||||
Changed UpdateTable() to be a class method.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASURENET_H__
|
||||
#define __MEASURENET_H__
|
||||
|
@ -15,64 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNetIn.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNetIn.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.16 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.15 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.14 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.13 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.12 2002/07/01 15:34:39 rainy
|
||||
The measuring is done in the base class.
|
||||
|
||||
Revision 1.11 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.10 2002/04/01 15:37:25 rainy
|
||||
Moved part of the implementation to the base class.
|
||||
|
||||
Revision 1.9 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.8 2001/12/23 10:17:56 rainy
|
||||
The firstTime is now a member variable.
|
||||
|
||||
Revision 1.7 2001/10/28 10:21:58 rainy
|
||||
Changes in the GetStat()
|
||||
|
||||
Revision 1.6 2001/10/14 07:29:39 rainy
|
||||
Minor monifications to remove few warnings with VC.NET
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.3 2001/08/19 09:14:55 rainy
|
||||
Added support for value invert.
|
||||
Also the CMeasure's ReadConfig is executed.
|
||||
|
||||
Revision 1.2 2001/08/12 15:44:49 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Net throughput is now measured in bytes per second and not bits.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureNetIn.h"
|
||||
|
@ -15,45 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNetIn.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNetIn.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.8 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.7 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.6 2002/04/01 15:37:25 rainy
|
||||
Moved part of the implementation to the base class.
|
||||
|
||||
Revision 1.5 2001/12/23 10:17:56 rainy
|
||||
The firstTime is now a member variable.
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:15 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/12 15:44:49 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Net throughput is now measured in bytes per second and not bits.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERNET_H__
|
||||
#define __METERNET_H__
|
||||
|
@ -15,64 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNetOut.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNetOut.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.16 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.15 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.14 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.13 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.12 2002/07/01 15:34:39 rainy
|
||||
The measuring is done in the base class.
|
||||
|
||||
Revision 1.11 2002/04/26 18:24:16 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.10 2002/04/01 15:37:25 rainy
|
||||
Moved part of the implementation to the base class.
|
||||
|
||||
Revision 1.9 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.8 2001/12/23 10:17:56 rainy
|
||||
The firstTime is now a member variable.
|
||||
|
||||
Revision 1.7 2001/10/28 10:21:58 rainy
|
||||
Changes in the GetStat()
|
||||
|
||||
Revision 1.6 2001/10/14 07:29:39 rainy
|
||||
Minor monifications to remove few warnings with VC.NET
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:10 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.3 2001/08/19 09:14:55 rainy
|
||||
Added support for value invert.
|
||||
Also the CMeasure's ReadConfig is executed.
|
||||
|
||||
Revision 1.2 2001/08/12 15:44:49 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Net throughput is now measured in bytes per second and not bits.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureNetOut.h"
|
||||
|
@ -15,45 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNetOut.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNetOut.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.8 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.7 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.6 2002/04/01 15:37:25 rainy
|
||||
Moved part of the implementation to the base class.
|
||||
|
||||
Revision 1.5 2001/12/23 10:17:56 rainy
|
||||
The firstTime is now a member variable.
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:09 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/12 15:44:49 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Net throughput is now measured in bytes per second and not bits.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERNETOUT_H__
|
||||
#define __METERNETOUT_H__
|
||||
|
@ -15,36 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNetTotal.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNetTotal.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.6 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.5 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.4 2002/12/23 14:26:07 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.3 2002/07/01 15:34:38 rainy
|
||||
The measuring is done in the base class.
|
||||
|
||||
Revision 1.2 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.1 2002/04/01 15:35:27 rainy
|
||||
Initial version.
|
||||
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureNetTotal.h"
|
||||
|
@ -15,30 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureNetTotal.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureNetTotal.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2003/02/10 18:13:34 rainy
|
||||
Changed the way stats are gathered.
|
||||
|
||||
Revision 1.3 2002/12/23 14:26:06 rainy
|
||||
Added cumulative statistics measuring.
|
||||
|
||||
Revision 1.2 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.1 2002/04/01 15:35:27 rainy
|
||||
Initial version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERNETTOTAL_H__
|
||||
#define __METERNETTOTAL_H__
|
||||
|
@ -15,38 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasurePhysicalMemory.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasurePhysicalMemory.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.8 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.7 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.6 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:09 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.3 2001/08/19 09:14:20 rainy
|
||||
Added support for value invert.
|
||||
|
||||
Revision 1.2 2001/08/12 15:43:32 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasurePhysicalMemory.h"
|
||||
|
@ -15,32 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasurePhysicalMemory.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasurePhysicalMemory.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:09 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/12 15:43:31 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREPHYSICALMEMORY_H__
|
||||
#define __MEASUREPHYSICALMEMORY_H__
|
||||
|
@ -15,36 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasurePlugin.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasurePlugin.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/07/11 17:15:14 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2002/07/01 15:34:57 rainy
|
||||
Added GetStringValue.
|
||||
|
||||
Revision 1.4 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.3 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.2 2001/12/23 10:17:02 rainy
|
||||
The plugins get unique ID automatically.
|
||||
The plugins are also loaded from the Rainmeter's folder.
|
||||
|
||||
Revision 1.1 2001/10/28 09:07:19 rainy
|
||||
Inital version
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasurePlugin.h"
|
||||
|
@ -15,30 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasurePlugin.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasurePlugin.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2002/07/01 15:34:57 rainy
|
||||
Added GetStringValue.
|
||||
|
||||
Revision 1.3 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.2 2001/12/23 10:17:02 rainy
|
||||
The plugins get unique ID automatically.
|
||||
The plugins are also loaded from the Rainmeter's folder.
|
||||
|
||||
Revision 1.1 2001/10/28 09:07:19 rainy
|
||||
Inital version
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREPLUGIN_H__
|
||||
#define __MEASUREPLUGIN_H__
|
||||
|
@ -15,32 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureRegistry.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureRegistry.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2002/05/04 08:13:06 rainy
|
||||
Added support for multi_sz
|
||||
|
||||
Revision 1.4 2002/04/27 10:28:57 rainy
|
||||
Added possibility to use other HKEYs also.
|
||||
|
||||
Revision 1.3 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.2 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.1 2001/10/28 09:07:18 rainy
|
||||
Inital version
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureRegistry.h"
|
||||
|
@ -15,26 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureRegistry.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureRegistry.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.4 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.3 2002/04/27 10:28:57 rainy
|
||||
Added possibility to use other HKEYs also.
|
||||
|
||||
Revision 1.2 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.1 2001/10/28 09:07:18 rainy
|
||||
Inital version
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREREGISTRY_H__
|
||||
#define __MEASUREREGISTRY_H__
|
||||
|
@ -15,35 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureTime.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureTime.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/07/11 17:15:36 rainy
|
||||
Fixed localtime calculation.
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2004/03/13 16:17:42 rainy
|
||||
Added timezones
|
||||
|
||||
Revision 1.4 2003/02/10 18:13:14 rainy
|
||||
Returns the time in secs as value.
|
||||
|
||||
Revision 1.3 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.2 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.1 2001/12/23 10:11:08 rainy
|
||||
Initial version.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureTime.h"
|
||||
@ -263,11 +235,11 @@ void CMeasureTime::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
||||
TIME_ZONE_INFORMATION tzi;
|
||||
GetTimeZoneInformation(&tzi);
|
||||
|
||||
m_DeltaTime.QuadPart = ((zone * 3600) - tzi.DaylightBias * 60) * 10000000.0;
|
||||
m_DeltaTime.QuadPart = (LONGLONG)((zone * 3600) - tzi.DaylightBias * 60) * 10000000.0;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_DeltaTime.QuadPart = (zone * 3600) * 10000000.0;
|
||||
m_DeltaTime.QuadPart = (LONGLONG)(zone * 3600) * 10000000.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -15,29 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureTime.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureTime.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2004/03/13 16:17:42 rainy
|
||||
Added timezones
|
||||
|
||||
Revision 1.3 2003/02/10 18:13:14 rainy
|
||||
Returns the time in secs as value.
|
||||
|
||||
Revision 1.2 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.1 2001/12/23 10:11:08 rainy
|
||||
Initial version.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASURETIME_H__
|
||||
#define __MEASURETIME_H__
|
||||
|
@ -15,35 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureUptime.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureUptime.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.6 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.5 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.4 2001/12/23 10:16:10 rainy
|
||||
The static variable is set to zero in destructor.
|
||||
|
||||
Revision 1.3 2001/10/28 10:20:49 rainy
|
||||
GetStringValue uses consts
|
||||
|
||||
Revision 1.2 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.1 2001/09/01 12:56:25 rainy
|
||||
Initial version.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureUptime.h"
|
||||
|
@ -15,29 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureUptime.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureUptime.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.3 2001/10/28 10:20:49 rainy
|
||||
GetStringValue uses consts
|
||||
|
||||
Revision 1.2 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.1 2001/09/01 12:56:25 rainy
|
||||
Initial version.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREUPTIME_H__
|
||||
#define __MEASUREUPTIME_H__
|
||||
|
@ -15,38 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureVirtualMemory.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureVirtualMemory.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.8 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.7 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.6 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.5 2001/09/26 16:27:14 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 13:00:09 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.3 2001/08/19 09:14:20 rainy
|
||||
Added support for value invert.
|
||||
|
||||
Revision 1.2 2001/08/12 15:43:24 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeasureVirtualMemory.h"
|
||||
|
@ -15,32 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeasureVirtualMemory.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeasureVirtualMemory.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2002/04/26 18:24:15 rainy
|
||||
Modified the Update method to support disabled measures.
|
||||
|
||||
Revision 1.4 2001/09/26 16:27:13 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/09/01 13:00:09 rainy
|
||||
Slight changes in the interface. The value is now measured only once if possible.
|
||||
|
||||
Revision 1.2 2001/08/12 15:43:24 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __MEASUREVIRTUALMEMORY_H__
|
||||
#define __MEASUREVIRTUALMEMORY_H__
|
||||
|
@ -15,69 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Meter.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Meter.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.17 2004/07/11 17:15:56 rainy
|
||||
Added relative coordinates.
|
||||
|
||||
Revision 1.16 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.15 2004/03/13 16:17:56 rainy
|
||||
Added rotator
|
||||
|
||||
Revision 1.14 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.13 2002/12/23 14:25:45 rainy
|
||||
Fixed color reading.
|
||||
|
||||
Revision 1.12 2002/07/01 15:33:00 rainy
|
||||
Added LINE meter.
|
||||
|
||||
Revision 1.11 2002/05/04 08:12:51 rainy
|
||||
Actions can be defined per meter.
|
||||
|
||||
Revision 1.10 2002/04/27 10:28:14 rainy
|
||||
Added an error message if the meter is not bound to anything.
|
||||
|
||||
Revision 1.9 2002/04/26 18:22:38 rainy
|
||||
Added possibility to hide the meter.
|
||||
Added support for Image meter.
|
||||
|
||||
Revision 1.8 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.7 2001/12/23 10:15:25 rainy
|
||||
Added ParseColor().
|
||||
|
||||
Revision 1.6 2001/10/14 07:32:15 rainy
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.5 2001/09/26 16:26:53 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.4 2001/09/01 12:59:16 rainy
|
||||
Added support for Uptime measure.
|
||||
W and H default to 1.
|
||||
|
||||
Revision 1.3 2001/08/19 09:13:38 rainy
|
||||
Invert moved to the measures.
|
||||
Added PerfMon measure.
|
||||
|
||||
Revision 1.2 2001/08/12 15:41:41 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Added invert measure.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "Error.h"
|
||||
|
@ -15,51 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Meter.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Meter.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.12 2004/07/11 17:15:56 rainy
|
||||
Added relative coordinates.
|
||||
|
||||
Revision 1.11 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.10 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.9 2002/07/01 15:33:00 rainy
|
||||
Added LINE meter.
|
||||
|
||||
Revision 1.8 2002/05/04 08:12:51 rainy
|
||||
Actions can be defined per meter.
|
||||
|
||||
Revision 1.7 2002/04/26 18:22:03 rainy
|
||||
Added possibility to hide the meter.
|
||||
|
||||
Revision 1.6 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.5 2001/12/23 10:15:25 rainy
|
||||
Added ParseColor().
|
||||
|
||||
Revision 1.4 2001/09/26 16:26:53 rainy
|
||||
Changed the interfaces a bit.
|
||||
|
||||
Revision 1.3 2001/08/19 09:13:25 rainy
|
||||
Invert moved to the measures.
|
||||
|
||||
Revision 1.2 2001/08/12 15:41:41 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Added invert measure.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METER_H__
|
||||
#define __METER_H__
|
||||
|
@ -15,48 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterBar.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterBar.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.11 2004/07/11 17:16:11 rainy
|
||||
Added BarBorder.
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.8 2002/07/01 15:32:51 rainy
|
||||
Removed include to lsapi.h
|
||||
|
||||
Revision 1.7 2002/05/04 08:13:41 rainy
|
||||
Fixed vertical bar drawing.
|
||||
|
||||
Revision 1.6 2002/04/26 18:22:03 rainy
|
||||
Added possibility to hide the meter.
|
||||
|
||||
Revision 1.5 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.4 2001/12/23 10:14:51 rainy
|
||||
Hex color values are now also supported.
|
||||
|
||||
Revision 1.3 2001/10/14 07:32:33 rainy
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.2 2001/09/26 16:26:24 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.1 2001/09/01 12:56:25 rainy
|
||||
Initial version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,33 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterBar.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterBar.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/07/11 17:16:11 rainy
|
||||
Added BarBorder.
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.3 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.2 2001/09/26 16:26:23 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.1 2001/09/01 12:56:25 rainy
|
||||
Initial version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERBAR_H__
|
||||
#define __METERBAR_H__
|
||||
|
@ -15,48 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterBitmap.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterBitmap.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.11 2004/07/11 17:16:55 rainy
|
||||
Bitmap must have at least one frame.
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.8 2002/07/01 15:32:51 rainy
|
||||
Removed include to lsapi.h
|
||||
|
||||
Revision 1.7 2002/04/26 18:22:02 rainy
|
||||
Added possibility to hide the meter.
|
||||
|
||||
Revision 1.6 2002/03/31 20:32:29 rainy
|
||||
Added ZeroFrame, which uses the first frame only for value 0.
|
||||
|
||||
Revision 1.5 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.4 2001/12/23 10:15:04 rainy
|
||||
Added one sanity check.
|
||||
|
||||
Revision 1.3 2001/10/14 07:32:33 rainy
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.2 2001/09/26 16:26:23 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.1 2001/09/01 12:56:25 rainy
|
||||
Initial version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,33 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterBitmap.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterBitmap.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.6 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.5 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.4 2002/03/31 20:32:29 rainy
|
||||
Added ZeroFrame, which uses the first frame only for value 0.
|
||||
|
||||
Revision 1.3 2002/03/31 09:58:54 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.2 2001/09/26 16:26:23 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.1 2001/09/01 12:56:25 rainy
|
||||
Initial version.
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERBITMAP_H__
|
||||
#define __METERBITMAP_H__
|
||||
|
@ -15,14 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterButton.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterButton.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,14 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterButton.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterButton.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERBUTTON_H__
|
||||
#define __METERBUTTON_H__
|
||||
|
@ -15,68 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterHistogram.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterHistogram.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.17 2004/07/11 17:17:23 rainy
|
||||
Fixed a crash bug with max value.
|
||||
|
||||
Revision 1.16 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.15 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.14 2002/07/01 15:32:51 rainy
|
||||
Removed include to lsapi.h
|
||||
|
||||
Revision 1.13 2002/05/04 08:14:11 rainy
|
||||
Histogram now draws the lines one pixel higher.
|
||||
|
||||
Revision 1.12 2002/04/26 18:28:17 rainy
|
||||
The meter is not updated if both measures are disabled.
|
||||
|
||||
Revision 1.11 2002/04/26 18:22:02 rainy
|
||||
Added possibility to hide the meter.
|
||||
|
||||
Revision 1.10 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.9 2001/12/23 10:14:51 rainy
|
||||
Hex color values are now also supported.
|
||||
|
||||
Revision 1.8 2001/10/28 10:19:40 rainy
|
||||
Fixed a bug with secondary measure not set correctly
|
||||
|
||||
Revision 1.7 2001/10/14 07:32:33 rainy
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.6 2001/09/26 16:26:37 rainy
|
||||
Small adjustement to the interfaces.
|
||||
Implemented BindMeasure()
|
||||
|
||||
Revision 1.5 2001/09/01 12:58:48 rainy
|
||||
Removed MaxValues (i.e. they aren't stored anymore).
|
||||
Fixed a bug in bitmap histogram placement.
|
||||
|
||||
Revision 1.4 2001/08/25 17:07:28 rainy
|
||||
Added support for background images behind the curves.
|
||||
|
||||
Revision 1.3 2001/08/19 09:13:13 rainy
|
||||
Invert moved to the measures.
|
||||
|
||||
Revision 1.2 2001/08/12 15:38:54 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Added invert for the secondary measure.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,43 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterHistogram.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterHistogram.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.9 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.8 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.7 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.6 2001/09/26 16:26:23 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.5 2001/09/01 12:58:48 rainy
|
||||
Removed MaxValues (i.e. they aren't stored anymore).
|
||||
Fixed a bug in bitmap histogram placement.
|
||||
|
||||
Revision 1.4 2001/08/25 17:07:28 rainy
|
||||
Added support for background images behind the curves.
|
||||
|
||||
Revision 1.3 2001/08/19 09:13:13 rainy
|
||||
Invert moved to the measures.
|
||||
|
||||
Revision 1.2 2001/08/12 15:38:54 Rainy
|
||||
Adjusted Update()'s interface.
|
||||
Added invert for the secondary measure.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERHISTOGRAM_H__
|
||||
#define __METERHISTOGRAM_H__
|
||||
|
@ -15,35 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterImage.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterImage.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.7 2004/08/13 15:44:57 rainy
|
||||
Loading images don't lock the file anymore.
|
||||
|
||||
Revision 1.6 2004/07/11 17:17:48 rainy
|
||||
The image is not locked anymore on disk.
|
||||
|
||||
Revision 1.5 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.4 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.3 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.2 2002/07/01 15:32:50 rainy
|
||||
Removed include to lsapi.h
|
||||
|
||||
Revision 1.1 2002/04/27 10:28:31 rainy
|
||||
Intial version.
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,29 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterImage.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterImage.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/07/11 17:17:48 rainy
|
||||
The image is not locked anymore on disk.
|
||||
|
||||
Revision 1.4 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.3 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.2 2003/02/10 18:12:45 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.1 2002/04/27 10:28:31 rainy
|
||||
Intial version.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERIMAGE_H__
|
||||
#define __METERIMAGE_H__
|
||||
|
@ -15,30 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterLine.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterLine.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/07/11 17:18:07 rainy
|
||||
Relative coordinate support.
|
||||
|
||||
Revision 1.4 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.3 2004/03/13 16:18:16 rainy
|
||||
Limits negative coords
|
||||
|
||||
Revision 1.2 2003/02/10 18:12:44 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.1 2002/07/01 15:35:54 rainy
|
||||
Intial version
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
@ -167,7 +143,7 @@ bool CMeterLine::Update()
|
||||
{
|
||||
double value = m_Measure->GetValue();
|
||||
|
||||
if (m_AllValues[0].size() < m_W)
|
||||
if ((int)m_AllValues[0].size() < m_W)
|
||||
{
|
||||
m_AllValues[0].push_back(value);
|
||||
}
|
||||
@ -183,7 +159,7 @@ bool CMeterLine::Update()
|
||||
{
|
||||
double value = (*i)->GetValue();
|
||||
|
||||
if (m_AllValues[counter].size() < m_W)
|
||||
if ((int)m_AllValues[counter].size() < m_W)
|
||||
{
|
||||
m_AllValues[counter].push_back(value);
|
||||
}
|
||||
@ -311,7 +287,7 @@ bool CMeterLine::Draw()
|
||||
|
||||
for (int j = 0; j < m_W; j++)
|
||||
{
|
||||
if (pos < (*i).size())
|
||||
if (pos < (int)(*i).size())
|
||||
{
|
||||
Y = (REAL)((*i)[pos] * m_ScaleValues[counter] * (m_H - 1) / maxValue);
|
||||
Y = min(Y, m_H - 1);
|
||||
|
@ -15,23 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterLine.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterLine.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.3 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.2 2003/02/10 18:12:44 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.1 2002/07/01 15:35:54 rainy
|
||||
Intial version
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERLINE_H__
|
||||
#define __METERLINE_H__
|
||||
|
@ -15,30 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterRotator.cpp,v 1.2 2005/07/12 16:31:49 rainy Exp $
|
||||
|
||||
$Log: MeterRotator.cpp,v $
|
||||
Revision 1.2 2005/07/12 16:31:49 rainy
|
||||
*** empty log message ***
|
||||
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.4 2004/08/13 15:46:43 rainy
|
||||
Added LineStart.
|
||||
Reminder->Remainder.
|
||||
|
||||
Revision 1.3 2004/07/11 17:18:07 rainy
|
||||
Relative coordinate support.
|
||||
|
||||
Revision 1.2 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.1 2004/03/13 16:18:43 rainy
|
||||
Initial version
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
@ -136,8 +112,8 @@ bool CMeterRotator::Update()
|
||||
if (m_ValueRemainder > 0)
|
||||
{
|
||||
LARGE_INTEGER time;
|
||||
time.QuadPart = m_Measure->GetValue();
|
||||
m_Value = time.QuadPart % m_ValueRemainder;
|
||||
time.QuadPart = (LONGLONG)m_Measure->GetValue();
|
||||
m_Value = (double)(time.QuadPart % m_ValueRemainder);
|
||||
m_Value /= (double)m_ValueRemainder;
|
||||
}
|
||||
else
|
||||
|
@ -15,24 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterRotator.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterRotator.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.3 2004/08/13 15:46:43 rainy
|
||||
Added LineStart.
|
||||
Reminder->Remainder.
|
||||
|
||||
Revision 1.2 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.1 2004/03/13 16:18:43 rainy
|
||||
Initial version
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERROTATOR_H__
|
||||
#define __METERROTATOR_H__
|
||||
|
@ -15,29 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterRoundLine.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterRoundLine.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.5 2004/08/13 15:46:50 rainy
|
||||
Reminder->Remainder.
|
||||
|
||||
Revision 1.4 2004/07/11 17:18:07 rainy
|
||||
Relative coordinate support.
|
||||
|
||||
Revision 1.3 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.2 2003/02/10 18:12:44 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.1 2002/12/26 18:15:41 rainy
|
||||
Initial version
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
#include "MeterRoundLine.h"
|
||||
@ -117,8 +95,8 @@ bool CMeterRoundLine::Update()
|
||||
if (m_ValueRemainder > 0)
|
||||
{
|
||||
LARGE_INTEGER time;
|
||||
time.QuadPart = m_Measure->GetValue();
|
||||
m_Value = time.QuadPart % m_ValueRemainder;
|
||||
time.QuadPart = (LONGLONG)m_Measure->GetValue();
|
||||
m_Value = (double)(time.QuadPart % m_ValueRemainder);
|
||||
m_Value /= (double)m_ValueRemainder;
|
||||
}
|
||||
else
|
||||
|
@ -15,25 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterRoundLine.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterRoundLine.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.4 2004/08/13 15:46:50 rainy
|
||||
Reminder->Remainder.
|
||||
|
||||
Revision 1.3 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.2 2003/02/10 18:12:44 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.1 2002/12/26 17:51:50 rainy
|
||||
Initial version
|
||||
*/
|
||||
|
||||
#ifndef __METERROUNDLINE_H__
|
||||
#define __METERROUNDLINE_H__
|
||||
|
@ -15,47 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterString.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterString.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.11 2004/07/11 17:18:32 rainy
|
||||
Fixed width calculation.
|
||||
|
||||
Revision 1.10 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.9 2003/02/10 18:12:44 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.8 2002/07/01 15:32:20 rainy
|
||||
Added NumOfDecimals
|
||||
|
||||
Revision 1.7 2002/04/26 18:22:02 rainy
|
||||
Added possibility to hide the meter.
|
||||
|
||||
Revision 1.6 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.5 2001/12/23 10:14:33 rainy
|
||||
Hex color values are now also supported.
|
||||
|
||||
Revision 1.4 2001/10/14 07:32:32 rainy
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.3 2001/09/26 16:26:23 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.2 2001/09/01 12:57:33 rainy
|
||||
Added support for percentual measuring.
|
||||
|
||||
Revision 1.1 2001/08/12 15:35:08 Rainy
|
||||
Inital Version
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
@ -176,7 +135,7 @@ void CMeterString::Initialize()
|
||||
int dpi = GetDeviceCaps(dc, LOGPIXELSX);
|
||||
ReleaseDC(GetDesktopWindow(), dc);
|
||||
|
||||
REAL size = (REAL)m_FontSize * (96.0 / (REAL)dpi);
|
||||
REAL size = (REAL)m_FontSize * (96.0f / (REAL)dpi);
|
||||
|
||||
if (m_FontFamily)
|
||||
{
|
||||
@ -241,7 +200,7 @@ void CMeterString::ReadConfig(const WCHAR* section)
|
||||
m_FontSize = parser.ReadInt(section, L"FontSize", 10);
|
||||
m_NumOfDecimals = parser.ReadInt(section, L"NumOfDecimals", -1);
|
||||
|
||||
m_Angle = parser.ReadFloat(section, L"Angle", 0.0);
|
||||
m_Angle = parser.ReadFloat(section, L"Angle", 0.0f);
|
||||
|
||||
std::wstring scale;
|
||||
scale = parser.ReadString(section, L"Scale", L"1");
|
||||
@ -326,7 +285,7 @@ bool CMeterString::Update()
|
||||
if (m_Measure) stringValues.push_back(m_Measure->GetStringValue(m_AutoScale, m_Scale, decimals, m_Percentual));
|
||||
|
||||
// Get the values for the other measures
|
||||
for (int i = 0; i < m_Measures.size(); i++)
|
||||
for (size_t i = 0; i < m_Measures.size(); i++)
|
||||
{
|
||||
stringValues.push_back(m_Measures[i]->GetStringValue(m_AutoScale, m_Scale, decimals, m_Percentual));
|
||||
}
|
||||
@ -346,7 +305,7 @@ bool CMeterString::Update()
|
||||
// Create the actual text (i.e. replace %1, %2, .. with the measure texts)
|
||||
std::wstring tmpText = m_Text;
|
||||
|
||||
for (int i = 0; i < stringValues.size(); i++)
|
||||
for (size_t i = 0; i < stringValues.size(); i++)
|
||||
{
|
||||
wsprintf(buffer, L"%%%i", i + 1);
|
||||
|
||||
@ -430,8 +389,8 @@ bool CMeterString::DrawString(RectF* rect)
|
||||
break;
|
||||
}
|
||||
|
||||
int x = GetX();
|
||||
int y = GetY();
|
||||
REAL x = (REAL)GetX();
|
||||
REAL y = (REAL)GetY();
|
||||
|
||||
if (rect)
|
||||
{
|
||||
@ -453,7 +412,7 @@ bool CMeterString::DrawString(RectF* rect)
|
||||
stringFormat.SetFormatFlags(StringFormatFlagsNoClip | StringFormatFlagsNoWrap);
|
||||
}
|
||||
|
||||
double angle = m_Angle * 180.0f / 3.14159265f; // Convert to degrees
|
||||
REAL angle = m_Angle * 180.0f / 3.14159265f; // Convert to degrees
|
||||
graphics.TranslateTransform(CMeter::GetX(), y);
|
||||
graphics.RotateTransform(angle);
|
||||
graphics.TranslateTransform(-CMeter::GetX(), -y);
|
||||
|
@ -15,42 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterString.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterString.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.9 2004/07/11 17:18:32 rainy
|
||||
Fixed width calculation.
|
||||
|
||||
Revision 1.8 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.7 2003/02/10 18:12:44 rainy
|
||||
Now uses GDI+
|
||||
|
||||
Revision 1.6 2002/07/01 15:32:20 rainy
|
||||
Added NumOfDecimals
|
||||
|
||||
Revision 1.5 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.4 2001/09/26 16:26:23 rainy
|
||||
Small adjustement to the interfaces.
|
||||
|
||||
Revision 1.3 2001/09/01 12:57:33 rainy
|
||||
Added support for percentual measuring.
|
||||
|
||||
Revision 1.2 2001/08/19 09:12:44 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2001/08/12 15:35:07 Rainy
|
||||
Inital Version
|
||||
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERSTRING_H__
|
||||
#define __METERSTRING_H__
|
||||
|
@ -15,113 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterWindow.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterWindow.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.26 2004/08/13 15:47:45 rainy
|
||||
Fixed z-position changing.
|
||||
Mouse move events work for non-movable windows too.
|
||||
|
||||
Revision 1.25 2004/07/11 17:19:29 rainy
|
||||
Changed messageboxes to logs.
|
||||
Mouse leave checks transparent pixels.
|
||||
Added !RainmeterToggleConfig.
|
||||
|
||||
Revision 1.24 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.23 2004/03/13 16:19:17 rainy
|
||||
Added support for multiple configs
|
||||
|
||||
Revision 1.22 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.21 2003/02/10 18:11:33 rainy
|
||||
Too much changes to mention :-)
|
||||
|
||||
Revision 1.20 2002/12/23 14:25:21 rainy
|
||||
Separated skin and other settings.
|
||||
Stats are now written in ini file.
|
||||
|
||||
Revision 1.19 2002/07/01 15:27:36 rainy
|
||||
AlwaysOnTop gets now three values.
|
||||
Added Toggle().
|
||||
Added RainmeterCurrentConfig and RainmeterCurrentConfigIni.
|
||||
The ini file's timestamp is checked before it is overwritten.
|
||||
AboutBox is now in separate source file.
|
||||
Added SnapEdges.
|
||||
|
||||
Revision 1.18 2002/05/05 10:48:56 rainy
|
||||
Fixed few bugs.
|
||||
|
||||
Revision 1.17 2002/05/04 08:16:35 rainy
|
||||
There can be any number of ini files in the config folders.
|
||||
WM_COPYDATA can be used to deliver the bangs.
|
||||
Added support for per meter actions.
|
||||
|
||||
Revision 1.16 2002/04/27 10:27:42 rainy
|
||||
Added hide/show to meters and enable/disable to measures
|
||||
|
||||
Revision 1.15 2002/04/01 15:36:10 rainy
|
||||
Added PLAY, PLAYSTOP and PLAYLOOP build-in commands.
|
||||
|
||||
Revision 1.14 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.13 2002/03/29 16:32:58 rainy
|
||||
Fixed a typo
|
||||
|
||||
Revision 1.12 2002/01/16 16:06:29 rainy
|
||||
The file doesn't need to be named Rainmeter.ini anymore.
|
||||
If the old config doesn't exist, we'll yse the first one instead.
|
||||
|
||||
Revision 1.11 2001/12/23 10:14:09 rainy
|
||||
Added support for different configs.
|
||||
The position of the window is now remembered.
|
||||
|
||||
Revision 1.10 2001/10/28 10:15:21 rainy
|
||||
Added left and right mouse up actions.
|
||||
IsNT() can now identify different OS more precisely.
|
||||
|
||||
Revision 1.9 2001/10/14 07:27:58 rainy
|
||||
Changed the errorhandling.
|
||||
Stats now include the date when they were started to collect.
|
||||
|
||||
Revision 1.8 2001/09/26 16:25:44 rainy
|
||||
Added support for statistics.
|
||||
Meters and Measures are now stored here.
|
||||
|
||||
Revision 1.7 2001/09/01 12:57:13 rainy
|
||||
Added support for Bar and Bitmap meters.
|
||||
|
||||
Revision 1.6 2001/08/25 18:08:34 rainy
|
||||
Added mousebutton actions.
|
||||
The About dialog has now the build date.
|
||||
|
||||
Revision 1.5 2001/08/25 17:15:52 rainy
|
||||
Added context menu, which can show the about dialog, refresh the configuration or quit the program.
|
||||
The ini-file can be defined in the step.rc also.
|
||||
|
||||
Revision 1.4 2001/08/19 09:43:29 rainy
|
||||
Mouse over hid the window even if it was not wanted.
|
||||
|
||||
Revision 1.3 2001/08/19 09:12:12 rainy
|
||||
Added support for GetRevID.
|
||||
Added StartHidden.
|
||||
|
||||
Revision 1.2 2001/08/12 15:36:55 Rainy
|
||||
The ini-file's exsistance is checked.
|
||||
Added String meter.
|
||||
Improved mouse over hiding.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
@ -2160,7 +2053,7 @@ LRESULT CMeterWindow::OnCommand(WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
const std::vector<CRainmeter::CONFIG>& configs = m_Rainmeter->GetAllConfigs();
|
||||
|
||||
for (int i = 0; i < configs.size(); i++)
|
||||
for (size_t i = 0; i < configs.size(); i++)
|
||||
{
|
||||
if (configs[i].config == m_SkinName)
|
||||
{
|
||||
|
@ -15,91 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/MeterWindow.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: MeterWindow.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.21 2004/07/11 17:19:29 rainy
|
||||
Changed messageboxes to logs.
|
||||
Mouse leave checks transparent pixels.
|
||||
Added !RainmeterToggleConfig.
|
||||
|
||||
Revision 1.20 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.19 2004/03/13 16:19:17 rainy
|
||||
Added support for multiple configs
|
||||
|
||||
Revision 1.18 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.17 2003/02/10 18:10:56 rainy
|
||||
no message
|
||||
|
||||
Revision 1.16 2002/12/23 14:25:21 rainy
|
||||
Separated skin and other settings.
|
||||
Stats are now written in ini file.
|
||||
|
||||
Revision 1.15 2002/07/01 15:27:36 rainy
|
||||
AlwaysOnTop gets now three values.
|
||||
Added Toggle().
|
||||
Added RainmeterCurrentConfig and RainmeterCurrentConfigIni.
|
||||
The ini file's timestamp is checked before it is overwritten.
|
||||
AboutBox is now in separate source file.
|
||||
Added SnapEdges.
|
||||
|
||||
Revision 1.14 2002/05/05 10:48:15 rainy
|
||||
The last message is stored into a membervariable.
|
||||
|
||||
Revision 1.13 2002/05/04 08:14:45 rainy
|
||||
Configs store also the names of the ini-files.
|
||||
|
||||
Revision 1.12 2002/04/27 10:27:42 rainy
|
||||
Added hide/show to meters and enable/disable to measures
|
||||
|
||||
Revision 1.11 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.10 2001/12/23 10:14:09 rainy
|
||||
Added support for different configs.
|
||||
The position of the window is now remembered.
|
||||
|
||||
Revision 1.9 2001/10/28 10:15:21 rainy
|
||||
Added left and right mouse up actions.
|
||||
IsNT() can now identify different OS more precisely.
|
||||
|
||||
Revision 1.8 2001/10/14 07:26:21 rainy
|
||||
Added m_StatsDate
|
||||
|
||||
Revision 1.7 2001/09/26 16:25:44 rainy
|
||||
Added support for statistics.
|
||||
Meters and Measures are now stored here.
|
||||
|
||||
Revision 1.6 2001/09/01 12:57:13 rainy
|
||||
Added support for Bar and Bitmap meters.
|
||||
|
||||
Revision 1.5 2001/08/25 18:08:34 rainy
|
||||
Added mousebutton actions.
|
||||
The About dialog has now the build date.
|
||||
|
||||
Revision 1.4 2001/08/25 17:14:00 rainy
|
||||
Pointer to CRainmeter is now stored in a member variable.
|
||||
Added few more methods.
|
||||
|
||||
Revision 1.3 2001/08/19 09:10:18 rainy
|
||||
Added GetWindow() and OnGetRevID().
|
||||
|
||||
Revision 1.2 2001/08/12 15:37:39 Rainy
|
||||
ToggleWindowIfNecessary is now ShowWindowIfAppropriate.
|
||||
Added method for mouseover messages.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __METERWINDOW_H__
|
||||
#define __METERWINDOW_H__
|
||||
|
@ -15,68 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Rainmeter.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Rainmeter.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.17 2004/08/13 15:48:23 rainy
|
||||
Added check update.
|
||||
Fixed LSHook
|
||||
|
||||
Revision 1.16 2004/07/11 17:19:57 rainy
|
||||
Whole skin folder is recursively scanned.
|
||||
|
||||
Revision 1.15 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.14 2004/03/13 16:20:41 rainy
|
||||
Improved multiconfig support
|
||||
|
||||
Revision 1.13 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.12 2003/02/10 18:10:48 rainy
|
||||
Added support for the new bangs.
|
||||
|
||||
Revision 1.11 2002/07/01 15:01:18 rainy
|
||||
Wharfdata is not used anymore.
|
||||
Added Toggle.
|
||||
|
||||
Revision 1.10 2002/05/05 10:47:50 rainy
|
||||
Fixed the Regresh and ChangeConfig bangs
|
||||
|
||||
Revision 1.9 2002/05/04 08:10:46 rainy
|
||||
Added the new bangs.
|
||||
|
||||
Revision 1.8 2002/04/27 10:27:13 rainy
|
||||
Added bangs to hide/show meters and measures
|
||||
|
||||
Revision 1.7 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.6 2001/10/14 07:32:32 rainy
|
||||
In error situations CError is thrown instead just a boolean value.
|
||||
|
||||
Revision 1.5 2001/09/26 16:24:57 rainy
|
||||
Cleaned up the code
|
||||
|
||||
Revision 1.4 2001/09/01 12:56:44 rainy
|
||||
Added refresh bang.
|
||||
|
||||
Revision 1.3 2001/08/25 17:06:38 rainy
|
||||
Changed few methods to inlines.
|
||||
Now the wharf data is stored fully.
|
||||
|
||||
Revision 1.2 2001/08/19 09:03:50 rainy
|
||||
Added support for Litestep's GetRevID.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
#pragma warning(disable: 4996)
|
||||
#pragma warning(disable: 4786)
|
||||
|
||||
@ -155,7 +94,7 @@ std::vector<std::wstring> ParseString(LPCTSTR str)
|
||||
}
|
||||
|
||||
// Strip the quotes from all strings
|
||||
for (int i = 0; i < result.size(); i++)
|
||||
for (size_t i = 0; i < result.size(); i++)
|
||||
{
|
||||
size_t pos = result[i].find(L"\"");
|
||||
while (pos != std::wstring::npos)
|
||||
@ -251,7 +190,7 @@ LPCTSTR ReadConfigString(LPCTSTR section, LPCTSTR key, LPCTSTR defValue)
|
||||
** Parses Bang args
|
||||
**
|
||||
*/
|
||||
void BangWithArgs(BANGCOMMAND bang, const WCHAR* arg, int numOfArgs)
|
||||
void BangWithArgs(BANGCOMMAND bang, const WCHAR* arg, size_t numOfArgs)
|
||||
{
|
||||
if(Rainmeter)
|
||||
{
|
||||
@ -260,7 +199,7 @@ void BangWithArgs(BANGCOMMAND bang, const WCHAR* arg, int numOfArgs)
|
||||
std::wstring argument;
|
||||
|
||||
// Don't include the config name from the arg if there is one
|
||||
for (int i = 0; i < numOfArgs; i++)
|
||||
for (size_t i = 0; i < numOfArgs; i++)
|
||||
{
|
||||
if (i != 0) argument += L" ";
|
||||
if (i < subStrings.size())
|
||||
@ -456,11 +395,11 @@ void RainmeterActivateConfig(HWND, const char* arg)
|
||||
{
|
||||
const std::vector<CRainmeter::CONFIG>& configs = Rainmeter->GetAllConfigs();
|
||||
|
||||
for (int i = 0; i < configs.size(); i++)
|
||||
for (size_t i = 0; i < configs.size(); i++)
|
||||
{
|
||||
if (wcsnicmp(configs[i].config.c_str(), subStrings[0].c_str(), configs[i].config.length()) == 0)
|
||||
{
|
||||
for (int j = 0; j < configs[i].iniFiles.size(); j++)
|
||||
for (size_t j = 0; j < configs[i].iniFiles.size(); j++)
|
||||
{
|
||||
if (wcsnicmp(configs[i].iniFiles[j].c_str(), subStrings[1].c_str(), configs[i].iniFiles[j].length()) == 0)
|
||||
{
|
||||
@ -824,7 +763,7 @@ int CRainmeter::Initialize(HWND Parent, HINSTANCE Instance, LPCSTR szPath)
|
||||
}
|
||||
|
||||
// Create meter windows for active configs
|
||||
for (int i = 0; i < m_ConfigStrings.size(); i++)
|
||||
for (size_t i = 0; i < m_ConfigStrings.size(); i++)
|
||||
{
|
||||
if (m_ConfigStrings[i].active > 0 && m_ConfigStrings[i].active <= m_ConfigStrings[i].iniFiles.size())
|
||||
{
|
||||
@ -843,7 +782,7 @@ void CRainmeter::ReloadSettings()
|
||||
|
||||
void CRainmeter::ActivateConfig(int configIndex, int iniIndex)
|
||||
{
|
||||
if (configIndex >= 0 && configIndex < m_ConfigStrings.size())
|
||||
if (configIndex >= 0 && configIndex < (int)m_ConfigStrings.size())
|
||||
{
|
||||
WCHAR buffer[256];
|
||||
std::wstring skinIniFile = m_ConfigStrings[configIndex].iniFiles[iniIndex];
|
||||
@ -883,14 +822,14 @@ void CRainmeter::ActivateConfig(int configIndex, int iniIndex)
|
||||
|
||||
bool CRainmeter::DeactivateConfig(CMeterWindow* meterWindow, int configIndex)
|
||||
{
|
||||
if (configIndex >= 0 && configIndex < m_ConfigStrings.size())
|
||||
if (configIndex >= 0 && configIndex < (int)m_ConfigStrings.size())
|
||||
{
|
||||
m_ConfigStrings[configIndex].active = 0; // Deactivate the config
|
||||
}
|
||||
else
|
||||
{
|
||||
// Deactive all
|
||||
for(int i = 0; i < m_ConfigStrings.size(); i++)
|
||||
for(size_t i = 0; i < m_ConfigStrings.size(); i++)
|
||||
{
|
||||
m_ConfigStrings[i].active = 0;
|
||||
}
|
||||
@ -1187,7 +1126,7 @@ BOOL CRainmeter::ExecuteBang(const std::wstring& bang, const std::wstring& arg,
|
||||
std::wstring::size_type start = std::wstring::npos;
|
||||
std::wstring::size_type end = std::wstring::npos;
|
||||
int count = 0;
|
||||
for (int i = 0; i < arg.size(); i++)
|
||||
for (size_t i = 0; i < arg.size(); i++)
|
||||
{
|
||||
if (arg[i] == L'[')
|
||||
{
|
||||
@ -1425,7 +1364,7 @@ void CRainmeter::ReadGeneralSettings(std::wstring& iniFile)
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < m_ConfigStrings.size(); i++)
|
||||
for (size_t i = 0; i < m_ConfigStrings.size(); i++)
|
||||
{
|
||||
int active = parser.ReadInt(m_ConfigStrings[i].config.c_str(), L"Active", 0);
|
||||
|
||||
@ -1444,13 +1383,13 @@ void CRainmeter::ReadGeneralSettings(std::wstring& iniFile)
|
||||
*/
|
||||
bool CRainmeter::SetActiveConfig(std::wstring& skinName, std::wstring& skinIni)
|
||||
{
|
||||
for (int i = 0; i < m_ConfigStrings.size(); i++)
|
||||
for (size_t i = 0; i < m_ConfigStrings.size(); i++)
|
||||
{
|
||||
m_ConfigStrings[i].active = 0; // Disable all other configs
|
||||
|
||||
if (skinName == m_ConfigStrings[i].config)
|
||||
{
|
||||
for (int j = 0; j < m_ConfigStrings[i].iniFiles.size(); j++)
|
||||
for (size_t j = 0; j < m_ConfigStrings[i].iniFiles.size(); j++)
|
||||
{
|
||||
if (skinIni == m_ConfigStrings[i].iniFiles[j])
|
||||
{
|
||||
@ -1663,7 +1602,7 @@ HMENU CRainmeter::CreateConfigMenu(std::vector<CONFIGMENU>& configMenuData)
|
||||
{
|
||||
configMenu = CreatePopupMenu();
|
||||
|
||||
for (int i = 0; i < configMenuData.size(); i++)
|
||||
for (size_t i = 0; i < configMenuData.size(); i++)
|
||||
{
|
||||
if (configMenuData[i].index == -1)
|
||||
{
|
||||
|
@ -15,74 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/Rainmeter.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Rainmeter.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.19 2004/08/13 15:48:34 rainy
|
||||
no message
|
||||
|
||||
Revision 1.18 2004/07/11 17:19:57 rainy
|
||||
Whole skin folder is recursively scanned.
|
||||
|
||||
Revision 1.17 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
Revision 1.16 2004/03/13 16:20:41 rainy
|
||||
Improved multiconfig support
|
||||
|
||||
Revision 1.15 2003/12/05 15:50:10 Rainy
|
||||
Multi-instance changes.
|
||||
|
||||
Revision 1.14 2003/02/10 18:10:48 rainy
|
||||
Added support for the new bangs.
|
||||
|
||||
Revision 1.13 2002/07/01 15:01:18 rainy
|
||||
Wharfdata is not used anymore.
|
||||
Added Toggle.
|
||||
|
||||
Revision 1.12 2002/05/04 08:10:25 rainy
|
||||
Added interfaces for the new bangs.
|
||||
commandline is now stored in stl string.
|
||||
|
||||
Revision 1.11 2002/04/27 10:27:13 rainy
|
||||
Added bangs to hide/show meters and measures
|
||||
|
||||
Revision 1.10 2002/04/26 18:22:02 rainy
|
||||
Added possibility to hide the meter.
|
||||
|
||||
Revision 1.9 2002/03/31 09:58:53 rainy
|
||||
Added some comments
|
||||
|
||||
Revision 1.8 2002/01/16 16:05:25 rainy
|
||||
Version 0.6
|
||||
|
||||
Revision 1.7 2001/12/23 10:11:32 rainy
|
||||
Refresh gets another parameter.
|
||||
|
||||
Revision 1.6 2001/09/26 16:23:23 rainy
|
||||
Changed the version number
|
||||
|
||||
Revision 1.5 2001/09/01 12:56:44 rainy
|
||||
Added refresh bang.
|
||||
|
||||
Revision 1.4 2001/08/25 18:07:57 rainy
|
||||
Version is now 0.4.
|
||||
|
||||
Revision 1.3 2001/08/25 17:06:24 rainy
|
||||
Changed few methods to inlines.
|
||||
Now the wharf data is stored fully.
|
||||
|
||||
Revision 1.2 2001/08/19 09:03:28 rainy
|
||||
Added VERSION string.
|
||||
|
||||
Revision 1.1.1.1 2001/08/11 10:58:19 Rainy
|
||||
Added to CVS.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __RAINMETER_H__
|
||||
#define __RAINMETER_H__
|
||||
@ -137,7 +69,7 @@ void RainmeterResetStats(HWND, const char* arg);
|
||||
void RainmeterMoveMeter(HWND, const char* arg);
|
||||
void RainmeterPluginBang(HWND, const char* arg);
|
||||
|
||||
void BangWithArgs(BANGCOMMAND bang, const WCHAR* arg, int numOfArgs);
|
||||
void BangWithArgs(BANGCOMMAND bang, const WCHAR* arg, size_t numOfArgs);
|
||||
|
||||
struct GlobalConfig
|
||||
{
|
||||
|
@ -15,20 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/TrayWindow.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: TrayWindow.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.2 2004/07/11 17:19:57 rainy
|
||||
Whole skin folder is recursively scanned.
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#define _WIN32_IE 0x0600
|
||||
|
||||
@ -106,7 +92,7 @@ CTrayWindow::~CTrayWindow()
|
||||
if (m_Bitmap) delete m_Bitmap;
|
||||
if (m_Measure) delete m_Measure;
|
||||
|
||||
for (int i = 0; i < m_TrayIcons.size(); i++)
|
||||
for (size_t i = 0; i < m_TrayIcons.size(); i++)
|
||||
{
|
||||
DestroyIcon(m_TrayIcons[i]);
|
||||
}
|
||||
@ -312,7 +298,7 @@ HICON CTrayWindow::CreateTrayIcon(double value)
|
||||
|
||||
void CTrayWindow::ReadConfig(CConfigParser& parser)
|
||||
{
|
||||
for (int i = 0; i < m_TrayIcons.size(); i++)
|
||||
for (size_t i = 0; i < m_TrayIcons.size(); i++)
|
||||
{
|
||||
DestroyIcon(m_TrayIcons[i]);
|
||||
}
|
||||
@ -496,9 +482,9 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
// Check which config was selected
|
||||
const std::vector<CRainmeter::CONFIG>& configs = Rainmeter->GetAllConfigs();
|
||||
|
||||
for (int i = 0; i < configs.size(); i++)
|
||||
for (size_t i = 0; i < configs.size(); i++)
|
||||
{
|
||||
for (int j = 0; j < configs[i].commands.size(); j++)
|
||||
for (size_t j = 0; j < configs[i].commands.size(); j++)
|
||||
{
|
||||
if (configs[i].commands[j] == wParam)
|
||||
{
|
||||
@ -530,7 +516,7 @@ LRESULT CALLBACK CTrayWindow::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
int index = (int)(wParam >> 16);
|
||||
std::map<std::wstring, CMeterWindow*>& windows = Rainmeter->GetAllMeterWindows();
|
||||
|
||||
if (index < windows.size())
|
||||
if (index < (int)windows.size())
|
||||
{
|
||||
std::map<std::wstring, CMeterWindow*>::iterator iter = windows.begin();
|
||||
for( ; iter != windows.end(); iter++)
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/TrayWindow.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: TrayWindow.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/06/05 10:55:54 rainy
|
||||
Too much changes to be listed in here...
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __TRAYWINDOW_H__
|
||||
#define __TRAYWINDOW_H__
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/UpdateCheck.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: UpdateCheck.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/08/13 15:44:02 rainy
|
||||
Initial version.
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,17 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Library/UpdateCheck.h,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: UpdateCheck.h,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.1 2004/08/13 15:44:02 rainy
|
||||
Initial version.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __UPDATE_CHECK_H__
|
||||
#define __UPDATE_CHECK_H__
|
||||
|
@ -112,7 +112,7 @@ bool CheckProcess(CPUMeasure* measure, const std::wstring& name)
|
||||
{
|
||||
if (measure->includes.empty())
|
||||
{
|
||||
for (int i = 0; i < measure->excludes.size(); i++)
|
||||
for (size_t i = 0; i < measure->excludes.size(); i++)
|
||||
{
|
||||
if (wcsicmp(measure->excludes[i].c_str(), name.c_str()) == 0)
|
||||
{
|
||||
@ -123,7 +123,7 @@ bool CheckProcess(CPUMeasure* measure, const std::wstring& name)
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < measure->includes.size(); i++)
|
||||
for (size_t i = 0; i < measure->includes.size(); i++)
|
||||
{
|
||||
if (wcsicmp(measure->includes[i].c_str(), name.c_str()) == 0)
|
||||
{
|
||||
@ -159,7 +159,7 @@ double Update2(UINT id)
|
||||
|
||||
if(measure)
|
||||
{
|
||||
for (int i = 0; i < g_Processes.size(); i++)
|
||||
for (size_t i = 0; i < g_Processes.size(); i++)
|
||||
{
|
||||
// Check process include/exclude
|
||||
if (CheckProcess(measure, g_Processes[i].name))
|
||||
@ -320,7 +320,7 @@ void UpdateProcesses()
|
||||
values.oldValue = 0;
|
||||
|
||||
// Check if we can find the old value
|
||||
for (int i = 0; i < g_Processes.size(); i++)
|
||||
for (size_t i = 0; i < g_Processes.size(); i++)
|
||||
{
|
||||
if (!g_Processes[i].found && g_Processes[i].name == name)
|
||||
{
|
||||
|
@ -15,24 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginExample/ExamplePlugin.c,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: ExamplePlugin.c,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.3 2004/06/05 10:49:50 rainy
|
||||
Added new interface.
|
||||
Uses config parser.
|
||||
|
||||
Revision 1.2 2001/12/23 10:04:51 rainy
|
||||
Added ID to the interface.
|
||||
|
||||
Revision 1.1 2001/10/28 09:05:05 rainy
|
||||
Inital version
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
|
@ -15,14 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginPing/Ping.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Ping.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,27 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginPower/PowerPlugin.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: PowerPlugin.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.4 2004/07/11 17:10:42 rainy
|
||||
The plugin is cleaned up correctly.
|
||||
|
||||
Revision 1.3 2004/06/05 10:56:07 rainy
|
||||
Added new interface.
|
||||
Uses config parser.
|
||||
|
||||
Revision 1.2 2003/03/22 20:39:42 rainy
|
||||
The max value for status is now correct.
|
||||
|
||||
Revision 1.1 2002/09/07 08:17:11 rainy
|
||||
Intial version
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -15,14 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginQuote/Quote.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: Quote.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -16,22 +16,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginResMon/ResMon.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: ResMon.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.2 2004/07/11 17:10:42 rainy
|
||||
The plugin is cleaned up correctly.
|
||||
|
||||
Revision 1.1 2004/06/05 10:56:56 rainy
|
||||
Added new interfaces for plugin version and author.
|
||||
Added possibility to measure a single process.
|
||||
|
||||
*/
|
||||
|
||||
/*
|
||||
Requires Win2k or later. Sorry to anyone still using 9x or ME.
|
||||
All my results seem to agree with Task Manager (it gets tedious adding up
|
||||
|
@ -15,14 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginSpeedFan/SpeedFanPlugin.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: SpeedFanPlugin.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -16,28 +16,6 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginSysInfo/SysInfo.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
|
||||
$Log: SysInfo.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
|
||||
Revision 1.4 2004/07/11 17:10:42 rainy
|
||||
The plugin is cleaned up correctly.
|
||||
|
||||
Revision 1.3 2004/06/05 10:57:05 rainy
|
||||
Added new interface.
|
||||
Uses config parser.
|
||||
|
||||
Revision 1.2 2002/12/23 14:24:46 rainy
|
||||
Added secondary dns server return value.
|
||||
|
||||
Revision 1.1 2002/07/01 15:36:03 rainy
|
||||
Intial version
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
||||
|
@ -1,23 +1,19 @@
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginWebParser/WebParser.cpp,v 1.1.1.1 2005/07/10 18:51:06 rainy Exp $
|
||||
/*
|
||||
Copyright (C) 2005 Kimmo Pekkola
|
||||
|
||||
$Log: WebParser.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:06 rainy
|
||||
no message
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Revision 1.4 2004/07/11 17:11:04 rainy
|
||||
Added option to download files.
|
||||
|
||||
Revision 1.3 2004/06/05 10:57:13 rainy
|
||||
Added new interface.
|
||||
Uses config parser.
|
||||
|
||||
Revision 1.2 2003/03/22 20:38:59 rainy
|
||||
Should work now.
|
||||
|
||||
Revision 1.1 2003/03/14 10:19:51 rainy
|
||||
Initial version
|
||||
This program 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 General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
// Note: To compile this you need the PCRE library (http://www.pcre.org/).
|
||||
|
@ -15,14 +15,6 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
/*
|
||||
$Header: /home/cvsroot/Rainmeter/Plugins/PluginWindowMessage/WindowMessagePlugin.cpp,v 1.1.1.1 2005/07/10 18:51:07 rainy Exp $
|
||||
|
||||
$Log: WindowMessagePlugin.cpp,v $
|
||||
Revision 1.1.1.1 2005/07/10 18:51:07 rainy
|
||||
no message
|
||||
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4786)
|
||||
#pragma warning(disable: 4996)
|
||||
|
@ -1,19 +1,6 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 8.00
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Application", "Application\Application.vcproj", "{AD74F5C2-EF08-42B6-88F3-A840DCA4D7E5}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{F6803AC5-272F-402B-9CA0-DEF8A3D83D30} = {F6803AC5-272F-402B-9CA0-DEF8A3D83D30}
|
||||
{E4646B24-6882-465E-BAFB-76862B7EBDC2} = {E4646B24-6882-465E-BAFB-76862B7EBDC2}
|
||||
{0FE204A1-85F6-4F56-A7AD-45A2039F523A} = {0FE204A1-85F6-4F56-A7AD-45A2039F523A}
|
||||
{2699CA81-6ED5-4EDB-A018-3C9C81CEE7D4} = {2699CA81-6ED5-4EDB-A018-3C9C81CEE7D4}
|
||||
{1A8E5D4B-10CB-4786-AA47-4FFC5AB51768} = {1A8E5D4B-10CB-4786-AA47-4FFC5AB51768}
|
||||
{B56F0A33-E1A4-4929-AD5B-3B46CC9D8FAE} = {B56F0A33-E1A4-4929-AD5B-3B46CC9D8FAE}
|
||||
{CEAF771F-C508-4364-BDF6-53A934AABD51} = {CEAF771F-C508-4364-BDF6-53A934AABD51}
|
||||
{C119466B-4A25-408E-98EA-6428A2DC969D} = {C119466B-4A25-408E-98EA-6428A2DC969D}
|
||||
{9ED9D4FA-BF62-4D96-89E3-037726C6FEA7} = {9ED9D4FA-BF62-4D96-89E3-037726C6FEA7}
|
||||
{59F6400D-A550-4F99-85F7-4FEA5484724D} = {59F6400D-A550-4F99-85F7-4FEA5484724D}
|
||||
{5A31C710-DE80-4654-9845-80A93E4AFEF7} = {5A31C710-DE80-4654-9845-80A93E4AFEF7}
|
||||
{D76587CE-7D1B-48C9-83AB-91CA888E4562} = {D76587CE-7D1B-48C9-83AB-91CA888E4562}
|
||||
{28E56A55-43A3-4926-A0B5-C5E056073519} = {28E56A55-43A3-4926-A0B5-C5E056073519}
|
||||
{BE3325E4-475C-40D0-9745-EE20BA3D8443} = {BE3325E4-475C-40D0-9745-EE20BA3D8443}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
|
Loading…
Reference in New Issue
Block a user