зеркало из https://github.com/mozilla/gecko-dev.git
bug 78273, r=ftang/jbetak, sr=blizzard
For the embedding API add "get font list". Used to fill the font pref panel
This commit is contained in:
Родитель
85ba5adca3
Коммит
c80895811e
|
@ -31,6 +31,7 @@ XPIDL_MODULE = gfx
|
|||
|
||||
XPIDLSRCS = \
|
||||
nsIFontEnumerator.idl \
|
||||
nsIFontList.idl \
|
||||
nsIScriptableRegion.idl \
|
||||
nsIGraphics.idl \
|
||||
nsIScreen.idl \
|
||||
|
|
|
@ -28,6 +28,7 @@ XPIDL_MODULE=gfx
|
|||
|
||||
XPIDLSRCS = \
|
||||
.\nsIFontEnumerator.idl \
|
||||
.\nsIFontList.idl \
|
||||
.\nsIScriptableRegion.idl \
|
||||
.\nsIScreen.idl \
|
||||
.\nsIScreenManager.idl \
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
{ 0xa6cf9115, 0x15b3, 0x11d2, \
|
||||
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } }
|
||||
|
||||
#define NS_FONTLIST_CID \
|
||||
{ 0x6a8c0dd4, 0x1dd2, 0x11b2, \
|
||||
{ 0x9a, 0x8f, 0xf8, 0x2f, 0x9d, 0xf2, 0x5b, 0x07 } }
|
||||
|
||||
#define NS_REGION_CID \
|
||||
{ 0xe12752f0, 0xee9a, 0x11d1, \
|
||||
{ 0xa8, 0x2a, 0x00, 0x40, 0x95, 0x9a, 0x28, 0xc9 } }
|
||||
|
|
|
@ -27,6 +27,7 @@ VPATH = @srcdir@
|
|||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = layout
|
||||
EXPORTS = nsFontList.h
|
||||
LIBRARY_NAME = gkgfx
|
||||
EXPORT_LIBRARY = 1
|
||||
REQUIRES = xpcom string img widget util dom locale view necko pref timer uriloader gfx2 imglib2
|
||||
|
@ -74,6 +75,7 @@ CPPSRCS = \
|
|||
nsColorNames.cpp \
|
||||
nsDeviceContext.cpp \
|
||||
nsFont.cpp \
|
||||
nsFontList.cpp \
|
||||
nsImageGroup.cpp \
|
||||
nsImageManager.cpp \
|
||||
nsImageNetContextAsync.cpp \
|
||||
|
|
|
@ -37,14 +37,14 @@ DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|||
|
||||
DEFINES=-D_IMPL_NS_GFX -DWIN32_LEAN_AND_MEAN
|
||||
|
||||
CPPSRCS=nsColor.cpp nsColorNames.cpp nsFont.cpp \
|
||||
CPPSRCS=nsColor.cpp nsColorNames.cpp nsFont.cpp nsFontList.cpp \
|
||||
nsImageGroup.cpp nsImageManager.cpp nsImageNetContextAsync.cpp \
|
||||
nsImageRenderer.cpp nsImageRequest.cpp nsImageSystemServices.cpp \
|
||||
nsImageURL.cpp nsRect.cpp nsTransform2D.cpp nsBlender.cpp \
|
||||
nsDeviceContext.cpp nsImageNetContextSync.cpp nsScriptableRegion.cpp nsPrintOptionsImpl.cpp
|
||||
|
||||
CPP_OBJS=.\$(OBJDIR)\nsColor.obj .\$(OBJDIR)\nsColorNames.obj \
|
||||
.\$(OBJDIR)\nsFont.obj \
|
||||
.\$(OBJDIR)\nsFont.obj .\$(OBJDIR)\nsFontList.obj \
|
||||
.\$(OBJDIR)\nsImageGroup.obj .\$(OBJDIR)\nsImageManager.obj \
|
||||
.\$(OBJDIR)\nsImageNetContextAsync.obj .\$(OBJDIR)\nsImageRenderer.obj \
|
||||
.\$(OBJDIR)\nsImageRequest.obj .\$(OBJDIR)\nsImageSystemServices.obj \
|
||||
|
|
Загрузка…
Ссылка в новой задаче