Skip to main content

draw_child_frame

Function draw_child_frame 

Source
pub(crate) fn draw_child_frame(
    frames: &mut BTreeMap<String, Box<WebEngine>>,
    parent: &FrameParent<'_>,
    key: &str,
    url: &str,
    screen: &Screen,
    x: i32,
    y: i32,
    w: i32,
    h: i32,
) -> bool
Expand description

子フレームを(無ければ作って読み込みを始め)iframe の矩形 (x, y, w, h) に描く。 描けなかった(上限・小さすぎる)ときは false(呼び出し側はプレビューを描く)。