mirror of
https://github.com/google/pebble
synced 2026-10-11 22:34:12 +02:00
@@ -19,7 +19,7 @@
|
||||
#include "health_progress.h"
|
||||
|
||||
//! 5 main segments + 2 real corners + 2 endcaps implemented as corners (for bw)
|
||||
//! Each of the 5 non-corener segments get 20% of the total
|
||||
//! Each of the 5 non-corner segments get 20% of the total
|
||||
#define AMOUNT_PER_SEGMENT (HEALTH_PROGRESS_BAR_MAX_VALUE * 20 / 100)
|
||||
|
||||
// Found through trial and error
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "health_progress.h"
|
||||
|
||||
//! 4 main segments + 4 real corners
|
||||
//! Each of the 4 non-corener segments get 25% of the total
|
||||
//! Each of the 4 non-corner segments get 25% of the total
|
||||
#define AMOUNT_PER_SEGMENT (HEALTH_PROGRESS_BAR_MAX_VALUE * 25 / 100)
|
||||
|
||||
// The shape is the same, but the offsets are different
|
||||
|
||||
Reference in New Issue
Block a user