-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
・各オーバーレイの HTML 内で onOverlayDataUpdate イベントを発行することにより、イベントドリブンな動作を可能にした
・ログビューを ListView に切り替え、警告やエラーは色付きで表示するようにした ・ログビューのコンテキストメニューに「すべてのログをコピー」「常に最新のログを追跡」「ログをクリア」を追加した ・CEF から出力されるコンソールメッセージをログに表示するようにした ・ミニパースオーバーレイ用 HTML のデフォルトファイル名を default.html から miniparse.html に変更した ・miniparse.html において、イベントドリブンな動作を行うように変更した ・miniparse.html において、各項目に HTML を指定できるように改良した ・miniparse.html において、データ定義の text、html プロパティに関数を指定できるように改良した ・miniparse.html において、データ定義のプロパティに effect を追加した ・配布バイナリについて、-update のほうに resources フォルダを毎回含めるようにした
- Loading branch information
1 parent
9f7c2d6
commit 4c2cc3a
Showing
17 changed files
with
552 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Xilium.CefGlue; | ||
|
||
namespace RainbowMage.HtmlRenderer | ||
{ | ||
class DisplayHandler : CefDisplayHandler | ||
{ | ||
private Renderer renderer; | ||
|
||
public DisplayHandler(Renderer renderer) | ||
{ | ||
this.renderer = renderer; | ||
} | ||
|
||
protected override bool OnConsoleMessage(CefBrowser browser, string message, string source, int line) | ||
{ | ||
this.renderer.OnConsoleLog(browser, message, source, line); | ||
|
||
return base.OnConsoleMessage(browser, message, source, line); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.