src/graph_gui.cpp
changeset 8409 de295d5e2bb4
parent 8264 b1e85998c7d3
child 9111 48ce04029fe4
equal deleted inserted replaced
8408:cab5989c2ce2 8409:de295d5e2bb4
    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;