Commit e0afca6e authored by Hanspeter Portner's avatar Hanspeter Portner

Merge commit 'c9303e8a'

parents b47824cd c9303e8a
Pipeline #6443815 passed with stages
in 10 minutes and 39 seconds
......@@ -16914,24 +16914,9 @@ nk_panel_end(struct nk_context *ctx)
layout->bounds.y + layout->bounds.h + layout->footer_height:
window->bounds.y + window->bounds.h;
/* draw border top */
nk_stroke_line(out,window->bounds.x,window->bounds.y,
window->bounds.x + window->bounds.w, window->bounds.y,
layout->border, border_color);
/* draw bottom border */
nk_stroke_line(out, window->bounds.x, padding_y,
window->bounds.x + window->bounds.w, padding_y, layout->border, border_color);
/* draw left border */
nk_stroke_line(out, window->bounds.x + layout->border*0.5f,
window->bounds.y, window->bounds.x + layout->border*0.5f,
padding_y, layout->border, border_color);
/* draw right border */
nk_stroke_line(out, window->bounds.x + window->bounds.w - layout->border*0.5f,
window->bounds.y, window->bounds.x + window->bounds.w - layout->border*0.5f,
padding_y, layout->border, border_color);
/* draw border rectangle */
nk_stroke_rect(out, nk_rect(window->bounds.x, window->bounds.y,
window->bounds.w - 2.f, padding_y - window->bounds.y), 0.f, layout->border, border_color);
}
/* scaler */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment