Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleKu committed Jun 28, 2018
1 parent dd4ae28 commit 28dd294
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions doc/FAQ.txt
@@ -0,0 +1,45 @@
1. ����Դ���Ƥ������_skin.sys.XXXX��ʼ���Դ���Ƥ�����λ��trunk\soui-sys-resource\theme_sys_res��
ͼƬ������ӳ���ϵ���Դ�trunk\soui-sys-resource\theme_sys_res.rc2 �ļ��鿴

2. ����滻ͨ�������ɵĹر�/��С��/��󻯰�ťͼƬ
1>�ҵ���ϵͳͼƬ�ļ���(trunk\soui-sys-resource\theme_sys_res)ֱ�Ӱ��ļ��滻��,�˷������
2>���²������滻�����滻����
I> uires.idx ������ͼƬ һ��رհ�ť����ͼ������̬/��̬ͼƬ����˷ŵ�IMGX(�淶)
<IMGX>
<file name="ID_PNG_WND_CLOSE" path="image\shut.png" /> <!-- name���� -->
</IMGX>
II> init.xml ����skin
<skin>
<imglist name="_skin.btn.wnd.close" src="IMGX:ID_PNG_WND_CLOSE" states="3"/>
<!--
˵��: src=��ǩ��:name �˴��DZ�ǩ��name ������I
state=ͼƬ��״̬�� �˴���ͼƬ����״̬ һ����3��Ĭ�ϣ����������£��������4״̬��ô���ǽ���
-->
</skin>
III> �޸Ķ�Ӧ����xml�ļ� �˴�Ϊdlg_main.xml�ļ�
<root class="cls_dlg_frame" cache="1">
<caption pos="0,0,-0,30" show="1" font="adding:8">
....
<!-- ������
<imgbtn id="1" skin="_skin.sys.btn.close" pos="-45,0" tip="close" animate="1"/>
-->
<!-- �����Զ���رհ�ť Ҳ���ǰ� skin���Ƹijɵ�II��name���� -->
<imgbtn id="1" skin="_skin.btn.wnd.close" pos="-45,0" tip="close" animate="1"/>
....
</caption>
....
</root>
���Ͼ�����ɲ��裬�����滻����ͼƬҲ����ͬ����

3. ��ȡ�ı���edit��ֵ
SEdit *pEditNmae=FindChildByName2<SEdit>(L"uname");
SStringW strUname=pEditNmae->GetWindowText();
if (strUname.IsEmpty())
{// δ���봦��

}
else
{//���봦��

}

Binary file added doc/SOUI用户使用手册.pdf
Binary file not shown.
Binary file added doc/alipay.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/soui 的静态编译.pdf
Binary file not shown.
Binary file added doc/wechat.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/属性列表.xls
Binary file not shown.

0 comments on commit 28dd294

Please sign in to comment.