4#include "Stroika/Frameworks/StroikaPreComp.h"
12using namespace Stroika::Frameworks;
13using namespace Stroika::Frameworks::Led;
20SimpleLedWordProcessor::SimpleLedWordProcessor ()
22 , fCommandHandler (kMaxUndoLevels)
25 SpecifyTextStore (&fTextStore);
26 SetCommandHandler (&fCommandHandler);
29SimpleLedWordProcessor::~SimpleLedWordProcessor ()
31 SetCommandHandler (NULL);
32 SpecifyTextStore (NULL);
36IMPLEMENT_DYNCREATE (SimpleLedWordProcessor, CView)
37BEGIN_MESSAGE_MAP (SimpleLedWordProcessor, SimpleLedWordProcessor::inherited)
46SimpleLedLineEditor::SimpleLedLineEditor ()
48 , fCommandHandler (kMaxUndoLevels)
51 SpecifyTextStore (&fTextStore);
52 SetCommandHandler (&fCommandHandler);
53 SetScrollBarType (h, eScrollBarAlways);
54 SetScrollBarType (v, eScrollBarAlways);
57SimpleLedLineEditor::~SimpleLedLineEditor ()
59 SpecifyTextStore (NULL);
63IMPLEMENT_DYNCREATE (SimpleLedLineEditor, CView)
64BEGIN_MESSAGE_MAP (SimpleLedLineEditor, SimpleLedLineEditor::inherited)
74LedDialogText::LedDialogText ()
79#if qStroika_Platform_Windows && defined(_MFC_VER)
80void LedDialogText::PostNcDestroy ()
83 CWnd::PostNcDestroy ();
85int LedDialogText::OnMouseActivate (CWnd* pDesktopWnd, UINT nHitTest, UINT message)
89 int nResult = CWnd::OnMouseActivate (pDesktopWnd, nHitTest, message);
94#if qStroika_Platform_Windows && defined(_MFC_VER)
95IMPLEMENT_DYNCREATE (LedDialogText, CView)
96BEGIN_MESSAGE_MAP (LedDialogText, LedDialogText::inherited)