Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Sets colors as part of the object model module.
void set_colors(uint32_t red,uint32_t green,uint32_t blue,uint32_t background_red,uint32_t background_green,uint32_t background_blue)Sets colors as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
red | uint32_t | Not documented; consult the linked header. |
green | uint32_t | Not documented; consult the linked header. |
blue | uint32_t | Not documented; consult the linked header. |
background_red | uint32_t | Not documented; consult the linked header. |
background_green | uint32_t | Not documented; consult the linked header. |
background_blue | uint32_t | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// uint32_t red
// uint32_t green
// uint32_t blue
// uint32_t background_red
// uint32_t background_green
// uint32_t background_blue
epok::ProgressBarComponent& object = /* obtain a valid instance */;
object.set_colors(red, green, blue, background_red, background_green, background_blue);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:957
class_idPerforms `class id` as part of the object model module.MethodenabledPerforms `enabled` as part of the object model module.Methodentity_slotPerforms `entity slot` as part of the object model module.Methodset_enabledSets enabled as part of the object model module.Methodset_stepSets step as part of the object model module.Methodset_valueSets value as part of the object model module.MethodstepA step above zero makes the bar a slider: Left/Right on the focused bar move it.MethodvaluePerforms `value` as part of the object model module.Method