Hi M2down!
Sorry for my bad english!
i have put on my server Bonus Board DE Like!
but i have a little problem...
the text(bonus name) , are a little Upside like a photo!
can someone "giimme" one "hint" please?
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
there are my files!
Python: uicharacterdetails.py
- import ui
- import localeInfo
- import player
- import item
- import uiToolTip
- import wndMgr
- import app
- class CharacterDetailsUI(ui.ScriptWindow):
- def __init__(self, parent):
- self.uiCharacterStatus = parent
- ui.ScriptWindow.__init__(self)
- self.toolTip = uiToolTip.ToolTip()
- self.__LoadScript()
- def __del__(self):
- self.uiCharacterStatus = None
- self.toolTip = None
- ui.ScriptWindow.__del__(self)
- def __LoadScript(self):
- try:
- pyScrLoader = ui.PythonScriptLoader()
- pyScrLoader.LoadScriptFile(self, "UIScript/CharacterDetailsWindow.py")
- except:
- import exception
- exception.Abort("CharacterDetailsUI.__LoadScript")
- ## CharacterWindow.py 의 width = 253
- self.Width = 253 - 3
- self.GetChild("TitleBar").CloseButtonHide()
- self.ScrollBar = self.GetChild("ScrollBar")
- self.ScrollBar.SetScrollEvent(ui.__mem_func__(self.OnScroll))
- ## 출력되는 UI 최대 숫자
- self.UI_MAX_COUNT = 13
- self.UI_MAX_VIEW_COUNT = 6
- ## UI KEY & VALUE
- self.INFO_TEXT = 0
- self.INFO_TOOLTIP = 1
- self.INFO_VALUE = 2
- self.CATEGORY_STARTLINE = -1
- self.CATEGORY_ENDLINE = -2
- ## Child 셋팅
- self.labelList = []
- self.labelValueList = []
- self.labelTextList = []
- self.horizonBarList = []
- self.horizonBarNameList = []
- for i in xrange(self.UI_MAX_COUNT):
- self.labelList.append( self.GetChild("label%s"%i) )
- self.labelValueList.append( self.GetChild("labelvalue%s"%i) )
- self.labelTextList.append( self.GetChild("labelname%s"%i) )
- self.horizonBarList.append( self.GetChild("horizontalbar%s"%i) )
- self.horizonBarNameList.append( self.GetChild("horizontalbarName%s"%i) )
- for i in xrange(self.UI_MAX_COUNT):
- self.labelTextList[i].SetOverEvent( ui.__mem_func__(self.__ButtonOverIn), i )
- self.labelTextList[i].SetOverOutEvent( ui.__mem_func__(self.__ButtonOverOut), i )
- self.__Initialize()
- def __Initialize(self):
- self.InfoList = []
- ## 추가 데미지
- self.InfoList.append( [ localeInfo.DETAILS_CATE_1, "", self.CATEGORY_STARTLINE ] )
- self.InfoList.append( [ localeInfo.DETAILS_1, "", item.GetApplyPoint( item.APPLY_ATTBONUS_HUMAN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_2, "", item.GetApplyPoint( item.APPLY_ATTBONUS_ORC ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_3, "", item.GetApplyPoint( item.APPLY_ATTBONUS_UNDEAD ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_4, "", item.GetApplyPoint( item.APPLY_ATTBONUS_MONSTER ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_5, "", item.GetApplyPoint( item.APPLY_ATTBONUS_ANIMAL ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_6, "", item.GetApplyPoint( item.APPLY_ATTBONUS_MILGYO ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_7, "", item.GetApplyPoint( item.APPLY_ATTBONUS_DEVIL ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_8, "", item.GetApplyPoint( item.APPLY_ATT_GRADE_BONUS ) ] )
- ## self.InfoList.append( [ localeInfo.DETAILS_9, "", item.GetApplyPoint( item.APPLY_DEF_GRADE_BONUS ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_10, "", item.GetApplyPoint( item.APPLY_NORMAL_HIT_DAMAGE_BONUS ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_11, "", item.GetApplyPoint( item.APPLY_SKILL_DAMAGE_BONUS ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_12, "", item.GetApplyPoint( item.APPLY_CRITICAL_PCT ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_13, "", item.GetApplyPoint( item.APPLY_PENETRATE_PCT ) ] )
- self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] )
- ## 엘리멘탈 속성
- self.InfoList.append( [ localeInfo.DETAILS_CATE_2, "", self.CATEGORY_STARTLINE ] )
- self.InfoList.append( [ localeInfo.DETAILS_20, "", item.GetApplyPoint( item.APPLY_RESIST_MAGIC ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_21, "", item.GetApplyPoint( item.APPLY_RESIST_ELEC ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_22, "", item.GetApplyPoint( item.APPLY_RESIST_FIRE ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_23, "", item.GetApplyPoint( item.APPLY_RESIST_WIND ) ] )
- self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] )
- ## 직업 속성
- self.InfoList.append( [ localeInfo.DETAILS_CATE_3, "", self.CATEGORY_STARTLINE ] )
- self.InfoList.append( [ localeInfo.DETAILS_30, "", item.GetApplyPoint( item.APPLY_ATTBONUS_WARRIOR ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_31, "", item.GetApplyPoint( item.APPLY_ATTBONUS_ASSASSIN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_32, "", item.GetApplyPoint( item.APPLY_ATTBONUS_SURA ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_33, "", item.GetApplyPoint( item.APPLY_ATTBONUS_SHAMAN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_34, "", item.GetApplyPoint( item.APPLY_RESIST_WARRIOR ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_35, "", item.GetApplyPoint( item.APPLY_RESIST_ASSASSIN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_36, "", item.GetApplyPoint( item.APPLY_RESIST_SURA ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_37, "", item.GetApplyPoint( item.APPLY_RESIST_SHAMAN ) ] )
- self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] )
- ## 무기 속성
- self.InfoList.append( [ localeInfo.DETAILS_CATE_4, "", self.CATEGORY_STARTLINE ] )
- self.InfoList.append( [ localeInfo.DETAILS_40, "", item.GetApplyPoint( item.APPLY_RESIST_SWORD ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_41, "", item.GetApplyPoint( item.APPLY_RESIST_TWOHAND ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_42, "", item.GetApplyPoint( item.APPLY_RESIST_DAGGER ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_43, "", item.GetApplyPoint( item.APPLY_RESIST_BELL ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_44, "", item.GetApplyPoint( item.APPLY_RESIST_FAN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_45, "", item.GetApplyPoint( item.APPLY_RESIST_BOW ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_46, "", item.GetApplyPoint( item.APPLY_POISON_REDUCE) ] )
- self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] )
- ## 기타
- self.InfoList.append( [ localeInfo.DETAILS_CATE_5, "", self.CATEGORY_STARTLINE ] )
- self.InfoList.append( [ localeInfo.DETAILS_50, "", item.GetApplyPoint( item.APPLY_STUN_PCT ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_51, "", item.GetApplyPoint( item.APPLY_SLOW_PCT ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_52, "", item.GetApplyPoint( item.APPLY_POISON_PCT ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_53, "", item.GetApplyPoint( item.APPLY_STEAL_HP ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_54, "", item.GetApplyPoint( item.APPLY_STEAL_SP ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_55, "", item.GetApplyPoint( item.APPLY_HP_REGEN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_56, "", item.GetApplyPoint( item.APPLY_SP_REGEN ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_57, "", item.GetApplyPoint( item.APPLY_BLOCK ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_58, "", item.GetApplyPoint( item.APPLY_DODGE ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_59, "", item.GetApplyPoint( item.APPLY_REFLECT_MELEE ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_60, "", item.GetApplyPoint( item.APPLY_KILL_HP_RECOVER ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_61, "", item.GetApplyPoint( item.APPLY_KILL_SP_RECOVER ) ] )
- self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] )
- ## MALL
- self.InfoList.append( [ localeInfo.DETAILS_CATE_6, "", self.CATEGORY_STARTLINE ] )
- self.InfoList.append( [ localeInfo.DETAILS_70, "", item.GetApplyPoint( item.APPLY_EXP_DOUBLE_BONUS ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_71, "", item.GetApplyPoint( item.APPLY_GOLD_DOUBLE_BONUS ) ] )
- self.InfoList.append( [ localeInfo.DETAILS_72, "", item.GetApplyPoint( item.APPLY_ITEM_DROP_BONUS ) ] )
- self.InfoList.append( [ "", "", self.CATEGORY_ENDLINE ] )
- self.Diff = len(self.InfoList) - self.UI_MAX_COUNT
- stepSize = 1.0 / self.Diff
- self.ScrollBar.SetScrollStep( stepSize )
- self.ScollPos = 0
- self.RefreshLabel()
- def Show(self):
- ui.ScriptWindow.Show(self)
- self.SetTop()
- def OnUpdate(self):
- self.__Initialize()
- def Close(self):
- self.Hide()
- def AdjustPosition(self, x, y):
- self.SetPosition(x + self.Width, y)
- def OnScroll(self):
- self.RefreshLabel()
- def RefreshLabel(self):
- self.ScollPos = int(self.ScrollBar.GetPos() * self.Diff)
- for i in xrange(self.UI_MAX_COUNT) :
- idx = i + self.ScollPos
- text = self.InfoList[idx][self.INFO_TEXT]
- type = self.InfoList[idx][self.INFO_VALUE]
- if type == self.CATEGORY_STARTLINE:
- self.__LabelTitleLine(i, text)
- elif type == self.CATEGORY_ENDLINE:
- self.__EmptyLine(i)
- else:
- value = player.GetStatus(type)
- self.__LabelLine(i, text, value)
- def __LabelTitleLine(self, idx, text):
- self.labelList[idx].Hide()
- self.labelTextList[idx].Hide()
- self.horizonBarList[idx].Show()
- self.horizonBarNameList[idx].SetText( text )
- def __EmptyLine(self, idx):
- self.labelList[idx].Hide()
- self.labelTextList[idx].Hide()
- self.horizonBarList[idx].Hide()
- def __LabelLine(self, idx, text, value):
- self.labelList[idx].Show()
- self.labelTextList[idx].Show()
- self.horizonBarList[idx].Hide()
- self.labelTextList[idx].SetText( text )
- self.labelValueList[idx].SetText( str(value) )
- def __ButtonOverIn(self, i):
- idx = i + self.ScollPos
- tooltip = self.InfoList[idx][self.INFO_TOOLTIP]
- arglen = len(str(tooltip))
- pos_x, pos_y = wndMgr.GetMousePosition()
- self.toolTip.ClearToolTip()
- self.toolTip.SetThinBoardSize(11 * arglen)
- self.toolTip.SetToolTipPosition(pos_x + 50, pos_y + 50)
- self.toolTip.AppendTextLine(tooltip, 0xffffff00)
- self.toolTip.Show()
- def __ButtonOverOut(self, idx):
- self.toolTip.Hide()
- def OnTop(self):
- if self.uiCharacterStatus:
- self.uiCharacterStatus.SetTop()
Code: characterdetailswindow.py
- import localeInfo
- import uiScriptLocale
- LOCALE_PATH = uiScriptLocale.WINDOWS_PATH
- MAINBOARD_WIDTH = 200
- MAINBOARD_HEIGHT = 364#361
- LABEL_START_X = 120
- LABEL_START_Y = 39
- LABEL_WIDTH = 50
- LABEL_HEIGHT = 17
- LABEL_GAP = LABEL_HEIGHT+7
- LABEL_NAME_POS_X = 24+44
- TITLE_BAR_POS_X = 10
- TITLE_BAR_WIDTH = 163
- window = {
- "name" : "CharacterDetailsWindow",
- "style" : ("float",),
- "x" : 274, #24+253-3,
- "y" : (SCREEN_HEIGHT - 398) / 2,
- "width" : MAINBOARD_WIDTH,
- "height" : MAINBOARD_HEIGHT,
- "children" :
- (
- ## MainBoard
- {
- "name" : "MainBoard",
- "type" : "board",
- "style" : ("attach","ltr"),
- ## CharacterWindow.py 영향 받음
- "x" : 0,
- "y" : 0,
- "width" : MAINBOARD_WIDTH,
- "height" : MAINBOARD_HEIGHT,
- "children" :
- (
- ## 타이틀바
- {
- "name" : "TitleBar",
- "type" : "titlebar",
- "style" : ("attach",),
- "x" : 6,
- "y" : 7,
- "width" : MAINBOARD_WIDTH - 13,
- "children" :
- (
- { "name" : "TitleName", "type" : "text", "x" : 0, "y" : 0, "text": localeInfo.DETAILS_TITLE, "all_align":"center" },
- ),
- },
- ## 스크롤 바
- {
- "name" : "ScrollBar",
- "type" : "scrollbar",
- "x" : 24,
- "y" : 31,
- "size" : MAINBOARD_HEIGHT - 40,
- "horizontal_align" : "right",
- },
- ## 호리즌 바
- {
- "name" : "horizontalbar0", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*0, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName0", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar1", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*1, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName1", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar2", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*2, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName2", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar3", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*3, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName3", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar4", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*4, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName4", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar5", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*5, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName5", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar6", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*6, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName6", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar7", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*7, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName7", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar8", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*8, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName8", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar9", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*9, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName9", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar10", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*10, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName10", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar11", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*11, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName11", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- },
- {
- "name" : "horizontalbar12", "type":"horizontalbar", "x":TITLE_BAR_POS_X, "y":LABEL_START_Y+LABEL_GAP*12, "width":TITLE_BAR_WIDTH,
- "children" : ( { "name" : "horizontalbarName12", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", }, ),
- }, ## 호리즌 바 끝
- ## 라벨 ##
- {
- "name" : "label0", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*0, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue0", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label1", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*1, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue1", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label2", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*2, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue2", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label3", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*3, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue3", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label4", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*4, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue4", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label5", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*5, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue5", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label6", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*6, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue6", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label7", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*7, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue7", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label8", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*8, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue8", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label9", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*9, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue9", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label10", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*10, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue10", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label11", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*11, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue11", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- },
- {
- "name" : "label12", "type" : "thinboard_circle", "x" : LABEL_START_X, "y" : LABEL_START_Y+LABEL_GAP*12, "width" : LABEL_WIDTH, "height" : LABEL_HEIGHT,
- "children" : (
- { "name" : "labelvalue12", "type" : "text", "x" : 0, "y" : 0, "text" : "", "all_align" : "center", },
- ),
- }, ## 라벨 끝
- ## 버튼
- {
- "name" : "labelname0", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*0,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname1", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*1,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname2", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*2,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname3", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*3,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname4", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*4,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname5", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*5,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname6", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*6,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname7", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*7,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname8", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*8,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname9", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*9,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname10", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*10,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname11", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*11,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- },
- {
- "name" : "labelname12", "type" : "button",
- "x" : LABEL_NAME_POS_X, "y" : LABEL_START_Y+LABEL_GAP*12,
- "text" : "",
- "default_image" : LOCALE_PATH + "details.sub",
- "over_image" : LOCALE_PATH + "details.sub",
- "down_image" : LOCALE_PATH + "details.sub",
- }, ## 버튼 끝
- ),
- }, ## MainBoard End
- ),
- }