ソースを参照

开始做正餐了

张洋 3 年 前
コミット
96a40854fd

+ 10 - 4
bin/Win32/Debug/zhipuzi_pos_windows/skin/zhengcan_page.xml

@@ -4,10 +4,16 @@
 		<HorizontalLayout>
 			<Control width="1" bkcolor="#FFD1D1D1"></Control>
 			
-			<VerticalLayout name="shangpin_food_layout">
-				<Control></Control>
-				<Label text="桌台功能暂未上线,敬请期待" align="center" font="20" padding="0,0,0,0"></Label>
-				<Control></Control>
+			<VerticalLayout>
+				<VerticalLayout name="zhengcan_zhuozi_type_scrolllayout" vscrollbar="true">
+					<HorizontalLayout name="zhengcan_zhuozi_type_layout" padding="0,0,0,0" bkcolor="#FFFFFFFF">
+
+					</HorizontalLayout>
+				</VerticalLayout>
+				
+				<VerticalLayout>
+				
+				</VerticalLayout>
 			</VerticalLayout>
 				
 		</HorizontalLayout>

+ 5 - 0
zhipuzi_pos_windows/page/CZhengcanPageUI.cpp

@@ -60,4 +60,9 @@ void CZhengcanPageUI::SetPos(RECT rc, bool bNeedInvalidate)
 	m_nPageWidth = rc.right - rc.left;
 
 	CContainerUI::SetPos(rc, bNeedInvalidate);
+}
+
+void CZhengcanPageUI::InitTabletypeShow()
+{
+
 }

+ 3 - 0
zhipuzi_pos_windows/page/CZhengcanPageUI.h

@@ -44,6 +44,9 @@ public:
 
 	void SetPos(RECT rc, bool bNeedInvalidate = true);
 
+	//先初始化桌子分类
+	void InitTabletypeShow();
+
 private:
 	//当前控件的实际宽度
 	int m_nPageWidth;