# File locana/l_listbox.rb, line 81 def paint_focus() #return nil if (!text) th = pixel_height_text() ly = l_determine_internal_y + (th + vertical_spacing) * @l_current - self.vscroll_position + th lx = l_determine_internal_x lw = clientW if (is_selected?(@l_current)) color = (is_selected?(@l_current) ? fg_highlight : fg) Locana_gui::draw_line(l_frame, color, lx, ly, lx+lw, ly, 1, :solid) # Otherwise the line does not appear end Locana_gui::draw_line(l_frame, focus_color, lx, ly, lx+lw, ly, 1, :dots) end