mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 15:28:04 +08:00
* Move preference persistence to native * Pass preferences as struct instead of serialized to string
12 lines
521 B
Rust
12 lines
521 B
Rust
pub(crate) static APP_NAME: &str = "Graphite";
|
|
pub(crate) static APP_ID: &str = "rs.graphite.GraphiteEditor";
|
|
|
|
pub(crate) static APP_DIRECTORY_NAME: &str = "graphite-editor";
|
|
pub(crate) static APP_STATE_FILE_NAME: &str = "state.ron";
|
|
pub(crate) static APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";
|
|
pub(crate) static APP_DOCUMENTS_DIRECTORY_NAME: &str = "documents";
|
|
|
|
// CEF configuration constants
|
|
pub(crate) const CEF_WINDOWLESS_FRAME_RATE: i32 = 60;
|
|
pub(crate) const CEF_MESSAGE_LOOP_MAX_ITERATIONS: usize = 10;
|