Skip to content

Commit

Permalink
Start on Exclusions
Browse files Browse the repository at this point in the history
Start on #43, #40, #9
  • Loading branch information
rcmaehl committed May 5, 2019
1 parent e007b92 commit bd9b39a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Includes/_GetLanguage.au3
Expand Up @@ -467,9 +467,10 @@ Func _LoadLanguage($sPath = @OSLang)
#EndRegion

#Region ; Running Processes Tab
Global $_sLang_RunningTab = IniRead($sPath, "Running", "Running Tab " , "Running" )
Global $_sLang_ProcessList = IniRead($sPath, "Running", "Process List" , "Window Process")
Global $_sLang_ProcessTitle = IniRead($sPath, "Running", "Process Title", "Window Title" )
Global $_sLang_RunningTab = IniRead($sPath, "Running", "Running Tab " , "Running" )
Global $_sLang_ProcessList = IniRead($sPath, "Running", "Process List" , "Window Process")
Global $_sLang_ProcessTitle = IniRead($sPath, "Running", "Process Title" , "Window Title" )
Global $_sLang_ExclusionsTab = IniRead($sPath, "Running", "Exclusions Tab", "Exclusions" )
#EndRegion

#Region ; Steam Games Tab
Expand Down
13 changes: 13 additions & 0 deletions NotCPUCores.au3
Expand Up @@ -433,6 +433,15 @@ Func Main()
#EndRegion
$bPHidden = True

#Region ; Exclusion List
GUICtrlCreateTabItem($_sLang_ExclusionsTab)
Local $hExclusions = GUICtrlCreateListView($_sLang_ProcessList & "|" & $_sLang_ProcessTitle, 0, 20, 360, 280, $LVS_REPORT+$LVS_SINGLESEL, $LVS_EX_GRIDLINES+$LVS_EX_FULLROWSELECT+$LVS_EX_DOUBLEBUFFER)
_GUICtrlListView_RegisterSortCallBack($hGames)
GUICtrlSetTip(-1, $_sLang_RefreshTip, $_sLang_Usage)

_GUICtrlListView_SortItems($hGames, 0)
#EndRegion

GUICtrlCreateTabItem("")
GUISwitch($hGUI)

Expand Down Expand Up @@ -1294,6 +1303,10 @@ EndFunc
Func _GetError($sFunction, $iError, $iExtended)
EndFunc

Func _GetExclusionsList($hControl)

EndFunc

Func _GetProcessList($hControl)

_GUICtrlListView_DeleteAllItems($hControl)
Expand Down

0 comments on commit bd9b39a

Please sign in to comment.