mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 13:22:46 +02:00
50 lines
921 B
ObjectPascal
50 lines
921 B
ObjectPascal
unit DocEditor;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls,
|
|
ComCtrls,
|
|
LazarusIDEStrConsts, IDEProcs, EnvironmentOpts, IDEOptionDefs;
|
|
|
|
type
|
|
TDocEditorWnd = class(TForm)
|
|
ButtonsPanel: TPANEL;
|
|
ContextTreeview: TTREEVIEW;
|
|
FilesNotebook: TNOTEBOOK;
|
|
ButtonImagelist: TIMAGELIST;
|
|
procedure DocEditorWndCREATE(Sender: TObject);
|
|
private
|
|
public
|
|
end;
|
|
|
|
var
|
|
DocEditorWnd: TDocEditorWnd;
|
|
|
|
implementation
|
|
|
|
{ TDocEditorWnd }
|
|
|
|
procedure TDocEditorWnd.DocEditorWndCREATE(Sender: TObject);
|
|
begin
|
|
Name:=NonModalIDEWindowNames[nmiwDocEditor];
|
|
Caption := lisDocumentationEditor;
|
|
EnvironmentOptions.IDEWindowLayoutList.Apply(Self,Name);
|
|
|
|
ButtonImageList:=TImageList.Create(Self);
|
|
with ButtonImageList do
|
|
begin
|
|
Name:='ButtonImageList';
|
|
Width:=24
|
|
Height:=24;
|
|
end;
|
|
end;
|
|
|
|
initialization
|
|
{$I doceditor.lrs}
|
|
|
|
end.
|
|
|