{"id":20572882,"url":"https://github.com/zlgopen/awtk-hello","last_synced_at":"2025-04-14T17:23:56.626Z","repository":{"id":76747757,"uuid":"145208960","full_name":"zlgopen/awtk-hello","owner":"zlgopen","description":"awtk模板工程","archived":false,"fork":false,"pushed_at":"2024-11-03T09:59:15.000Z","size":18626,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T06:04:27.340Z","etag":null,"topics":["awtk","hello"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zlgopen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-18T09:56:47.000Z","updated_at":"2024-11-03T09:59:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f53be17-0adb-48cd-b523-4fcb5f6bcef5","html_url":"https://github.com/zlgopen/awtk-hello","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlgopen%2Fawtk-hello","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlgopen%2Fawtk-hello/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlgopen%2Fawtk-hello/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zlgopen%2Fawtk-hello/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zlgopen","download_url":"https://codeload.github.com/zlgopen/awtk-hello/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248924509,"owners_count":21184096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["awtk","hello"],"created_at":"2024-11-16T05:24:24.473Z","updated_at":"2025-04-14T17:23:56.571Z","avatar_url":"https://github.com/zlgopen.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# awtk-hello\n\nawtk模板工程\n\n## 准备\n\n1.获取awtk并编译\n\n```\ngit clone https://github.com/zlgopen/awtk.git\ncd awtk; scons; cd -\n```\n\n2.获取awtk-hello并编译\n\n```\ngit clone https://github.com/zlgopen/awtk-hello.git\ncd awtk-hello\n```\n\n* 生成资源\n\n```\npython ./scripts/update_res.py all\n```\n\n\u003e 或者通过 designer 生成资源\n\n\n* 编译PC版本\n\n```\nscons\n```\n\n* 编译LINUX FB版本\n\n```\nscons LINUX_FB=true\n```\n\n\u003e 完整编译选项请参考[编译选项](https://github.com/zlgopen/awtk-widget-generator/blob/master/docs/build_options.md)\n\n## 运行\n\n```\n./bin/demo\n```\n\n## 预览UI文件：\n\n```\n../awtk/bin/preview_ui assets/raw/ui/xxxx.xml\n```\n\n\u003e xxxx.xml 换成实际的UI文件。\n\n\n## 目录说明：\n\n* 1. src 源文件，每个窗口的事件处理放在独立的文件中。\n\n* 2. design/default/fonts 字体文件。\n\n* 3. design/default/images 图片。x1下放正常屏幕密度的图片，x2下放高清屏幕密度的图片。\n\n* 4. design/default/strings 翻译的字符串。\n\n* 5. design/default/styles 主题配置。default.xml为缺省主题，其它为同名窗口的主题。\n\n* 6. design/default/ui 界面描述数据。\n\n\n更新资源后请运行:\n\n```\npython ./scripts/update_res.py all\n```\n\n\u003e 本文以Linux/MacOS为例，Windows可能会微妙差异，请酌情处理。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlgopen%2Fawtk-hello","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzlgopen%2Fawtk-hello","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzlgopen%2Fawtk-hello/lists"}