-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
about window and more work on post process chain
- Loading branch information
Showing
15 changed files
with
354 additions
and
62 deletions.
There are no files selected for viewing
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
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,56 @@ | ||
// This file has been autogenerated from a class added in the UI designer. | ||
|
||
using System; | ||
|
||
using Foundation; | ||
using AppKit; | ||
|
||
namespace AstroWall | ||
{ | ||
public partial class AboutViewController : NSViewController | ||
{ | ||
|
||
|
||
public AboutViewController(IntPtr handle) : base(handle) | ||
{ | ||
} | ||
|
||
public override void ViewDidLoad() | ||
{ | ||
base.ViewDidLoad(); | ||
OutletVersion.StringValue = General.currentVersion(); | ||
} | ||
|
||
//public override void | ||
//{ | ||
// base.DidAddSubview(subview); | ||
//} | ||
|
||
partial void ActionGithub(NSObject sender) | ||
{ | ||
openWebPage("https://github.com/wiegell/AstroWall/"); | ||
} | ||
partial void ActionWeb(NSObject sender) | ||
{ | ||
openWebPage("https://wiegell.github.io/AstroWall/"); | ||
} | ||
partial void ActionIssues(NSObject sender) | ||
{ | ||
openWebPage("https://github.com/wiegell/AstroWall/issues"); | ||
} | ||
|
||
private void openWebPage(string url) | ||
{ | ||
NSTask nstask = new NSTask(); | ||
nstask.LaunchPath = "/bin/bash"; | ||
nstask.Arguments = new string[] | ||
{ | ||
"-c", | ||
"open "+url | ||
}; | ||
//+" " | ||
nstask.Launch(); | ||
nstask.WaitUntilExit(); | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
AstroWall/ApplicationLayer/View/AboutViewController.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
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
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
Oops, something went wrong.