diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-03-11 17:01:24 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-03-15 11:55:57 +0300 |
commit | a9c3d270e6384098cb26c6263093e6ead1109a29 (patch) | |
tree | 7aebfef304f2a1803d3d164626d667f48784b6f2 /xs | |
parent | 051ba0e6f4fce9456e6935086285a1cd718b7078 (diff) |
ConfigOptions: GUI type as enum, not string.
Fixing compilation error in the new Platform code.
Fixing one issue in FDM support after splitting the top/bottom
interface layers.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Config.xsp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/xs/xsp/Config.xsp b/xs/xsp/Config.xsp index b8f996797..d8b60bc84 100644 --- a/xs/xsp/Config.xsp +++ b/xs/xsp/Config.xsp @@ -170,19 +170,6 @@ print_config_def() throw "Unknown option type"; } (void)hv_stores( hv, "type", newSVpv(opt_type, 0) ); - (void)hv_stores( hv, "gui_type", newSVpvn(optdef->gui_type.c_str(), optdef->gui_type.length()) ); - (void)hv_stores( hv, "gui_flags", newSVpvn(optdef->gui_flags.c_str(), optdef->gui_flags.length()) ); - (void)hv_stores( hv, "label", newSVpvn_utf8(optdef->label.c_str(), optdef->label.length(), true) ); - if (!optdef->full_label.empty()) - (void)hv_stores( hv, "full_label", newSVpvn_utf8(optdef->full_label.c_str(), optdef->full_label.length(), true) ); - (void)hv_stores( hv, "category", newSVpvn_utf8(optdef->category.c_str(), optdef->category.length(), true) ); - (void)hv_stores( hv, "tooltip", newSVpvn_utf8(optdef->tooltip.c_str(), optdef->tooltip.length(), true) ); - (void)hv_stores( hv, "sidetext", newSVpvn_utf8(optdef->sidetext.c_str(), optdef->sidetext.length(), true) ); - (void)hv_stores( hv, "cli", newSVpvn(optdef->cli.c_str(), optdef->cli.length()) ); - (void)hv_stores( hv, "ratio_over", newSVpvn(optdef->ratio_over.c_str(), optdef->ratio_over.length()) ); - (void)hv_stores( hv, "multiline", newSViv(optdef->multiline ? 1 : 0) ); - (void)hv_stores( hv, "full_width", newSViv(optdef->full_width ? 1 : 0) ); - (void)hv_stores( hv, "readonly", newSViv(optdef->readonly ? 1 : 0) ); (void)hv_stores( hv, "height", newSViv(optdef->height) ); (void)hv_stores( hv, "width", newSViv(optdef->width) ); (void)hv_stores( hv, "min", newSViv(optdef->min) ); |