Menu

[r58]: / trunk / src / DiffViewer.h  Maximize  Restore  History

Download this file

27 lines (20 with data), 532 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
#pragma once
#include "Platform.h"
#include "Scintilla.h"
class CDiffViewer
{
public:
CDiffViewer(void);
~CDiffViewer(void);
bool Initialize();
LRESULT SendEditor(UINT Msg, WPARAM wParam = 0, LPARAM lParam = 0);
HWND GetHWND() { return m_hWnd; }
bool LoadFile(LPCTSTR filename);
private:
void SetAStyle(int style, COLORREF fore, COLORREF back=::GetSysColor(COLOR_WINDOW),
int size=-1, const char *face=0);
private:
LRESULT m_directFunction;
LRESULT m_directPointer;
HWND m_hWnd;
};
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.