-
大小: 605KB文件類型: .7z金幣: 1下載: 0 次發布日期: 2021-01-08
- 語言: 其他
- 標簽: sciter??htmlayout??sciterNote??
資源簡介
學習sciter代碼的好實例 , 同時sciterNote也是一款軟件的源碼, 希望能幫助到學習的人.
代碼片段和文件信息
#include?“sciter-x-window.hpp“
#include?
//?native?API?
#if?0
static?sciter::value?libcurl_api()?{
??sciter::value?api_map;
/*??sciter::value?api_math_map;
??std::function?native_sum?=?[](int?a?int?b)?{?return?a?+?b;?};
??std::function?native_sub?=?[](int?a?int?b)?{?return?a?-?b;?};
??api_math_map.set_item(sciter::value(“sum“)?sciter::vfunc(?native_sum?));
??api_math_map.set_item(sciter::value(“sub“)?sciter::vfunc(?native_sub?));
??*/
??
??//api_map.set_item(sciter::value(“math“)?api_math_map);
??/*
????return?{
??????math:?{
????????sum:?{native_sum}
????????sub:?{native_sub}
??????}
????}
??*/
??return?api_map;
}
#endif
class?frame:?public?sciter::window?
{
??UINT?hk_ticks?=?0;?//?hot?key?tick
評論
共有 條評論