Skip to content

Commit

Permalink
Add Colors. Fix thermal in AMD Athlon X2 250. Fix GPU graphic
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 31, 2014
1 parent b0f914d commit ff8c867
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 26 deletions.
6 changes: 3 additions & 3 deletions src/i-nex/.settings
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SearchString=True
[OpenFile]
Active=1
File[1]=".src/Finfosys.form"
File[2]=".src/Global.class:15.70"
File[2]=".src/Global.class:183.77"
File[3]=".src/About.form"
File[4]=".src/About.class:17.16"
File[5]=".src/battery.module:15.70"
Expand All @@ -41,15 +41,15 @@ File[13]=".src/FReport_Gen.class:15.70"
File[14]=".src/Start_App_Args.form"
File[15]=".src/Start_App_Args.class:15.70"
File[16]=".src/ChkPrm.module:15.70"
File[17]=".src/thermal_zone.module:27.20"
File[17]=".src/thermal_zone.module:67.10"
File[18]=".src/FModules.form"
File[19]=".src/FModules.class:15.70"
File[20]=".src/Input_Devices.module:15.70"
File[21]=".src/net.module:15.70"
File[22]="Data/report-ng.sh:5.3"
File[23]=".src/Distribution_Detect.module:15.70"
File[24]=".src/FFlags.module:15.70"
File[25]=".src/Finfosys.class:321.10"
File[25]=".src/Finfosys.class:813.2"
File[26]=".src/FDF.form"
File[27]=".src/FDF.class:15.70"
File[28]=".src/FNET_R_T.form"
Expand Down
20 changes: 1 addition & 19 deletions src/i-nex/.src/Finfosys.form
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@
Border = Border.Raised
}
{ Label93 Label
Move(7,91,70,28)
Move(7,91,91,28)
#Translate = False
Font = Font["Bold,8"]
Foreground = &H0000FF&
Expand Down Expand Up @@ -702,35 +702,30 @@
Move(7,140,329,21)
Font = Font["8"]
Padding = 3
Text = ("Label220")
Border = Border.Raised
}
{ Label221 Label
Move(7,161,329,21)
Font = Font["8"]
Padding = 3
Text = ("Label221")
Border = Border.Raised
}
{ Label222 Label
Move(7,98,329,21)
Font = Font["8"]
Padding = 3
Text = ("Label222")
Border = Border.Raised
}
{ Label224 Label
Move(7,119,329,21)
Font = Font["8"]
Padding = 3
Text = ("Label224")
Border = Border.Raised
}
{ Label225 Label
Move(7,182,329,21)
Font = Font["8"]
Padding = 3
Text = ("Label225")
Border = Border.Raised
}
{ Separator13 Separator
Expand All @@ -741,69 +736,60 @@
Move(175,448,287,21)
Font = Font["8"]
Padding = 3
Text = ("Label156")
Border = Border.Raised
}
{ Label154 Label
Move(175,427,287,21)
Font = Font["8"]
Padding = 3
Text = ("Label154")
Border = Border.Raised
}
{ Label102 Label
Move(7,385,455,21)
#Translate = False
Font = Font["8"]
Padding = 3
Text = "Label102"
Border = Border.Raised
}
{ Label101 Label
Move(7,343,455,21)
#Translate = False
Font = Font["8"]
Padding = 3
Text = "Label101"
Border = Border.Raised
}
{ Label100 Label
Move(7,364,455,21)
#Translate = False
Font = Font["8"]
Padding = 3
Text = "Label100"
Border = Border.Raised
}
{ Label155 Label
Move(7,448,168,21)
Font = Font["8"]
Padding = 3
Text = ("Label155")
Border = Border.Raised
}
{ Label67 Label
Move(175,406,287,21)
#Translate = False
Font = Font["8"]
Padding = 3
Text = "Label67"
Border = Border.Raised
}
{ Label66 Label
Move(7,427,168,21)
#Translate = False
Font = Font["8"]
Padding = 3
Text = "Label66"
Border = Border.Raised
}
{ Label65 Label
Move(7,406,168,21)
#Translate = False
Font = Font["8"]
Padding = 3
Text = "Label65"
Border = Border.Raised
}
{ Separator14 Separator
Expand Down Expand Up @@ -1671,31 +1657,27 @@
Move(14,112,441,28)
Font = Font["8"]
Padding = 3
Text = ("TextLabel18")
Alignment = Align.Normal
Border = Border.Raised
}
{ TextLabel17 TextLabel
Move(14,84,441,28)
Font = Font["8"]
Padding = 3
Text = ("TextLabel17")
Alignment = Align.Normal
Border = Border.Raised
}
{ TextLabel16 TextLabel
Move(14,56,441,28)
Font = Font["8"]
Padding = 3
Text = ("TextLabel16")
Alignment = Align.Normal
Border = Border.Raised
}
{ TextLabel7 TextLabel
Move(14,28,441,28)
Font = Font["8"]
Padding = 3
Text = ("TextLabel7")
Alignment = Align.Normal
Border = Border.Raised
}
Expand Down
2 changes: 1 addition & 1 deletion src/i-nex/.src/Global.class
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ Static Public Sub kartagraficzna()
Finfosys.PictureBox1.Picture = Picture["Data/Karta_graficzna/intel.png"]
Endif

If Finfosys.TextBox1.Text Like "*ATI Technologies*" Then
If Finfosys.TextBox1.Text Like "*ATI Technologies*" Or "*Advanced Micro Devices*" Then
Finfosys.PictureBox1.Picture = Picture["Data/Karta_graficzna/ati.png"]
Endif

Expand Down
13 changes: 10 additions & 3 deletions src/i-nex/.src/thermal_zone.module
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Public temp_acpi_thm As Boolean = Exist("/proc/acpi/thermal_zone/THM0/temperatur
Public temp_hwmon As Boolean = Exist("/sys/class/hwmon/hwmon0/device/temp2_input")
Public temp_hwmon2 As Boolean = Exist("/sys/class/hwmon/hwmon0/temp1_input")
Public temp_coretemp As Boolean = Exist("/sys/devices/platform/coretemp.0/temp2_input")

'
Public Temperature As String
Public calculate As Float
Public supporttemp As Boolean = False
Expand Down Expand Up @@ -59,8 +59,15 @@ Public Sub _inits()
Endif

If temp_coretemp = True Then
Shell "cat /sys/devices/platform/coretemp.0/temp2_input" Wait To Temperature
supporttemp = True
Shell "cat /sys/devices/platform/coretemp.0/temp2_input" Wait To Temperature
Else
supporttemp = False
Endif

If Access("/sys/class/hwmon/hwmon0/device/temp1_input", gb.Read) = True Then
supporttemp = True
Shell "cat /sys/class/hwmon/hwmon0/device/temp1_input" Wait To Temperature
Else
supporttemp = False
Endif
Expand All @@ -70,7 +77,7 @@ Public Sub _inits()
Else
calculate = CFloat(Val(Temperature))
Endif

'hFile = Open "/sys/devices/platform/coretemp.0/temp2_input" For Input

'While Not Eof(hFile)
Expand Down

0 comments on commit ff8c867

Please sign in to comment.