gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cash2ecash] branch master updated: debugging


From: gnunet
Subject: [cash2ecash] branch master updated: debugging
Date: Fri, 27 Dec 2024 21:43:08 +0100

This is an automated email from the git hooks/post-receive script.

manuel-geissbuehler pushed a commit to branch master
in repository cash2ecash.

The following commit(s) were added to refs/heads/master by this push:
     new 83d76fc  debugging
83d76fc is described below

commit 83d76fce4efa754a5117cf96f92cf7cad5435c88
Author: Manuel Geissbühler <manuel@debian>
AuthorDate: Fri Dec 27 21:42:53 2024 +0100

    debugging
---
 src/gui/screen.hpp | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/gui/screen.hpp b/src/gui/screen.hpp
index c974435..f5eba9b 100644
--- a/src/gui/screen.hpp
+++ b/src/gui/screen.hpp
@@ -7,6 +7,7 @@
 #include <src/core/lv_obj_style_gen.h>
 #include <src/layouts/grid/lv_grid.h>
 #include <src/layouts/lv_layout.h>
+#include <src/misc/lv_area.h>
 #include <src/widgets/label/lv_label.h>
 
 
@@ -24,8 +25,11 @@
 
 class Screen {
   private:
-  int32_t columnDesc[4] = {TIMELINE_COLUMN_WIDTH_PCT, MIDDLE_COLUMN_WIDTH_PCT, 
BUTTONS_COLUMN_WIDTH_PCT, LV_GRID_TEMPLATE_LAST};
-  int32_t rowDesc[3] = {INSTRUCTIONS_ROW_HEIGHT_PCT, BOTTOM_ROW_HEIGHT_PCT, 
LV_GRID_TEMPLATE_LAST};
+  //int32_t columnDesc[4] = {TIMELINE_COLUMN_WIDTH_PCT, 
MIDDLE_COLUMN_WIDTH_PCT, BUTTONS_COLUMN_WIDTH_PCT, LV_GRID_TEMPLATE_LAST};
+  //int32_t rowDesc[3] = {INSTRUCTIONS_ROW_HEIGHT_PCT, BOTTOM_ROW_HEIGHT_PCT, 
LV_GRID_TEMPLATE_LAST};
+
+  int32_t columnDesc[4] = {lv_pct(20), lv_pct(56), lv_pct(24), 
LV_GRID_TEMPLATE_LAST};
+  int32_t rowDesc[3] = {lv_pct(28), lv_pct(72), LV_GRID_TEMPLATE_LAST};
 
   
   protected:
@@ -40,7 +44,7 @@ class Screen {
   Screen(uint16_t width, uint16_t height) : width(width), height(height)
   {
     screenPointer = lv_obj_create(NULL);
-    lv_obj_set_size(screenPointer, 800, 480);
+    //lv_obj_set_size(screenPointer, 800, 480);
 
     //Set the Layout of the screen to Grid
     lv_obj_set_grid_dsc_array(screenPointer, columnDesc, rowDesc);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]