mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
umk: Fixed to compile in macos
git-svn-id: svn://ultimatepp.org/upp/trunk@12983 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
682694c0ea
commit
6b41e4e761
2 changed files with 38 additions and 0 deletions
37
uppsrc/umk/MacOs.cpp
Normal file
37
uppsrc/umk/MacOs.cpp
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#include "umake.h"
|
||||
#include <Draw/Draw.h>
|
||||
|
||||
#ifdef PLATFORM_COCOA
|
||||
|
||||
namespace Upp { // Silence linker errors
|
||||
|
||||
CommonFontInfo GetFontInfoSys(Font font)
|
||||
{
|
||||
CommonFontInfo fi;
|
||||
return fi;
|
||||
}
|
||||
|
||||
GlyphInfo GetGlyphInfoSys(Font font, int chr)
|
||||
{
|
||||
GlyphInfo gi;
|
||||
return gi;
|
||||
}
|
||||
|
||||
Vector<FaceInfo> GetAllFacesSys()
|
||||
{
|
||||
Vector<FaceInfo> r;
|
||||
return r;
|
||||
}
|
||||
|
||||
String GetFontDataSys(Font font)
|
||||
{
|
||||
return String();
|
||||
}
|
||||
|
||||
void RenderCharacterSys(FontGlyphConsumer& sw, double x, double y, int chr, Font font)
|
||||
{
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
@ -4,6 +4,7 @@ uses
|
|||
ide\Builders;
|
||||
|
||||
file
|
||||
MacOs.cpp,
|
||||
umake.h,
|
||||
Console.cpp,
|
||||
IdeContext.cpp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue