equal
deleted
inserted
replaced
41 * which is the same |
41 * which is the same |
42 * as height >> 3. */ |
42 * as height >> 3. */ |
43 }; |
43 }; |
44 |
44 |
45 /* Apparently these don't play well with enums. */ |
45 /* Apparently these don't play well with enums. */ |
46 static const OverflowSafeInt64 INVALID_DATAPOINT = INT64_MAX; // Value used for a datapoint that shouldn't be drawn. |
46 static const OverflowSafeInt64 INVALID_DATAPOINT(INT64_MAX); // Value used for a datapoint that shouldn't be drawn. |
47 static const uint INVALID_DATAPOINT_POS = UINT_MAX; // Used to determine if the previous point was drawn. |
47 static const uint INVALID_DATAPOINT_POS = UINT_MAX; // Used to determine if the previous point was drawn. |
48 |
48 |
49 struct GraphDrawer { |
49 struct GraphDrawer { |
50 uint excluded_data; ///< bitmask of the datasets that shouldn't be displayed. |
50 uint excluded_data; ///< bitmask of the datasets that shouldn't be displayed. |
51 byte num_dataset; |
51 byte num_dataset; |