2019-02-05 14:11:02 +01:00
|
|
|
use gtk::prelude::*;
|
|
|
|
|
|
|
|
pub mod card;
|
2019-02-09 01:08:39 +01:00
|
|
|
pub mod dl_list;
|
2019-02-05 14:11:02 +01:00
|
|
|
pub mod login_page;
|
|
|
|
pub mod main_page;
|
2019-02-05 17:32:26 +01:00
|
|
|
pub mod network_image;
|
2019-02-05 14:11:02 +01:00
|
|
|
|
|
|
|
fn title(text: &str) -> gtk::Label {
|
|
|
|
let lbl = gtk::Label::new(text);
|
|
|
|
lbl.get_style_context().map(|c| c.add_class("h2"));
|
|
|
|
lbl
|
|
|
|
}
|