openmw-tes3coop/apps
Koncord adb49b7c7d Add New GUI dialog: ListBox
Example:

local GUI_LISTBOX = 42

function OnPlayerSendMessage(pid, message)
    if message == "/lb" then
        local items = "consectetur adipiscing elit\nsed do eiusmod tempor incididunt ut labore\net dolore magna aliqua." -- items can be separated through newline
        local label = "Lorem ipsum dolor sit amet"
        tes3mp.ListBox(pid, GUI_LISTBOX, label, items)
    end
end

function OnGUIAction(pid, idGui, data)
    if idGui == GUI_LISTBOX then
        print("ID: " .. idGui .. " data: " .. tostring(data)) -- if value higher than last item id
    end
end
2016-11-04 00:24:16 +08:00
..
bsatool Merge branch 'master' of https://github.com/OpenMW/openmw into osg 2015-06-13 21:11:24 +02:00
esmtool Rewrite NAME_T into FIXED_STRING. 2016-05-07 23:27:33 +03:00
essimporter Import teleporting and levitation disabled state from vanilla savegames (Fixes #3420) 2016-10-20 14:38:18 +02:00
launcher Use local path from configuration manager to load openmw.cfg in launcher 2016-11-01 21:27:35 +01:00
mwiniimporter Fix shadowing warnings 2016-10-02 17:48:54 +09:00
niftest Removed now unneeded script 2015-08-07 20:53:43 -04:00
opencs Merge pull request #89 from OpenMW/master 2016-10-30 21:49:07 +02:00
openmw Add New GUI dialog: ListBox 2016-11-04 00:24:16 +08:00
openmw-mp Add New GUI dialog: ListBox 2016-11-04 00:24:16 +08:00
openmw_test_suite Add unit tests for ESM::FIXED_STRING 2016-05-07 23:27:33 +03:00
wizard Fix char -> int, fix shadowing warning 2016-10-30 20:10:33 +01:00
doc.hpp