mirror of https://github.com/adamdruppe/arsd.git
notes
This commit is contained in:
parent
bbec18a96d
commit
a8785995bf
2
cgi.d
2
cgi.d
|
@ -10130,8 +10130,10 @@ q"css
|
||||||
|
|
||||||
ol.automatic-data-display {
|
ol.automatic-data-display {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
/*
|
||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
dl.automatic-data-display {
|
dl.automatic-data-display {
|
||||||
|
|
|
@ -132,8 +132,11 @@ the virtual functions remain as the default calculated values. then the reads go
|
||||||
layout engine tries to automatically fit things in, similar to a css flexbox.
|
layout engine tries to automatically fit things in, similar to a css flexbox.
|
||||||
|
|
||||||
FOR BEST RESULTS: be sure to link with the appropriate subsystem command
|
FOR BEST RESULTS: be sure to link with the appropriate subsystem command
|
||||||
`-L/SUBSYSTEM:WINDOWS:5.0`, for example, because otherwise you'll get a
|
`-L/SUBSYSTEM:WINDOWS` and -L/entry:mainCRTStartup`. If using ldc instead
|
||||||
console and other visual bugs.
|
of dmd, use `-L/entry:wmainCRTStartup` instead of `mainCRTStartup`; note the "w".
|
||||||
|
|
||||||
|
Otherwise you'll get a console and possibly other visual bugs. But if you do use
|
||||||
|
the subsystem:windows, note that Phobos' writeln will crash the program!
|
||||||
|
|
||||||
HTML_To_Classes:
|
HTML_To_Classes:
|
||||||
$(SMALL_TABLE
|
$(SMALL_TABLE
|
||||||
|
@ -9397,7 +9400,7 @@ private class TableViewWidgetInner : Widget {
|
||||||
|
|
||||||
override void registerMovement() {
|
override void registerMovement() {
|
||||||
super.registerMovement();
|
super.registerMovement();
|
||||||
// FIXME: actual column width. it might need to be done per-pixel instead of per-colum
|
// FIXME: actual column width. it might need to be done per-pixel instead of per-column
|
||||||
smw.setViewableArea(this.width, this.height / lh);
|
smw.setViewableArea(this.width, this.height / lh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9579,6 +9579,14 @@ auto SdpyIntegratedKeys(SimpleWindow)(SimpleWindow window) {
|
||||||
static import sdpy = arsd.simpledisplay;
|
static import sdpy = arsd.simpledisplay;
|
||||||
Terminal* terminal;
|
Terminal* terminal;
|
||||||
RealTimeConsoleInput* rtti;
|
RealTimeConsoleInput* rtti;
|
||||||
|
|
||||||
|
// FIXME hack to work around bug in opend compiler (i think)
|
||||||
|
version(D_OpenD)
|
||||||
|
alias mutableRefInit = imported!"core.attribute".mutableRefInit;
|
||||||
|
else
|
||||||
|
enum mutableRefInit;
|
||||||
|
|
||||||
|
@mutableRefInit
|
||||||
typeof(RealTimeConsoleInput.init.integrateWithSimpleDisplayEventLoop(null)) listener;
|
typeof(RealTimeConsoleInput.init.integrateWithSimpleDisplayEventLoop(null)) listener;
|
||||||
this(sdpy.SimpleWindow window) {
|
this(sdpy.SimpleWindow window) {
|
||||||
terminal = new Terminal(ConsoleOutputType.linear);
|
terminal = new Terminal(ConsoleOutputType.linear);
|
||||||
|
|
Loading…
Reference in New Issue