Closed Aurumaker72 closed 1 year ago
Ninesliced textures along with visual state information should be cached
local cache = {} function draw_button() if not cache[visual_state][button.text] then -- generate end draw_image(cache[visual_state][button.text]) end
Implemented in mupen 1.1.5 and added to ugui-ext in ecbb49bbc405a58196af29c36be9debdb9b49513
Ninesliced textures along with visual state information should be cached