style and macros for text input
This commit is contained in:
1 parent
5d12f3b02a
commit
b1902b35cb
3 files changed
+21
-2
No files matched your search
@@ -14,6 +14,7 @@ use log::info;
|
||||
use rhai::{Engine, Scope};
|
||||
use std::sync::Arc;
|
||||
use std::time::Instant;
|
||||
use litemap::LiteMap;
|
||||
use crate::data::Id;
|
||||
|
||||
#[derive(Clone)]
|
||||
@@ -26,6 +27,11 @@ pub struct DeckData {
|
||||
open_mode: OrderMode,
|
||||
settings: DeckSettings,
|
||||
}
|
||||
|
||||
struct DisplayStyle{
|
||||
properties: LiteMap<String, String>,
|
||||
}
|
||||
|
||||
impl DeckData {
|
||||
pub fn new(settings: &DeckSettings, open_mode: OrderMode, state: AppState) -> Self {
|
||||
let states_repo = state.card_states.read();
|
||||
|
||||
Reference in new issue
Block a user