Changeset - f3a25b7b047c
[Not reviewed]
dire/theme.lua
Show inline comments
 
@@ -775,7 +775,6 @@ diretheme.set_text_area = function(optio
 

	
 
	if options.bg and options.bg.image and type(options.bg.image) ~= 'function' then
 
		options.bg._map = get_picture_map(options.bg.image, options.bg.options);
 
        print("FFF", options.bg._map.p[1])
 
	end;
 

	
 
	if reset then
images/terminal/bg_text.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/bg_text_old.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/terminal/keyboard.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard/panel_1.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard/panel_2.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard/panel_3.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard/panel_4.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard/panel_5.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard_base_old_0.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/terminal/keyboard_bg.png
Show inline comments
 
binary diff not shown
Show images
images/terminal/keyboard_bg_old.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/terminal/keyboard_old.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/terminal/keyboard_old_0.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
images/terminal/table_tiles.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
main3.lua
Show inline comments
 
@@ -1524,7 +1524,23 @@ function set_theme(t)
 
        };
 
    elseif t == 'terminal' then
 
        theme.set('snd.click', '');
 
        diretheme.set_background('#181E37', 255, 'images/tower_theme/background.png', {mode=2});
 
        
 
        local px = pixels.new(width / scale, height / scale);
 
        local src = pixels.new('images/terminal/table_tiles.png');
 
        
 
        local tabletop = height - 422
 
        if tabletop < 335 then
 
            tabletop = 335;
 
        end;
 
        
 
        dire_draw_tile(src, px, {
 
            w = width,
 
            h = 422,
 
            x = 0,
 
            y = tabletop
 
        }, {offset = -1});
 
        
 
        diretheme.set_background('#181E37', 255, px, {mode=1});
 
        diretheme.set_image_area({
 
            rect = {
 
                lx = width + 1,
 
@@ -1549,9 +1565,9 @@ function set_theme(t)
 
            rect = {
 
                ty = 0,
 
                by = 189,
 
                wmin = 800,
 
                wmin = 808,
 
                hmin = 568,
 
                wmax = 800,
 
                wmax = 808,
 
                hmax = 568,
 
                ax = 0,
 
                ay = 1
terminal.lua
Show inline comments
 
@@ -486,7 +486,7 @@ room {
 
            y = y - s.dy;
 
        end;
 

	
 
        D {'keyboard_bg', 'img', 'images/terminal/keyboard_bg.png', x=x, y=y, w=800, h=191, z=-90};
 
        D {'keyboard_bg', 'img', 'images/terminal/keyboard_bg.png', x=x - 116, y=y - 2, w=1036, h=191, z=-90};
 
        -- Keyboard row 1
 
        -- D {'btn_backquote', 'img', 'images/terminal/keyboard/btn_backquote.png', x=x + 67, y=y, w=64, h=46, frames=3, z=-100, delay=50, process=btn_anim_process, click=true};
 
        D {'btn_1', 'img', 'images/terminal/keyboard/btn_1.png', x=x + 119, y=y, w=58, h=46, frames=3, z=-101, delay=50, process=btn_anim_process, click=true};
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now