Commit Graph
58 Commits
Author SHA1 Message Date
Vincent Wei 3dce463697 Merge branch 'rel-5-0' into rel-5-0 2020-09-29 17:12:40 +08:00
chw 43f126635c chw 's change 2020-09-29 14:55:22 +08:00
Vincent Wei 2f97ddc0a2 tune to use the macro HAVE_ACCESS, and use access instead of _access 2020-08-12 18:46:05 +08:00
Vincent Wei bebe28b95c disable calling of _access for FreeRTOS 2020-08-10 11:02:48 +08:00
Vincent Wei 78a0a8addf move code for initializing cfg_res_path to __sysres_get_system_res_path() 2020-06-04 09:15:15 +08:00
Vincent Wei e67324ff91 update splash pictures 2020-03-07 19:31:24 +08:00
Vincent Wei 3ce11d8882 move copy_key_string, free_key_string, and comp_key_string to map.h as static inline functions 2020-03-02 14:39:10 +08:00
Vincent Wei 7c914cdca4 fix a bug: uninitialize the callback functions for the map of system bitmaps; add __mg_map_get_size 2020-02-27 00:47:09 +08:00
Vincent Wei b9d71cd489 tune order of terminating functions 2020-02-26 23:02:24 +08:00
Vincent Wei fde80cdb1b define __mg_sys_bmp_map 2020-02-26 22:05:59 +08:00
Vincent Wei 6ab06b320f implement GetSystemBitmapEx2; tune RegisterSystemBitmap and UnregisterSystemBitmap by using the map for system bitmaps 2020-02-26 21:37:32 +08:00
Vincent Wei d9bac8ca6d declare __mg_sys_bmp_map 2020-02-26 21:36:09 +08:00
Vincent Wei d089ba70aa add resource operations for MYBITMAP; initialize/terminate map for system bitmaps; cleanup code 2020-02-26 21:35:45 +08:00
Vincent Wei 571867720b load icon from bitmap files 2020-02-25 23:46:01 +08:00
Vincent Wei 0f0effc37e return size of memory res if user param is not null 2020-02-25 23:45:09 +08:00
Vincent Wei 882bc9d821 remove bad code 2020-02-25 23:44:39 +08:00
Vincent Wei 6f132886c3 4.2.0 -> 5.0.0 2020-02-18 18:44:42 +08:00
Vincent Wei 21160fb01d rename internal symbols for better coding style 2020-02-14 12:54:54 +08:00
Vincent Wei 14d020cccf cleanup: convert tab to spaces and trim tail spaces 2020-02-02 10:53:31 +08:00
Vincent Wei 8dbe2c63f1 cleanup code, see cleanup-code.sh 2020-02-02 10:46:29 +08:00
Vincent Wei 8d2adaa61d For LoadCursorFromPNGMem, the array of offsets must have NR_CURSORS + 1 units 2020-01-14 08:50:18 +08:00
Vincent Wei 9c392a3229 _MGUSE_COMPOSITING -> _MGSCHEMA_COMPOSITING; _MGUSE_SHAREDFB -> _MGSCHEMA_SHAREDFB 2020-01-13 18:10:01 +08:00
Vincent Wei 43c4570b87 tune and cleanup 2020-01-10 19:09:09 +08:00
Vincent Wei e75144e069 cleanup and eliminate compilation errors 2020-01-10 16:25:52 +08:00
Vincent Wei b89f4e128a cleanup and remove implement sysres_load_system_cursor 2020-01-10 11:09:53 +08:00
Vincent Wei 9add6a46da enhance __mg_load_cursor_from_res to support PNG for compositing schema 2020-01-10 11:05:45 +08:00
Vincent Wei 637dbbce68 change link to licensing policy 2019-11-13 11:53:59 +08:00
Vincent Wei 173171b653 use -1 instead of 0xFFFFFFFF for ON_UPDSECDC_DONOTHING; chang return type of GetGDCapability to Uint32 2019-07-26 12:07:32 +08:00
Vincent Wei b4e46463cd remove _DEBUG 2019-07-19 15:49:16 +08:00
Vincent Wei 3710611ebd restore GetResPath 2019-07-19 14:08:08 +08:00
Vincent Wei a068f25519 use FNV 1a algrithm for Str2Key 2019-07-19 11:11:34 +08:00
Vincent Wei f6ad9a960e cleanup 2019-07-18 14:59:12 +08:00
Vincent Wei 53c77a9a73 prepend excpetion list statement 2019-07-15 14:17:20 +08:00
Vincent Wei 8ad28f6ae7 IsInvalidKey -> IsValidKey 2019-05-17 18:11:36 +08:00
Vincent Wei 617715e332 tune 2019-05-16 10:20:41 +08:00
Vincent Wei 8fe06d5a07 use const for pointer fields of INNER_RES 2019-04-15 16:44:37 +08:00
Vincent Wei 9eb7bec6d3 update splash picture with new version (4.0) 2019-04-15 10:38:23 +08:00
Vincent Wei 9acc9e7b68 update to version 4.0 2019-04-15 10:33:04 +08:00
Vincent Wei 338fb0276e use _DEBUG for real output of _DBG_PRINTF 2019-03-27 10:08:01 +08:00
Vincent Wei 9d9bf95c21 cleanup 2019-03-26 12:25:08 +08:00
Vincent Wei ed6ceaa49c fixbug of layout implementation 2019-03-26 12:22:26 +08:00
Vincent Wei 8ba346eec5 use logfont name for CreateTextRunsInfo instead of logfont object 2019-03-19 18:43:04 +08:00
Vincent Wei adab30261c add const to incore-res data 2019-03-07 18:57:04 +08:00
Vincent Wei ae532f03fa add GetGlyphBIDIType and BidiCharType -> Uint32 2018-08-29 20:03:20 +08:00
Vincent Wei dcc50d45ce change version number from 3.0 to 3.2 for splash 2018-07-02 17:41:42 +08:00
VincentWei 1cfd032718 use ANSI color for _ERR_PRINTF, _DBG_PRINTF, and _MG_PRINTF 2018-05-31 23:16:52 +08:00
VincentWei c0addda03b cleanup 2018-05-19 00:56:50 +08:00
Vincent Wei 6388d8049f add a new function: GetResPath 2018-05-18 16:03:45 +08:00
VincentWei 62efa8b29a clean up the header copying statements 2018-02-04 17:01:37 +08:00
VincentWei 0bec004433 add MAKEWPARAM and FIRSTBYTE~FOURTHBYTE macros, and remove HIBYTE_WORD16, LOBYTE_WORD16 macros. Now, MAKEWORD(lobyte, hibyte) returns same value on both 32-bit and 64-bit platforms 2018-02-02 15:05:00 +08:00