|
|
@ -11,7 +11,7 @@ USE_GRAPHICS = dscreen.inGraphicsMode()
|
|
|
|
|
|
|
|
|
|
|
|
local to_pen = dfhack.pen.parse
|
|
|
|
local to_pen = dfhack.pen.parse
|
|
|
|
|
|
|
|
|
|
|
|
CLEAR_PEN = to_pen{ch=32,fg=0,bg=0}
|
|
|
|
CLEAR_PEN = to_pen{tile=909, ch=32, fg=0, bg=0}
|
|
|
|
|
|
|
|
|
|
|
|
local FAKE_INPUT_KEYS = {
|
|
|
|
local FAKE_INPUT_KEYS = {
|
|
|
|
_MOUSE_L = true,
|
|
|
|
_MOUSE_L = true,
|
|
|
@ -624,6 +624,7 @@ function Screen:renderParent()
|
|
|
|
else
|
|
|
|
else
|
|
|
|
dscreen.clear()
|
|
|
|
dscreen.clear()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
df.global.gps.force_full_display_count = 1
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function Screen:sendInputToParent(...)
|
|
|
|
function Screen:sendInputToParent(...)
|
|
|
@ -693,15 +694,17 @@ BOUNDARY_FRAME = {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GREY_LINE_FRAME = {
|
|
|
|
GREY_LINE_FRAME = {
|
|
|
|
frame_pen = to_pen{ ch = 206, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
frame_pen = to_pen{ ch=206, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
h_frame_pen = to_pen{ ch = 205, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
t_frame_pen = to_pen{ tile=902, ch=205, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
v_frame_pen = to_pen{ ch = 186, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
l_frame_pen = to_pen{ tile=908, ch=186, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
lt_frame_pen = to_pen{ ch = 201, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
b_frame_pen = to_pen{ tile=916, ch=205, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
lb_frame_pen = to_pen{ ch = 200, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
r_frame_pen = to_pen{ tile=910, ch=186, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
rt_frame_pen = to_pen{ ch = 187, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
lt_frame_pen = to_pen{ tile=901, ch=201, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
rb_frame_pen = to_pen{ ch = 188, fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
lb_frame_pen = to_pen{ tile=915, ch=200, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
title_pen = to_pen{ fg = COLOR_BLACK, bg = COLOR_GREY },
|
|
|
|
rt_frame_pen = to_pen{ tile=903, ch=187, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
signature_pen = to_pen{ fg = COLOR_GREY, bg = COLOR_BLACK },
|
|
|
|
rb_frame_pen = to_pen{ tile=917, ch=188, fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
|
|
|
|
title_pen = to_pen{ fg=COLOR_BLACK, bg=COLOR_GREY },
|
|
|
|
|
|
|
|
signature_pen = to_pen{ fg=COLOR_GREY, bg=COLOR_BLACK },
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function paint_frame(dc,rect,style,title)
|
|
|
|
function paint_frame(dc,rect,style,title)
|
|
|
|