mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
* okayish solution should be improved at some point but for now it works well enough. * do leftover renames * better solution * less weird resize frames * move surface reconfiguration * fix recent desktop mac breakages * better looking resize on mac * fix background color * Fix blank screen on window initialization * cleanup --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
14 lines
591 B
Rust
14 lines
591 B
Rust
pub(crate) const APP_NAME: &str = "Graphite";
|
|
#[cfg(target_os = "linux")]
|
|
pub(crate) const APP_ID: &str = "rs.graphite.Graphite";
|
|
|
|
pub(crate) const APP_DIRECTORY_NAME: &str = "graphite";
|
|
pub(crate) const APP_LOCK_FILE_NAME: &str = "instance.lock";
|
|
pub(crate) const APP_STATE_FILE_NAME: &str = "state.ron";
|
|
pub(crate) const APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";
|
|
pub(crate) const 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;
|