Skip to content

Commit

Permalink
Move PictureBox on Graphic Tab.
Browse files Browse the repository at this point in the history
Change icons in tabs
  • Loading branch information
eloaders committed Jan 21, 2012
1 parent d5ed83e commit 10ad2cc
Show file tree
Hide file tree
Showing 12 changed files with 277 additions and 242 deletions.
Binary file modified src/i-nex/.gambas/ABOUT
Binary file not shown.
Binary file modified src/i-nex/.gambas/BATTERY
Binary file not shown.
Binary file modified src/i-nex/.gambas/FINFOSYS
Binary file not shown.
Binary file modified src/i-nex/.gambas/FLICENCJA
Binary file not shown.
Binary file modified src/i-nex/.gambas/FZASLUGI
Binary file not shown.
Binary file modified src/i-nex/.gambas/GLOBAL
Binary file not shown.
230 changes: 117 additions & 113 deletions src/i-nex/.lang/.pot

Large diffs are not rendered by default.

230 changes: 117 additions & 113 deletions src/i-nex/.lang/Finfosys.pot

Large diffs are not rendered by default.

Empty file removed src/i-nex/.lock
Empty file.
12 changes: 7 additions & 5 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ SearchComment=False
SearchString=True

[OpenFile]
Active=1
File[1]=".src/Finfosys.form"
File[2]=".src/Finfosys.class:152.3"
File[2]=".src/Finfosys.class:491.3"
File[3]=".src/Global.class:92.31"
File[4]=".src/About.form"
File[5]=".src/About.class:29.47"
Expand All @@ -23,10 +24,11 @@ File[8]=".src/Fzaslugi.class:18.9"
File[9]=".src/Flicencja.class:4.11"
File[10]=".src/distrodetect.class:7.35"
File[11]=".src/battery.module:20.16"
File[12]=".src/Form1.form"
Active=13
File[13]=".src/Form1.class:6.1"
Count=13
File[12]=".src/Brightness.form"
File[13]=".src/Brightness.class:13.85"
File[14]=".src/Notify.module:4.8"
File[15]=".src/MDBus.module:14.0"
Count=15

[Watches]
Count=0
Expand Down
28 changes: 23 additions & 5 deletions src/i-nex/.src/Finfosys.class
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
Public Sub Form_Open()
Dim gnome_screenshot As Boolean = Exist("/usr/bin/gnome-screenshot")
Dim cpuz0, cpuz1, cpuz2, cpuz3, cpuz4, cpuz5, cpuz6, cpuz7, cpuz8, cpuz9, cpuz10, cpuz11 As String
Debug "Check Gnome Screenshot"
If gnome_screenshot = True Then
Button2.Visible = True
Debug "Gnome Screenshot Exist = True"
Endif
Object.Call(battery, "_init")
TextLabel21.Visible = False
'Procesor
Debug "Check available procesors"
Shell "ls /sys/devices/system/cpu/ | grep -v save | sed -n '1p'" Wait To cpuz0
Shell "ls /sys/devices/system/cpu/ | grep -v save | sed -n '2p'" Wait To cpuz1
Shell "ls /sys/devices/system/cpu/ | grep -v save | sed -n '3p'" Wait To cpuz2
Expand All @@ -21,7 +24,7 @@ Public Sub Form_Open()
Shell "ls /sys/devices/system/cpu/ | grep -v save | sed -n '10p'" Wait To cpuz9
Shell "ls /sys/devices/system/cpu/ | grep -v save | sed -n '11p'" Wait To cpuz10
Shell "ls /sys/devices/system/cpu/ | grep -v save | sed -n '12p'" Wait To cpuz11

Debug "Replaces new line to space"
cpuz0 = Replace(cpuz0, "\n", "")
cpuz1 = Replace(cpuz1, "\n", "")
cpuz2 = Replace(cpuz2, "\n", "")
Expand Down Expand Up @@ -72,15 +75,24 @@ Public Sub Form_Open()
ComboBox1.Add("Procesor11")
Endif
'Uruchomienie instrukcji dla poszczególnych zakładek w celu wydobycia informacji z systemu
Debug "Dospam uptime"
dospam_uptime()
Debug "System"
System()
Debug "Bios"
bios()
Debug "Kernel"
kernel()
Debug "Internet"
internet()
Debug "Dzwiek"
dzwiek()
Debug "Grafika"
grafika()
Debug "Dysk"
dysk()
'END Uruchomienie instrukcji dla poszczególnych zakładek w celu wydobycia informacji z systemu
Debug "Set Combobox to Procesor0"
ComboBox1.Text = "Procesor0" 'Ustawienie combobox na Procesor0 / W przeciwnym wypadku nie pokaże nic
Label25.Text = Application.version
'Okno na środku
Expand All @@ -90,7 +102,7 @@ End


Public Sub ComboBox1_Click()

Debug "Checking procesors"
Wykrywanie_procesorow()

End
Expand Down Expand Up @@ -354,7 +366,7 @@ End
Public Sub Button1_Click()

Finfosys.Close

Debug "God bye!"
End

Public Sub dospam_uptime()
Expand Down Expand Up @@ -409,7 +421,7 @@ Public Sub dospam_uptime()
End

Public Sub battery_info()

Debug "Get information Active Battery"
TextBox7.Text = battery.Present
TextBox8.Text = battery.Design_capacity
TextBox9.Text = battery.last_full_capacity
Expand Down Expand Up @@ -470,5 +482,11 @@ End
Public Sub Button10_Click()

Object.Call(battery, "_init")

Debug "Battery initial"
End

Public Sub Button9_Click()

Brightness.Show
Debug "Show brightness window"
End
19 changes: 13 additions & 6 deletions src/i-nex/.src/Finfosys.form
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
}
Index = 1
Text = ("Motherboard / Bios")
Picture = Picture["motherboard.png"]
Picture = Picture["icon:/16/hardware"]
{ Frame1 Frame
Move(7,147,462,108)
Text = ("Bios")
Expand Down Expand Up @@ -267,7 +267,7 @@
}
Index = 2
Text = ("Sound")
Picture = Picture["Data/Tabs/sound.png"]
Picture = Picture["icon:/16/media-player"]
{ TextLabel19 TextLabel
Move(7,7,462,21)
Text = ("Sound Equipment:")
Expand Down Expand Up @@ -345,11 +345,18 @@
Text = ("Wybierz rozdzielczość")
}
{ Button8 Button
Move(245,259,112,21)
Move(246,258,66,24)
Text = ("Set")
Picture = Picture["icon:/16/screen"]
}
{ PictureBox1 PictureBox
Move(160,301,160,147)
Move(6,300,160,147)
}
{ Button9 Button
Move(318,258,96,24)
Visible = False
Text = ("Brightness")
Picture = Picture["icon:/16/sun"]
}
Index = 4
Text = ("Drives")
Expand Down Expand Up @@ -535,7 +542,7 @@
}
Index = 6
Text = ("Kernel")
Picture = Picture["Data/Tabs/user.png"]
Picture = Picture["icon:/16/linux"]
{ Frame22 Frame
Move(7,7,462,441)
Text = ("Installed kernels:")
Expand Down Expand Up @@ -652,7 +659,7 @@
}
Index = 8
Text = ("Network")
Picture = Picture["11068_9016_16_network_globe_icon.png"]
Picture = Picture["icon:/16/network"]
{ Frame11 Frame
Move(7,0,462,56)
Text = ("Default web browser")
Expand Down

0 comments on commit 10ad2cc

Please sign in to comment.