[go: up one dir, main page]

Menu

[r19]: / trunk / UndoState.cpp  Maximize  Restore  History

Download this file

31 lines (25 with data), 843 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyleft 2004 Chris Korda
// 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 any later version.
/*
chris korda
revision history:
rev date comments
00 22feb04 initial version
01 22nov06 add support for double and int64
02 23nov07 support Unicode
03 03jan08 replace CSmartBuf with CRefPtr
04 18mar08 make CRefPtr a template
05 09sep14 use default memberwise copy
undo state container
*/
#include "stdafx.h"
#include "UndoState.h"
CString CUndoState::DumpState() const
{
CString s;
s.Format(_T("CtrlID=%d Code=%d a=0x%x b=0x%x"),
m_CtrlID, m_Code, m_Val.p.x.i, m_Val.p.y.i);
return(s);
}