1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
pub use crate::prelude::*;
use crate::widget::*;
use crate::app::*;
use fltk_sys::window::*;
use crate::image::Image;
use std::{ffi::{CStr, CString}, mem, os::raw};
#[derive(WidgetTrait, GroupTrait, WindowTrait, Debug, Clone)]
pub struct Window {
_inner: *mut Fl_Window,
}
#[repr(i32)]
#[derive(WidgetType, Debug, Copy, Clone, PartialEq)]
pub enum WindowType {
NormalWindow = 240,
DoubleWindow = 241,
}
#[derive(WidgetTrait, GroupTrait, WindowTrait, Debug, Clone)]
pub struct DoubleWindow {
_inner: *mut Fl_Double_Window,
}
#[derive(WidgetTrait, GroupTrait, WindowTrait, Debug, Clone)]
pub struct MenuWindow {
_inner: *mut Fl_Menu_Window,
}