mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 21:38:16 +02:00
implemented changing caption during compilation/debugging
git-svn-id: trunk@4176 -
This commit is contained in:
parent
19d595dc9e
commit
692d003027
@ -334,6 +334,9 @@ type
|
||||
HintWindow1 : THintWindow;
|
||||
|
||||
procedure mnuWindowsItemClick(Sender: TObject);
|
||||
private
|
||||
FToolStatus: TIDEToolStatus;
|
||||
procedure SetToolStatus(const AValue: TIDEToolStatus);
|
||||
protected
|
||||
TheCompiler: TCompiler;
|
||||
TheOutputFilter: TOutputFilter;
|
||||
@ -353,10 +356,12 @@ type
|
||||
|
||||
procedure LoadMenuShortCuts; virtual;
|
||||
public
|
||||
ToolStatus: TIDEToolStatus;
|
||||
CurrentParsedCompilerOption: TParsedCompilerOptions;
|
||||
MacroList: TTransferMacroList;
|
||||
|
||||
property ToolStatus: TIDEToolStatus read FToolStatus write SetToolStatus;
|
||||
procedure UpdateCaption; virtual; abstract;
|
||||
|
||||
procedure CreateOftenUsedForms; virtual; abstract;
|
||||
|
||||
function FindUnitFile(const AFilename: string): string; virtual; abstract;
|
||||
@ -502,6 +507,13 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TMainIDEBar.SetToolStatus(const AValue: TIDEToolStatus);
|
||||
begin
|
||||
if FToolStatus=AValue then exit;
|
||||
FToolStatus:=AValue;
|
||||
UpdateCaption;
|
||||
end;
|
||||
|
||||
function TMainIDEBar.CreateMenuSeparator : TMenuItem;
|
||||
begin
|
||||
Result := TMenuItem.Create(Self);
|
||||
|
Loading…
Reference in New Issue
Block a user