Ejemplo n.º 1
0
    //-------------------------------------------------------------------------------------------------
    public LvItmLabel AddLvLabel(string sLabel, Color clr)
    {
        LvItmLabel itm = new LvItmLabel();

        itm.mWidth = mViewWH.x;
        itm.mLabel = sLabel;   // 显示的文字
        itm.mColor = clr;
        AddLvItem(itm);
        return(itm);
    }
Ejemplo n.º 2
0
    public LvItmLabel AddLvLabel(string sLabel, float fw, Color clr)
    {
        LvItmLabel itm = new LvItmLabel();

        itm.mLabel = sLabel;
        itm.mColor = clr;
        itm.mWidth = fw;
        PushToAry(itm);
        return(itm);
    }