Skip to content

Commit

Permalink
Merge pull request #64 from destroyedlolo/DRMCairo
Browse files Browse the repository at this point in the history
Drm cairo
  • Loading branch information
destroyedlolo authored Jun 10, 2023
2 parents acec6e7 + 324675b commit d2d4347
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions SeleniteDRMCairo/HDB/70_Meteo.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ local function meteo()
timeout = 87000,
align = ALIGN_CENTER,
suffix = '°C',
ndecimal=2,
sample_text = '-88.88°C',
gradient = GRD_TEMPERATURE
} )
Expand All @@ -116,6 +117,7 @@ local function meteo()

local srf_maxtemp = FieldBlink( srf_Gfx, animTimer, 2, 2, fonts.sdigit, COL_DIGIT, {
align = ALIGN_RIGHT,
ndecimal=2,
sample_text = '-88.88',
bgcolor = COL_TRANSPARENT,
included = true,
Expand All @@ -124,6 +126,7 @@ local function meteo()

local srf_mintemp = FieldBlink( srf_Gfx, animTimer, 2, 285-fonts.sdigit.size, fonts.sdigit, COL_DIGIT, {
align = ALIGN_RIGHT,
ndecimal=2,
sample_text = '-88.88',
bgcolor = COL_TRANSPARENT,
included = true,
Expand Down
4 changes: 4 additions & 0 deletions SeleniteDRMCairo/HDB/75_SousSol.lua
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ local function soussol()
font=fonts.smdigit,
width = WINSIZE.w - 837,
timeout = 310,
align = ALIGN_RIGHT,
icon=true
})

Expand All @@ -225,6 +226,7 @@ local function soussol()
gradient = GRD_CONNECTION,
sample_text = "888888mS",
suffix = "mS",
align = ALIGN_RIGHT,
icon=MQTTImg
})

Expand All @@ -235,6 +237,7 @@ local function soussol()
gradient = GRD_CONNECTION,
sample_text = "888888mS",
suffix = "mS",
align = ALIGN_RIGHT,
icon=WiFiImg
})

Expand All @@ -246,6 +249,7 @@ local function soussol()
gradient = GRD_BAT5V,
sample_text = "8888mV",
suffix = "mV",
align = ALIGN_RIGHT,
icon=BatteryImg
})

Expand Down
6 changes: 3 additions & 3 deletions SeleniteDRMCairo/HDB/80_RDC.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local function rdc()
}
)

local srf_JourFerie = FieldBlink( self, animTimer, 820, 580, fonts.digit, COL_DIGIT, {
local srf_JourFerie = FieldBlink( self, animTimer, 750, 580, fonts.digit, COL_DIGIT, {
align = ALIGN_CENTER,
sample_text = "Victoire des allies",
ownsurface=true,
Expand All @@ -88,7 +88,7 @@ local function rdc()
-- debug = 'JourFerieSN'
})

local srf_DateFerie = FieldBlink( self, animTimer, 760, 625, fonts.mdigit, COL_ORANGE, {
local srf_DateFerie = FieldBlink( self, animTimer, 710, 625, fonts.mdigit, COL_ORANGE, {
align = ALIGN_CENTER,
sample_text = "Vendredi 30 Septembre 2022",
ownsurface=true,
Expand All @@ -102,7 +102,7 @@ local function rdc()
[15] = COL_GREEN,
} )

local srf_FerieCompteur = FieldBlink( self, animTimer, 1050, 540, fonts.mdigit, COL_ORANGE, {
local srf_FerieCompteur = FieldBlink( self, animTimer, 1040, 540, fonts.mdigit, COL_ORANGE, {
align = ALIGN_CENTER,
sample_text = "99 jours",
ownsurface=true,
Expand Down

0 comments on commit d2d4347

Please sign in to comment.