Skip to content

Commit

Permalink
compatibilidad ver 6, 6.5 y bonaerense
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAccorinti committed Nov 1, 2023
1 parent 2057e77 commit 6cb779b
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
21 changes: 14 additions & 7 deletions .src/FMain.class
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ codename = String.Mid(version, InStr(version, "VERSION_CODENAME=") + 18, 25)

codename = String.Mid(codename, 1, String.InStr(codename, Chr(34)) - 1)

codename = Upper(codename)

Label2.Text = Trim(prettyname) & " (" & Upper(codename) & ")"
Label2.Text = Trim(prettyname) & " (" & codename & ")"

If Exist("/etc/iso-build") Then
isobuild = File.Load("/etc/iso-build")
Expand All @@ -70,6 +71,18 @@ If Exist("/etc/iso-build") Then
Else
Label19.Text = Trim(prettyname)
Endif

'' Muestro la imagen que corresponda según repo
Select codename
Case "ROSAS"
PictureBox1.Picture = Picture.Load("media/acerca_bonaerense.png")
Case "RAFAGA"
PictureBox1.Picture = Picture.Load("media/fondo_6-5.png")
Case "NORTE"
PictureBox1.Picture = Picture.Load("media/fondo.jpeg")
End Select


''base
''--------------------------------------------------------------------------------------------------------------

Expand Down Expand Up @@ -172,10 +185,4 @@ Public Sub PictureBox1_MouseDown()



End

Public Sub Label20_MouseDown()



End
11 changes: 2 additions & 9 deletions .src/FMain.form
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
# Gambas Form File 3.0

{ Form Form
Move(0,0,651,483)
Move(0,0,647,504)
#Scaled = False
Expand = True
Resizable = False
{ PictureBox2 PictureBox
Move(-7,28,665,497)
AutoResize = True
Picture = Picture["media/fondo.jpeg"]
Alignment = Align.TopRight
}
{ PictureBox1 PictureBox
Move(0,-7,665,497)
Move(0,0,665,497)
AutoResize = True
Picture = Picture["media/fondo.jpeg"]
Alignment = Align.TopRight
}
{ Salir Button
Expand Down
Binary file added media/acerca_bonaerense.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/fondo.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/fondo_6-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6cb779b

Please sign in to comment.