mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2025-12-15 00:45:35 +08:00
remove DC_ATTR_BIDI_FIRSTCH_TYPE
This commit is contained in:
@@ -2062,10 +2062,8 @@ MG_EXPORT void GUIAPI DeleteSecondaryDC (HWND hwnd);
|
||||
* mode of a DC.
|
||||
* - DC_ATTR_TEXT_ALIGN\n
|
||||
* Text-alignment flags of a DC.
|
||||
* - DC_ATTR_BIDI_ENABLED\n
|
||||
* Is BIDI enabled.
|
||||
* - DC_ATTR_BIDI_FIRSTCH_TYPE\n
|
||||
* The first character type, on of BIDI_CHAR_TYPE_INIT, BIDI_CHAR_TYPE_LTR, or BIDI_CHAR_TYPE_RTL.
|
||||
* - DC_ATTR_BIDI_FLAGS\n
|
||||
* BIDI flags.
|
||||
* \return The attribute value.
|
||||
*
|
||||
* \sa SetDCAttr
|
||||
@@ -7013,7 +7011,7 @@ MG_EXPORT int GUIAPI GetTabbedTextExtent (HDC hdc,
|
||||
GetDCAttr (hdc, DC_ATTR_BIDI_FLAGS)
|
||||
|
||||
#define SetBIDIFlags(hdc, bidi_flags) \
|
||||
SetDCAttr (hdc, DC_ATTR_BIDI_FLAGS, (DWORD)bidi)
|
||||
SetDCAttr (hdc, DC_ATTR_BIDI_FLAGS, (DWORD)bidi_flags)
|
||||
|
||||
/**
|
||||
* \fn int GUIAPI TextOutLen (HDC hdc, int x, int y, \
|
||||
|
||||
@@ -1827,7 +1827,10 @@ static void dc_InitMemDCFrom (PDC pdc, const PDC pdc_ref)
|
||||
memset (pdc->gray_pixels, 0, sizeof (pdc->gray_pixels));
|
||||
memset (pdc->filter_pixels, 0, sizeof (pdc->filter_pixels));
|
||||
|
||||
/* copy attributes from reference DC */
|
||||
/* copy attributes from reference DC
|
||||
* gal_pixel bkcolor, pencolor, brushcolor, textcolor;
|
||||
* int bkmode, tabstop, cExtra, alExtra, blExtra, mapmode, ta_flags, bidi_flags;
|
||||
*/
|
||||
memcpy (&pdc->bkcolor, &pdc_ref->bkcolor,
|
||||
sizeof (gal_pixel)*4 + sizeof (int)*8);
|
||||
#ifdef _MGHAVE_ADV_2DAPI
|
||||
|
||||
Reference in New Issue
Block a user