|
|
@@ -986,12 +986,12 @@ void CMainWnd::UpdateGongnengDaohang()
|
|
|
|
|
|
//公共属性
|
|
|
newOption->SetGroup(L"main_tab");
|
|
|
- newOption->SetFixedWidth(101);
|
|
|
- newOption->SetFixedHeight(102);
|
|
|
+ newOption->SetFixedWidth(91);
|
|
|
+ newOption->SetFixedHeight(92);
|
|
|
|
|
|
RECT padding;
|
|
|
padding.left = 0;
|
|
|
- padding.top = 60;
|
|
|
+ padding.top = 55;
|
|
|
padding.right = 0;
|
|
|
padding.bottom = 0;
|
|
|
newOption->SetTextPadding(padding);
|
|
|
@@ -1006,96 +1006,96 @@ void CMainWnd::UpdateGongnengDaohang()
|
|
|
newOption->SetName(L"main_diandan");
|
|
|
newOption->SetText(L"点单");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_diandan.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_diandan_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_diandan.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_diandan_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "dingdan")
|
|
|
{
|
|
|
newOption->SetName(L"main_dingdan");
|
|
|
newOption->SetText(L"订单");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_dingdan.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_dingdan_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_dingdan.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_dingdan_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "huiyuan")
|
|
|
{
|
|
|
newOption->SetName(L"main_huiyuan");
|
|
|
newOption->SetText(L"会员");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_huiyuan.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_huiyuan_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_huiyuan.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_huiyuan_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "baobiao")
|
|
|
{
|
|
|
newOption->SetName(L"main_baobiao");
|
|
|
newOption->SetText(L"报表");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_baobiao.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_baobiao_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_baobiao.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_baobiao_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "jiaoban")
|
|
|
{
|
|
|
newOption->SetName(L"main_jiaoban");
|
|
|
newOption->SetText(L"交班");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_jiaoban.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_jiaoban_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_jiaoban.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_jiaoban_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "setting")
|
|
|
{
|
|
|
newOption->SetName(L"main_setting");
|
|
|
newOption->SetText(L"设置");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_setting.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_setting_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_setting.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_setting_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "shangpin")
|
|
|
{
|
|
|
newOption->SetName(L"main_shangpin");
|
|
|
newOption->SetText(L"商品");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_shangpin.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_shangpin_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_shangpin.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_shangpin_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "kucun")
|
|
|
{
|
|
|
newOption->SetName(L"main_kucun");
|
|
|
newOption->SetText(L"库存");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_kucun.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_kucun_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_kucun.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_kucun_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "caigou")
|
|
|
{
|
|
|
newOption->SetName(L"main_caigou");
|
|
|
newOption->SetText(L"采购");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_caigou.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_caigou_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_caigou.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_caigou_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "zhengcan")
|
|
|
{
|
|
|
newOption->SetName(L"main_zhengcan");
|
|
|
newOption->SetText(L"桌台");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_zhengcan.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_zhengcan_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_zhengcan.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_zhengcan_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "saomashouyin")
|
|
|
{
|
|
|
newOption->SetName(L"main_saomashouyin");
|
|
|
newOption->SetText(L"收银");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_saomashouyin.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_saomashouyin_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_saomashouyin.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_saomashouyin_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
else if (curName == "shoukuan")
|
|
|
{
|
|
|
newOption->SetName(L"main_shoukuan");
|
|
|
newOption->SetText(L"收款");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_shoukuan.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_shoukuan_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_shoukuan.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_shoukuan_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
}
|
|
|
|
|
|
layout->Add(newOption);
|
|
|
@@ -1122,8 +1122,8 @@ void CMainWnd::UpdateGongnengDaohang()
|
|
|
newOption->SetName(L"main_gengduo");
|
|
|
newOption->SetText(L"更多");
|
|
|
|
|
|
- newOption->SetNormalImage(L"file='main_gengduo.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
- newOption->SetSelectedImage(L"file='main_gengduo_select.png' source='0,0,50,50' dest='25,13,75,63'");
|
|
|
+ newOption->SetNormalImage(L"file='main_gengduo.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
+ newOption->SetSelectedImage(L"file='main_gengduo_select.png' source='0,0,50,50' dest='18,13,75,63'");
|
|
|
|
|
|
layout->Add(newOption);
|
|
|
|