diff --git a/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST/screens/rollup.txt b/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST/screens/rollup.txt index 1cd58b21c..7de006963 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST/screens/rollup.txt +++ b/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST/screens/rollup.txt @@ -11,7 +11,7 @@ HORIZONTAL SETTING SCREEN <%= target_name %> LIMITS SETTING TLM <%= target_name %> HEALTH_STATUS TEMP1 ROLLUP equipment "Processor" "CPU" - SETTING SCREEN <%= target_name %> ADCS + # No SCREEN should display without pointer cursor SETTING TLM <%= target_name %> HEALTH_STATUS TEMP4 ROLLUP satellite-transmit "Satellite" "all temps" SETTING SCREEN <%= target_name %> HS diff --git a/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST2/screens/rollup.txt b/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST2/screens/rollup.txt index 1cd58b21c..7de006963 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST2/screens/rollup.txt +++ b/openc3-cosmos-init/plugins/packages/openc3-cosmos-demo/targets/INST2/screens/rollup.txt @@ -11,7 +11,7 @@ HORIZONTAL SETTING SCREEN <%= target_name %> LIMITS SETTING TLM <%= target_name %> HEALTH_STATUS TEMP1 ROLLUP equipment "Processor" "CPU" - SETTING SCREEN <%= target_name %> ADCS + # No SCREEN should display without pointer cursor SETTING TLM <%= target_name %> HEALTH_STATUS TEMP4 ROLLUP satellite-transmit "Satellite" "all temps" SETTING SCREEN <%= target_name %> HS diff --git a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/Openc3Screen.vue b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/Openc3Screen.vue index 6ab72c615..951432318 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/Openc3Screen.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/Openc3Screen.vue @@ -25,7 +25,7 @@ @@ -58,6 +59,17 @@ export default { } return '100%' }, + pointerStyle() { + if (this.screenTarget && this.screenName) { + return { + cursor: 'pointer', + } + } else { + return { + cursor: 'default', + } + } + }, }, created: function () { // Look through the settings and get a reference to the screen diff --git a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/CanvasimagevalueWidget.vue b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/CanvasimagevalueWidget.vue index b8cb88639..527479983 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/CanvasimagevalueWidget.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/CanvasimagevalueWidget.vue @@ -31,6 +31,7 @@ :y="image.y" :width="image.width" :height="image.height" + :style="pointerStyle" @click="clickHandler" /> @@ -72,6 +74,17 @@ export default { showDefault: function () { return !this.images.some((image) => image.value == this.selectedValue) }, + pointerStyle() { + if (this.screenTarget && this.screenName) { + return { + cursor: 'pointer', + } + } else { + return { + cursor: 'default', + } + } + }, }, created: function () { // Look through the settings and get a reference to the screen diff --git a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/RollupWidget.vue b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/RollupWidget.vue index 66caa3bf8..dd6a5da66 100644 --- a/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/RollupWidget.vue +++ b/openc3-cosmos-init/plugins/packages/openc3-tool-common/src/components/widgets/RollupWidget.vue @@ -21,6 +21,7 @@ v-bind="attrs" v-on="on" class="rux-icon" + :style="pointerStyle" :icon="icon" :status="status" :label="label" @@ -76,6 +77,17 @@ export default { } return state }, + pointerStyle() { + if (this.screenTarget && this.screenName) { + return { + cursor: 'pointer', + } + } else { + return { + cursor: 'default', + } + } + }, }, created: function () { this.icon = this.parameters[0]