ebs-linuxnode-gui-kivy-core 3.2.1__tar.gz → 3.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ebs-linuxnode-gui-kivy-core-3.2.1/ebs_linuxnode_gui_kivy_core.egg-info → ebs-linuxnode-gui-kivy-core-3.3.0}/PKG-INFO +1 -1
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/nodeid.py +1 -1
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/structure.py +18 -5
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0/ebs_linuxnode_gui_kivy_core.egg-info}/PKG-INFO +1 -1
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/.gitignore +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/MANIFEST.in +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/animations/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/animations/composite.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/color.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/image.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/images/background.png +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/mixin.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/overlay.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/background/structured.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/basemixin.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/basenode.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/busy.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/display.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/log.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/core/text.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/utils/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/utils/application.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/gui/kivy/utils/launcher.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs_linuxnode_gui_kivy_core.egg-info/SOURCES.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs_linuxnode_gui_kivy_core.egg-info/dependency_links.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs_linuxnode_gui_kivy_core.egg-info/requires.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs_linuxnode_gui_kivy_core.egg-info/top_level.txt +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/example/app.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/example/image.jpg +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/example/node.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/example/run.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/setup.cfg +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/setup.py +0 -0
|
@@ -33,7 +33,7 @@ class NodeIDGuiMixin(BaseGuiMixin):
|
|
|
33
33
|
def gui_id_tag(self):
|
|
34
34
|
if not self._gui_id_tag:
|
|
35
35
|
params = {'bgcolor': (self._gui_nodeid_bgcolor or
|
|
36
|
-
color_set_alpha(self.gui_color_1,
|
|
36
|
+
color_set_alpha(self.gui_color_1, self.gui_tag_alpha)),
|
|
37
37
|
'color': [1, 1, 1, 1]}
|
|
38
38
|
self._gui_id_tag = ColorLabel(
|
|
39
39
|
text=self.id, size_hint=(None, None),
|
|
@@ -109,8 +109,8 @@ class BaseGuiStructureMixin(BaseIoTNode):
|
|
|
109
109
|
return
|
|
110
110
|
self._gui_structure_root.height = max([
|
|
111
111
|
self._gui_structure_heights.get('status', 0),
|
|
112
|
-
self._gui_structure_heights.get('notification', 0)
|
|
113
|
-
|
|
112
|
+
self._gui_structure_heights.get('notification', 0), \
|
|
113
|
+
self._gui_structure_heights.get('footer', 0)])
|
|
114
114
|
|
|
115
115
|
@property
|
|
116
116
|
def gui_primary_anchor(self):
|
|
@@ -146,6 +146,13 @@ class BaseGuiStructureMixin(BaseIoTNode):
|
|
|
146
146
|
self.gui_primary_anchor.add_widget(self._gui_anchor_tr)
|
|
147
147
|
return self._gui_anchor_tr
|
|
148
148
|
|
|
149
|
+
@property
|
|
150
|
+
def gui_tag_alpha(self):
|
|
151
|
+
if self._gui_supports_overlay_mode:
|
|
152
|
+
return 0.4
|
|
153
|
+
else:
|
|
154
|
+
return 0.8
|
|
155
|
+
|
|
149
156
|
@property
|
|
150
157
|
def gui_status_row(self):
|
|
151
158
|
if not self._gui_status_row:
|
|
@@ -195,19 +202,25 @@ class BaseGuiStructureMixin(BaseIoTNode):
|
|
|
195
202
|
_ = self.gui_primary_anchor
|
|
196
203
|
self._gui_footer = BoxLayout(
|
|
197
204
|
orientation='vertical', size_hint=(1, None),
|
|
198
|
-
height=
|
|
205
|
+
height=60, padding=['0sp', '0sp', '0sp', '0sp']
|
|
199
206
|
)
|
|
200
207
|
return self._gui_footer
|
|
201
208
|
|
|
202
209
|
def _gui_footer_show(self):
|
|
203
210
|
if not self._gui_footer.parent:
|
|
204
211
|
self._gui_structure_heights['footer'] = 80
|
|
205
|
-
self.
|
|
212
|
+
if self._gui_supports_overlay_mode:
|
|
213
|
+
self._gui_structure_root.add_widget(self._gui_footer)
|
|
214
|
+
else:
|
|
215
|
+
self.gui_primary_anchor.add_widget(self._gui_footer)
|
|
206
216
|
|
|
207
217
|
def _gui_footer_hide(self):
|
|
208
218
|
if self._gui_footer.parent:
|
|
209
219
|
self._gui_structure_heights['footer'] = 0
|
|
210
|
-
self.
|
|
220
|
+
if self._gui_supports_overlay_mode:
|
|
221
|
+
self._gui_structure_root.remove_widget(self._gui_footer)
|
|
222
|
+
else:
|
|
223
|
+
self.gui_primary_anchor.remove_widget(self._gui_footer)
|
|
211
224
|
|
|
212
225
|
def _gui_footer_trigger(self):
|
|
213
226
|
if len(self._gui_footer_users):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.0}/ebs/linuxnode/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|