ebs-linuxnode-gui-kivy-core 3.2.1__tar.gz → 3.3.1__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.1}/PKG-INFO +1 -1
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/nodeid.py +1 -1
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/structure.py +23 -7
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1/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.1}/.gitignore +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/MANIFEST.in +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/animations/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/animations/composite.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/background/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/background/color.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/background/image.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/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.1}/ebs/linuxnode/gui/kivy/background/mixin.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/background/overlay.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/background/structured.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/basemixin.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/basenode.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/busy.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/display.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/log.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/core/text.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/utils/__init__.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/utils/application.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/ebs/linuxnode/gui/kivy/utils/launcher.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/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.1}/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.1}/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.1}/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.1}/example/app.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/example/image.jpg +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/example/node.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/example/run.py +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/setup.cfg +0 -0
- {ebs-linuxnode-gui-kivy-core-3.2.1 → ebs-linuxnode-gui-kivy-core-3.3.1}/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,14 +109,17 @@ 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):
|
|
117
117
|
if not self._gui_primary_anchor:
|
|
118
118
|
self._gui_primary_anchor = FloatLayout()
|
|
119
119
|
self.gui_structure_root.add_widget(self._gui_primary_anchor)
|
|
120
|
+
_ = self.gui_anchor_top_right
|
|
121
|
+
_ = self.gui_anchor_bottom_left
|
|
122
|
+
_ = self.gui_anchor_bottom_right
|
|
120
123
|
return self._gui_primary_anchor
|
|
121
124
|
|
|
122
125
|
@property
|
|
@@ -146,6 +149,13 @@ class BaseGuiStructureMixin(BaseIoTNode):
|
|
|
146
149
|
self.gui_primary_anchor.add_widget(self._gui_anchor_tr)
|
|
147
150
|
return self._gui_anchor_tr
|
|
148
151
|
|
|
152
|
+
@property
|
|
153
|
+
def gui_tag_alpha(self):
|
|
154
|
+
if self._gui_supports_overlay_mode:
|
|
155
|
+
return 0.4
|
|
156
|
+
else:
|
|
157
|
+
return 0.8
|
|
158
|
+
|
|
149
159
|
@property
|
|
150
160
|
def gui_status_row(self):
|
|
151
161
|
if not self._gui_status_row:
|
|
@@ -195,19 +205,25 @@ class BaseGuiStructureMixin(BaseIoTNode):
|
|
|
195
205
|
_ = self.gui_primary_anchor
|
|
196
206
|
self._gui_footer = BoxLayout(
|
|
197
207
|
orientation='vertical', size_hint=(1, None),
|
|
198
|
-
height=
|
|
208
|
+
height=60, padding=['0sp', '0sp', '0sp', '0sp']
|
|
199
209
|
)
|
|
200
210
|
return self._gui_footer
|
|
201
211
|
|
|
202
212
|
def _gui_footer_show(self):
|
|
203
|
-
if not self.
|
|
213
|
+
if not self.gui_footer.parent:
|
|
204
214
|
self._gui_structure_heights['footer'] = 80
|
|
205
|
-
self.
|
|
215
|
+
if self._gui_supports_overlay_mode:
|
|
216
|
+
self.gui_structure_root.add_widget(self.gui_footer)
|
|
217
|
+
else:
|
|
218
|
+
self.gui_primary_anchor.add_widget(self.gui_footer, index=len(self.gui_primary_anchor.children))
|
|
206
219
|
|
|
207
220
|
def _gui_footer_hide(self):
|
|
208
|
-
if self.
|
|
221
|
+
if self.gui_footer.parent:
|
|
209
222
|
self._gui_structure_heights['footer'] = 0
|
|
210
|
-
self.
|
|
223
|
+
if self._gui_supports_overlay_mode:
|
|
224
|
+
self.gui_structure_root.remove_widget(self.gui_footer)
|
|
225
|
+
else:
|
|
226
|
+
self.gui_primary_anchor.remove_widget(self.gui_footer)
|
|
211
227
|
|
|
212
228
|
def _gui_footer_trigger(self):
|
|
213
229
|
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.1}/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
|