代码拉取完成,页面将自动刷新
同步操作将从 连享会/nwcommands 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
VERSION 10
INCLUDE _std_mlarge
INCLUDE header_gr_child
INCLUDE gr_orientation
DIALOG nodes_colopt, title("Node color")
BEGIN
GROUPBOX gb_col 10 10 380 130, label("Overwrite color palette")
TEXT tx_col1 20 30 280 ., label("Color 1:")
//replace comboboxes with color elements. Write program that populates color depending on scheme...
//don't know how to communicate with CHILD dialog per OOP
//COLOR cl_test1 80 30 100 ., label("test")
COMBOBOX cb_col1 80 30 100 ., dropdownlist contents(colors)
TEXT tx_col2 20 50 280 ., label("Color 2:")
COMBOBOX cb_col2 80 50 100 ., dropdownlist contents(colors)
TEXT tx_col3 20 70 280 ., label("Color 3:")
COMBOBOX cb_col3 80 70 100 ., dropdownlist contents(colors)
TEXT tx_col4 20 90 280 ., label("Color 4:")
COMBOBOX cb_col4 80 90 100 ., dropdownlist contents(colors)
TEXT tx_col5 210 30 280 ., label("Color 5:")
COMBOBOX cb_col5 270 30 100 ., dropdownlist contents(colors)
TEXT tx_col6 210 50 280 ., label("Color 6:")
COMBOBOX cb_col6 270 50 100 ., dropdownlist contents(colors)
TEXT tx_col7 210 70 280 ., label("Color 7:")
COMBOBOX cb_col7 270 70 100 ., dropdownlist contents(colors)
TEXT tx_col8 210 90 280 ., label("Color 8:")
COMBOBOX cb_col8 270 90 100 ., dropdownlist contents(colors)
CHECKBOX ck_res 270 110 100 100, label("Rescale off") option(norescale)
GROUPBOX gb_lgd 10 160 380 70, label("Color legend")
TEXT tx_keys 20 190 280 ., label("Force keys:")
EDIT ed_keys 110 190 150 ., nomemory
CHECKBOX ck_lgd 270 190 100 100, label("Legend off") option(legendoff) onclickoff(nodes_colopt.ed_keys.show) onclickon(nodes_colopt.ed_keys.hide)
END
PROGRAM command
BEGIN
put " colorpalette("
if nodes_colopt.cb_col1 {
put nodes_colopt.cb_col1 " "
}
if nodes_colopt.cb_col2 {
put nodes_colopt.cb_col2 " "
}
if nodes_colopt.cb_col3 {
put nodes_colopt.cb_col3 " "
}
if nodes_colopt.cb_col4 {
put nodes_colopt.cb_col4 " "
}
if nodes_colopt.cb_col5 {
put nodes_colopt.cb_col5 " "
}
if nodes_colopt.cb_col6 {
put nodes_colopt.cb_col6 " "
}
if nodes_colopt.cb_col7 {
put nodes_colopt.cb_col7 " "
}
if nodes_colopt.cb_col8 {
put nodes_colopt.cb_col8 " "
}
put ")"
if nodes_colopt.ed_keys {
put " forcekeys("
put nodes_colopt.ed_keys
put ")"
}
if nodes_colopt.ck_res {
put " norescale"
}
if nodes_colopt.ck_lgd {
put " legendoff"
}
END
*! v1.5.0 __ 17 Sep 2015 __ 13:09:53
*! v1.5.1 __ 17 Sep 2015 __ 14:54:23
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。