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
34
35
36
use crate::app::*;
use crate::image::Image;
pub use crate::prelude::*;
use crate::widget::*;
use fltk_sys::window::*;
use std::{
ffi::{CStr, CString},
mem,
os::raw,
};
#[derive(WidgetExt, GroupExt, WindowExt, Debug)]
pub struct Window {
_inner: *mut Fl_Window,
}
#[repr(i32)]
#[derive(WidgetType, Debug, Copy, Clone, PartialEq)]
pub enum WindowType {
NormalWindow = 240,
DoubleWindow = 241,
}
#[derive(WidgetExt, GroupExt, WindowExt, Debug)]
pub struct DoubleWindow {
_inner: *mut Fl_Double_Window,
}
#[derive(WidgetExt, GroupExt, WindowExt, Debug)]
pub struct MenuWindow {
_inner: *mut Fl_Menu_Window,
}