VolantisDev / Launchpad

Step up your non-Steam game! Generate Steam-compatible .exe files to effortlessly launch any game through Steam with overlay support.
https://launchpad.games
MIT License
87 stars 3 forks source link

Handle row highlighting #251

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 3 years ago

Handle row highlighting

https://github.com/VolantisDev/Launchpad/blob/6e4ca0a94804e84782062f4773506b6f458b05c8/Lib/Shared/AppLib/GuiControl/ListViewControl.ahk#L118


        for key, data in this.rowData {
            idx++
            rowOpts := []
            highlight := false

            if (this.highlightRowCallback) {
                func := this.highlightRowCallback
                highlight := this.guiObj.%func%(key, data)
            }

            if (highlight) {
                data[1] .= "*"
                ; TODO: Handle row highlighting
            }

            for index, rowNum in selected {
                if (idx == rowNum) {

f2fca0e8d684d8da37f5e0e38035e7dc0fdd5a14