FBrowserExeName: string;
FReplacePresets: TReplacePresets;
FNoWarnOfEmptyFMO: Boolean;
+ FShowEditorPreviewWindow: Boolean;
procedure SetDblClkInsert(const Value: boolean);
procedure SetDefaultScript(const Value: String);
//SSTP\83T\81[\83o\94ñ\91¶\8dÝ\8cx\8d\90\82Ì\83J\83b\83g\82ð\82·\82é\82©
property NoWarnOfEmptyFMO: Boolean
read FNoWarnOfEmptyFMO write FNoWarnOfEmptyFMO;
+ //\83G\83f\83B\83^\83v\83\8c\83r\83\85\81[\83E\83C\83\93\83h\83E\82Ì\8fó\91Ô\95Û\91¶\97p
+ property ShowEditorPreviewWindow: Boolean
+ read FShowEditorPreviewWindow write FShowEditorPreviewWindow;
//\83R\83\93\83X\83g\83\89\83N\83^\81E\83f\83X\83g\83\89\83N\83^\81E\95Û\91¶
constructor Create;
SentLogFile = 'sent.log';
- BottleDisclaimer = '(C)2001-2004 WinBottle Project'#13#10 +
- 'naru, C.Ponapalt, Yune Kotomi, yese, Mikage Sawatari'#13#10 +
+ BottleDisclaimer = '(C)2001-2005 WinBottle Project'#13#10 +
+ 'naru, C.Ponapalt, Yune Kotomi, yese, Mikage Sawatari, E01'#13#10 +
DefaultHomePage;
ChannelDefault = '(CH\90\84\8f§)';
ConfirmOnExit := FIni.ReadBool('System', 'ConfirmOnExit', false);
ConfirmOnTabClose := FIni.ReadBool('System', 'ConfirmOnTabClose', false);
NoWarnOfEmptyFMO := FIni.ReadBool('System', 'NoWarnOfEmptyFMO', False);
+ ShowEditorPreviewWindow := FIni.ReadBool('System', 'ShowEditorPreviewWindow', False);
AutoClip := FIni.ReadBool('System', 'AutoClip', false);
AutoStart := FIni.ReadBool('System', 'AutoStart', false);
FIni.WriteBool('System', 'SurfacePreviewOnScriptPoint', SurfacePreviewOnScriptPoint);
FIni.WriteInteger('System', 'SurfacePreviewOnScriptPointPosition', Ord(SurfacePreviewOnScriptPointPosition));
- FIni.WriteString('System', 'BrowserExeName', FBrowserExeName);
- FIni.WriteBool('System', 'NoWarnOfEmptyFMO', FNoWarnOfEmptyFMO);
+ FIni.WriteString('System', 'BrowserExeName', BrowserExeName);
+ FIni.WriteBool('System', 'NoWarnOfEmptyFMO', NoWarnOfEmptyFMO);
+ FIni.WriteBool('System', 'ShowEditorPreviewWindow', ShowEditorPreviewWindow);
Strs := TStringList.Create;
try
SsParser: TSsParser;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
+ procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private \90é\8c¾ }
public
Pref.EditorPreviewWindowPosition := ARect;
end;
+procedure TfrmEditorTalkShow.FormClose(Sender: TObject;
+ var Action: TCloseAction);
+begin
+ Pref.ShowEditorPreviewWindow := False;
+
+ //\88ê\89\9e\96¾\8e¦\93I\82É\81u\89B\82ê\82é\81v\93®\8dì\82ð\8ew\8e¦\82µ\82Ä\82¨\82\81i\83f\83t\83H\83\8b\83g\82Å\89B\82ê\82é\81j
+ Action := caHide;
+end;
+
initialization
frmEditorTalkShow := nil;
//LUID\82ª\8eæ\93¾\82³\82ê\82Ä\82¢\82ê\82Î\91\81\91¬\93o\98^\81B\82»\82¤\82Å\82È\82¯\82ê\82ÎLUID\8eæ\93¾\81B
if Pref.LUID <> '' then BeginConnect
else mnGetNewIdClick(Self);
+
FAutoAddAfterGetChannel := Pref.AutoStart;
FBooted := true;
+
frmLog.Show;
frmSurfacePreview.Show;
Self.Show;
+
+ //\83G\83f\83B\83^\83v\83\8c\83r\83\85\81[\82ª\91O\89ñ\95\\8e¦\8fó\91Ô\82È\82ç\82±\82±\82Å\95\\8e¦\82·\82é
+ if Pref.ShowEditorPreviewWindow then actEditorPreviewExecute(Sender);
+
SakuraSeeker.BeginDetect;
SakuraSeekerDetectResultChanged(self);
if (SakuraSeeker.Count = 0) and not Pref.NoWarnOfEmptyFMO then
frmEditorTalkShow.TalkShowFrame.SetPreviewFont(memScript.Font);
frmEditorTalkShow.Show;
end;
+ Pref.ShowEditorPreviewWindow := True;
EditorPreview;
end;