Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added TuiContainer and TuiDialog and TuiFileBox. TuiWindow now adds w…
…idgets to a container subclass. It is easier this way. All containers clip to their rect and all widgets clip to their context space. Added some preliminary exceptions. Fixed a bug in Directory Scaffold for Windows. Separated variadic string format from Console. Prettied output for debugger.
- Loading branch information
Showing
20 changed files
with
861 additions
and
314 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,41 @@ | ||
/* | ||
* exception.d | ||
* | ||
* This module defines common exceptions. | ||
* | ||
* Author: Dave Wilkinson | ||
* Originated: August 20th, 2009 | ||
* | ||
*/ | ||
|
||
module core.exception; | ||
|
||
import core.string; | ||
|
||
class FileNotFound : Exception { | ||
this() { | ||
super("File Not Found"); | ||
} | ||
|
||
this(String path) { | ||
super("File Not Found: " ~ path.toString()); | ||
} | ||
|
||
this(string path) { | ||
super("File Not Found: " ~ path); | ||
} | ||
} | ||
|
||
class DirectoryNotFound : Exception { | ||
this() { | ||
super("Directory Not Found"); | ||
} | ||
|
||
this(String path) { | ||
super("Directory Not Found: " ~ path.toString()); | ||
} | ||
|
||
this(string path) { | ||
super("Directory Not Found: " ~ path); | ||
} | ||
} |
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.