Add license info to all source files

This commit is contained in:
mars 2022-10-07 15:52:35 -06:00
parent 9a5dd093ef
commit 4b551b1bc6
15 changed files with 45 additions and 0 deletions

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use canary::{CursorEventKind, ScriptInstance}; use canary::{CursorEventKind, ScriptInstance};
use eframe::egui; use eframe::egui;
use std::sync::{Arc, RwLock}; use std::sync::{Arc, RwLock};

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use super::prelude::*; use super::prelude::*;
use text::{HorizontalAlignment, Icon, Label, LabelText}; use text::{HorizontalAlignment, Icon, Label, LabelText};

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use super::prelude::*; use super::prelude::*;
use button::{RoundButton, RoundButtonStyle}; use button::{RoundButton, RoundButtonStyle};
use serde::Deserialize; use serde::Deserialize;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub enum Unit { pub enum Unit {
Fixed(f32), Fixed(f32),

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use super::prelude::*; use super::prelude::*;
use crate::main_menu::Inventory; use crate::main_menu::Inventory;
use button::{RectButton, RectButtonStyle, RoundButton, RoundButtonStyle}; use button::{RectButton, RectButtonStyle, RoundButton, RoundButtonStyle};

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use crate::{CursorEventKind, Vec2}; use crate::{CursorEventKind, Vec2};
use canary_script::draw::{DrawContext, Rect}; use canary_script::draw::{DrawContext, Rect};

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use super::prelude::*; use super::prelude::*;
use shell::Offset; use shell::Offset;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use super::prelude::*; use super::prelude::*;
use std::ops::{Deref, DerefMut}; use std::ops::{Deref, DerefMut};

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: AGPL-3.0-or-later
use super::prelude::*; use super::prelude::*;
#[derive(Copy, Clone, Debug, Eq, PartialEq)] #[derive(Copy, Clone, Debug, Eq, PartialEq)]

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: Apache-2.0
use super::{Color, Panel, TextLayout}; use super::{Color, Panel, TextLayout};
use bitflags::bitflags; use bitflags::bitflags;
use glam::Vec2; use glam::Vec2;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: Apache-2.0
pub use canary_types::*; pub use canary_types::*;
pub mod draw; pub mod draw;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SPDX-License-Identifier: Apache-2.0
#[macro_use] #[macro_use]
extern crate num_derive; extern crate num_derive;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later
pub use canary_types::*; pub use canary_types::*;
use parking_lot::{Mutex, RwLock}; use parking_lot::{Mutex, RwLock};
use slab::Slab; use slab::Slab;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later
use super::AllsortsFont; use super::AllsortsFont;
use allsorts::binary::read::ReadScope; use allsorts::binary::read::ReadScope;
use allsorts::cff::CFF; use allsorts::cff::CFF;

View File

@ -1,3 +1,6 @@
// Copyright (c) 2022 Marceline Cramer
// SDPX-License-Identifier: LGPL-3.0-or-later
use super::{DrawCommand, MeshIndex, MeshVertex}; use super::{DrawCommand, MeshIndex, MeshVertex};
use allsorts::binary::read::ReadScope; use allsorts::binary::read::ReadScope;