mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-11-16 23:37:47 +00:00
gui: p2pool sync color BLUE
-> ORANGE
This commit is contained in:
parent
f1320b91bd
commit
bf4d286fad
3 changed files with 3 additions and 2 deletions
|
@ -106,6 +106,7 @@ pub const SPACE: f32 = 10.0;
|
|||
pub const RED: egui::Color32 = egui::Color32::from_rgb(230, 50, 50);
|
||||
pub const GREEN: egui::Color32 = egui::Color32::from_rgb(100, 230, 100);
|
||||
pub const BLUE: egui::Color32 = egui::Color32::from_rgb(100, 175, 255);
|
||||
pub const ORANGE: egui::Color32 = egui::Color32::from_rgb(255, 120, 40);
|
||||
pub const YELLOW: egui::Color32 = egui::Color32::from_rgb(230, 230, 100);
|
||||
pub const BRIGHT_YELLOW: egui::Color32 = egui::Color32::from_rgb(250, 250, 100);
|
||||
pub const BONE: egui::Color32 = egui::Color32::from_rgb(190, 190, 190); // In between LIGHT_GRAY <-> GRAY
|
||||
|
|
|
@ -203,7 +203,7 @@ pub enum ProcessState {
|
|||
Middle, // Process is in the middle of something ([re]starting/stopping), YELLOW!
|
||||
Waiting, // Process was successfully killed by a restart, and is ready to be started again, YELLOW!
|
||||
|
||||
// Only for P2Pool.
|
||||
// Only for P2Pool, ORANGE.
|
||||
Syncing,
|
||||
}
|
||||
|
||||
|
|
|
@ -1528,7 +1528,7 @@ impl eframe::App for App {
|
|||
Dead => ui.add_sized([width, height], Label::new(RichText::new("P2Pool ⏺").color(GRAY))).on_hover_text(P2POOL_DEAD),
|
||||
Failed => ui.add_sized([width, height], Label::new(RichText::new("P2Pool ⏺").color(RED))).on_hover_text(P2POOL_FAILED),
|
||||
Middle|Waiting => ui.add_sized([width, height], Label::new(RichText::new("P2Pool ⏺").color(YELLOW))).on_hover_text(P2POOL_MIDDLE),
|
||||
Syncing => ui.add_sized([width, height], Label::new(RichText::new("P2Pool ⏺").color(BLUE))).on_hover_text(P2POOL_SYNCING),
|
||||
Syncing => ui.add_sized([width, height], Label::new(RichText::new("P2Pool ⏺").color(ORANGE))).on_hover_text(P2POOL_SYNCING),
|
||||
};
|
||||
ui.separator();
|
||||
match xmrig_state {
|
||||
|
|
Loading…
Reference in a new issue