mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
111 lines
1.5 KiB
C++
111 lines
1.5 KiB
C++
#include <CtrlCore/CtrlCore.h>
|
|
|
|
#ifdef GUI_SKELETON
|
|
|
|
#define LLOG(x) // DLOG(x)
|
|
|
|
NAMESPACE_UPP
|
|
|
|
void ChHostSkin(void)
|
|
{
|
|
}
|
|
|
|
void WakeUpGuiThread(void)
|
|
{
|
|
}
|
|
|
|
void Ctrl::GuiPlatformConstruct()
|
|
{
|
|
}
|
|
|
|
void Ctrl::GuiPlatformDestruct()
|
|
{
|
|
}
|
|
|
|
void Ctrl::GuiPlatformRemove()
|
|
{
|
|
}
|
|
|
|
void Ctrl::GuiPlatformGetTopRect(Rect& r) const
|
|
{
|
|
}
|
|
|
|
bool Ctrl::GuiPlatformRefreshFrameSpecial(const Rect& r)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool Ctrl::GuiPlatformSetFullRefreshSpecial()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void Ctrl::PaintCaret(SystemDraw& w)
|
|
{
|
|
}
|
|
|
|
String GuiPlatformGetKeyDesc(dword key)
|
|
{
|
|
return Null;
|
|
}
|
|
|
|
void Ctrl::GuiPlatformSelection(PasteClip&)
|
|
{
|
|
}
|
|
|
|
void GuiPlatformAdjustDragImage(ImageBuffer&)
|
|
{
|
|
}
|
|
|
|
bool GuiPlatformHasSizeGrip()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void GuiPlatformGripResize(TopWindow *q)
|
|
{
|
|
}
|
|
|
|
Color GuiPlatformGetScreenPixel(int x, int y)
|
|
{
|
|
return Black;
|
|
}
|
|
|
|
void GuiPlatformAfterMenuPopUp()
|
|
{
|
|
}
|
|
|
|
void Ctrl::SetCaret(int x, int y, int cx, int cy)
|
|
{
|
|
GuiLock __;
|
|
caretx = x;
|
|
carety = y;
|
|
caretcx = cx;
|
|
caretcy = cy;
|
|
SyncCaret();
|
|
}
|
|
|
|
void Ctrl::SyncCaret() {
|
|
GuiLock __;
|
|
|
|
}
|
|
|
|
String Ctrl::Name() const {
|
|
GuiLock __;
|
|
#ifdef CPU_64
|
|
String s = String(typeid(*this).name()) + " : 0x" + FormatIntHex(this);
|
|
#else
|
|
String s = String(typeid(*this).name()) + " : " + Format("0x%x", (int) this);
|
|
#endif
|
|
if(IsChild())
|
|
s << "(parent " << String(typeid(*parent).name()) << ")";
|
|
return s;
|
|
}
|
|
|
|
void Ctrl::InstallPanicBox()
|
|
{
|
|
}
|
|
|
|
END_UPP_NAMESPACE
|
|
|
|
#endif
|