Debugger: Implement float value editor

Operating Systems / Haiku - Rene Gollent [gollent.com] - 24 July 2015 18:22 UTC

FloatValueFormatter:
- Implement parsing/validation hooks.

FloatValueHandler:- Implement GetTableCellValueEditor() to accordingly return a (newly implemented) TableCellFloatEditor. This allows variable
value editing for float/double variables.

f5d564a Debugger: Implement float value editor.
src/apps/debugger/Jamfile | 1 +
.../gui/value/TableCellFloatEditor.cpp | 52 +++++++++++++
.../gui/value/TableCellFloatEditor.h | 25 +++++++
.../value/value_formatters/FloatValueFormatter.cpp | 77 +++++++++++++++++++-
.../value/value_formatters/FloatValueFormatter.h | 16 ++++
.../value/value_handlers/FloatValueHandler.cpp | 31 ++++++++
.../value/value_handlers/FloatValueHandler.h | 3 +
7 files changed, 204 insertions(+), 1 deletion(-)

Upstream: cgit.haiku-os.org


  • Share