# File locana/l_radiobox.rb, line 90 def paint_checkbox() lw = checkbox_width if (box_pos() == :right) # Put the radiobox on right edge cx = clientW - lw # Put the radiobox on right edge else # put the box on the left (the default) cx = l_determine_internal_x end cy = l_determine_internal_y left = cx + SPACER #+ box_bwidth right = cx + lw - SPACER #- box_bwidth*2 top = cy + SPACER #+ box_bwidth bottom = cy + lw - SPACER #- box_bwidth*2 b = box_border Locana_gui::draw_ellipse(l_frame, box_color, left, top, right, bottom, box_bwidth) if (!b || b != :none) paint_check(left, top, right, bottom) if (self.value) end