-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #868 from Barsonax/feature/update-logview-settings
#CHANGE Updated logview plugin to use the new model based editoruserdata settings API
- Loading branch information
Showing
5 changed files
with
128 additions
and
68 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
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,55 @@ | ||
namespace Duality.Editor.Plugins.LogView | ||
{ | ||
public class LogViewSettings | ||
{ | ||
private bool showMessages = true; | ||
private bool showWarnings = true; | ||
private bool showErrors = true; | ||
private bool showCore = true; | ||
private bool showEditor = true; | ||
private bool showGame = true; | ||
private bool autoClear = true; | ||
private bool pauseOnError = true; | ||
|
||
public bool ShowMessages | ||
{ | ||
get { return this.showMessages; } | ||
set { this.showMessages = value; } | ||
} | ||
public bool ShowWarnings | ||
{ | ||
get { return this.showWarnings; } | ||
set { this.showWarnings = value; } | ||
} | ||
public bool ShowErrors | ||
{ | ||
get { return this.showErrors; } | ||
set { this.showErrors = value; } | ||
} | ||
public bool ShowCore | ||
{ | ||
get { return this.showCore; } | ||
set { this.showCore = value; } | ||
} | ||
public bool ShowEditor | ||
{ | ||
get { return this.showEditor; } | ||
set { this.showEditor = value; } | ||
} | ||
public bool ShowGame | ||
{ | ||
get { return this.showGame; } | ||
set { this.showGame = value; } | ||
} | ||
public bool AutoClear | ||
{ | ||
get { return this.autoClear; } | ||
set { this.autoClear = value; } | ||
} | ||
public bool PauseOnError | ||
{ | ||
get { return this.pauseOnError; } | ||
set { this.pauseOnError = value; } | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
Source/Plugins/EditorModules/LogView/Modules/LogView.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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