
Eymistaken's HUD
A highly customizable PvP HUD featuring a Drag & Drop Layout Designer, CPS, Keystrokes, Reach, Armor HUD and Combo display.
Список изменений
[1.0.9-8]

Added
-
SliderSetting — new context menu setting type — The Settings API previously had no way to expose integer/float values through the context menu. A new
SliderSettingtype has been added tocom.eymistaken.simplecps.api, allowing module authors to bind anyintconfig field to a draggable slider bar rendered directly inside the context menu. The slider displays a live value label inside the bar and includes a Reset button that restores the field to a configurable default value. -
Per-key pressed color in Keystrokes Designer — It was only possible to set a per-key normal color via Change Color. A new Change Pressed Color option has been added to the right-click context menu in KeystrokesDesignerScreen. The selected color is stored in a new
btnPressedColorfield onKeyButtonDatawith sentinel value-1(meaning: use global pressed color), and is respected byKeystrokesModuleat render time.
Fixed
-
Slider value not persisting after drag release — When the user finished dragging a slider in
HudEditorScreen,SimpleCPSConfig.save()was not called onmouseReleased. The config was updated in memory during the drag but never written to disk, so the value was lost on game exit.save()is now called whendraggingSlideris cleared. -
Keystrokes Designer not reflecting per-key color — Button labels in
KeystrokesDesignerScreenwere always drawn in0xFFFFFFFFregardless of a button'sbtnColorvalue. The render path now checksbtnColorand applies it when set, matching the in-game rendering behavior ofKeystrokesModule. -
Color picker opening in wrong color for pressed color — When opening Change Pressed Color from the Designer context menu, the picker always initialized to black. The root cause was Gson deserializing missing
btnPressedColorfields as0rather than-1, causing the== -1fallback to the global pressed color to be skipped. The initialization guard now treats any value<= 0as unset.
API
For full API documentation and usage examples, see the API Guide.
SliderSetting has been added as a new public class to com.eymistaken.simplecps.api. This is an additive API change — no existing interfaces, abstract methods, or method signatures were modified. All existing HudModule implementations and getContextMenuSettings() overrides remain fully binary-compatible without recompilation. The new btnPressedColor field on KeyButtonData uses @SerializedName and defaults to -1, so existing config files deserialize without issue.
