# Path: graphic.py
# class GraphicChar(Leaf):
#     """
#     Composites holding this has a graphical representation as a char.
#     """
# 
#     def __init__(self, color_bg, color_fg, icon):
#         super(GraphicChar, self).__init__()
#         self.component_type = "graphic_char"
#         self._color_bg = color_bg
#         self._color_fg = color_fg
#         self._icon = icon
# 
#     @property
#     def color_bg(self):
#         if self._color_bg:
#             return self._color_bg
#         elif self.next:
#             return self.next.color_bg
#         return None
# 
# 
#     @color_bg.setter
#     def color_bg(self, value):
#         self._color_bg = value
# 
#     @property
#     def color_fg(self):
#         if self._color_fg:
#             return self._color_fg
#         elif self.next:
#             return self.next.color_fg
#         return None
# 
#     @color_fg.setter
#     def color_fg(self, value):
#         self._color_fg = value
# 
#     @property
#     def icon(self):
#         if self._icon:
#             return self._icon
#         elif self.next:
#             return self.next.icon
#         return None
# 
#     @icon.setter
#     def icon(self, value):
#         self._icon = value
# 
#     def copy(self):
#         """
#         Makes a copy of this component.
#         """
#         return GraphicChar(self.color_bg, self.color_fg, self.icon)


from graphic import GraphicChar
import icon
import colors
import libtcodpy as libtcod
import settings
        self.top = GraphicChar(bg, fg, libtcod.CHAR_DHLINE)
        self.left = GraphicChar(bg, fg, libtcod.CHAR_VLINE)
        self.bottom = self.top
        self.right = self.left


        self.mid_vertical = self.left
        self.mid_horizontal = self.top
        self.mid_cross = GraphicChar(bg, fg, 216)

        self.top_cross = GraphicChar(bg, fg, 209)
        self.left_cross = GraphicChar(bg, fg, 198)
        self.bottom_cross = GraphicChar(bg, fg, 207)
        self.right_cross = GraphicChar(bg, fg, 181)

        self.top_left = GraphicChar(bg, fg, 213)
        self.top_right = GraphicChar(bg, fg, 184)
        self.bottom_left = GraphicChar(bg, fg, 212)
        self.bottom_right = GraphicChar(bg, fg, 190)

        self.title_separator_left = GraphicChar(bg, fg, 181)
        self.title_separator_right = GraphicChar(bg, fg, 198)


class MinimalTopCard(RectangleStyle):
    def __init__(self):
        bg = colors.INTERFACE_BG
        fg = colors.INTERFACE_FG
        self.center = GraphicChar(bg, bg, ' ')
        self.top = GraphicChar(bg, fg, libtcod.CHAR_DHLINE)

# Path: graphic.py
# class GraphicChar(Leaf):
#     """
#     Composites holding this has a graphical representation as a char.
#     """
# 
#     def __init__(self, color_bg, color_fg, icon):
#         super(GraphicChar, self).__init__()
#         self.component_type = "graphic_char"
#         self._color_bg = color_bg
#         self._color_fg = color_fg
#         self._icon = icon
# 
#     @property
#     def color_bg(self):
#         if self._color_bg:
#             return self._color_bg
#         elif self.next:
#             return self.next.color_bg
#         return None
# 
# 
#     @color_bg.setter
#     def color_bg(self, value):
#         self._color_bg = value
# 
#     @property
#     def color_fg(self):
#         if self._color_fg:
#             return self._color_fg
#         elif self.next:
#             return self.next.color_fg
#         return None
# 
#     @color_fg.setter
#     def color_fg(self, value):
#         self._color_fg = value
# 
#     @property
#     def icon(self):
#         if self._icon:
#             return self._icon
#         elif self.next:
#             return self.next.icon
#         return None
# 
#     @icon.setter
#     def icon(self, value):
#         self._icon = value
# 
#     def copy(self):
#         """
#         Makes a copy of this component.
#         """
#         return GraphicChar(self.color_bg, self.color_fg, self.icon)


# Path: style.py
from graphic import GraphicChar
import icon
import colors
import libtcodpy as libtcod
import settings

        self.top = GraphicChar(bg, fg, libtcod.CHAR_DHLINE)
        self.left = GraphicChar(bg, fg, libtcod.CHAR_VLINE)
        self.bottom = self.top
        self.right = self.left


        self.mid_vertical = self.left
        self.mid_horizontal = self.top
        self.mid_cross = GraphicChar(bg, fg, 216)

        self.top_cross = GraphicChar(bg, fg, 209)
        self.left_cross = GraphicChar(bg, fg, 198)
        self.bottom_cross = GraphicChar(bg, fg, 207)
        self.right_cross = GraphicChar(bg, fg, 181)

        self.top_left = GraphicChar(bg, fg, 213)
        self.top_right = GraphicChar(bg, fg, 184)
        self.bottom_left = GraphicChar(bg, fg, 212)
        self.bottom_right = GraphicChar(bg, fg, 190)

        self.title_separator_left = GraphicChar(bg, fg, 181)
        self.title_separator_right = GraphicChar(bg, fg, 198)


class MinimalTopCard(RectangleStyle):
    def __init__(self):
        bg = colors.INTERFACE_BG
        fg = colors.INTERFACE_FG
        self.center = GraphicChar(bg, bg, ' ')
        self.top = GraphicChar(bg, fg, libtcod.CHAR_DHLINE)

        self.left = GraphicChar(bg, fg, libtcod.CHAR_VLINE)