Heya :awesome:
Neuz/VersionCommon.h
FuncApplet.cpp
WndControl.cpp
Search:
Add below:
WndManager.cpp
Search:
Add below:
Search:
Change it to:
ResData.h
(! dont forget to change APP ID to your own)
ResData.inc
1) Download WorldPost.rar;
2) Copy WndWorldPost.cpp and WndWorldPost.h to Source/Neuz folder and include to Neuz project;
3) Copy worldpost.tga and worldpost01.tga to your Theme folder.
FINISH :pimp:
|
|
Neuz/VersionCommon.h
Code:
#define __WORLDPOST
FuncApplet.cpp
Code:
#ifdef __WORLDPOST #include "WndWorldPost.h" #endif // __WORLDPOST
Code:
#ifdef __WORLDPOST DECLAREAPPLET(AppMain_WndWorldPost, new CWndWorldPost); #endif // __WORLDPOST
Code:
#ifdef __WORLDPOST
AddAppletFunc(AppMain_WndWorldPost, APP_WORLDPOST, _T("CWndWorldPost"), NULL, GETTEXT(TID_TIP_DIALOG), 0);
#endif // __WORLDPOST
Code:
#ifdef __WORLDPOST #include "WndWorldPost.h" #endif
Code:
if( ( m_dwStyle & WBS_HIGHLIGHT ) && m_GlobalShortcut.m_dwShortcut == SHORTCUT_NONE )
{
Code:
#ifdef __WORLDPOST
if (GetParentWnd()->GetWndId() == APP_WORLDPOST)
{
if (GetClientRect().PtInRect(m_ptMouse))
{
((CWndWorldPost*)GetParentWnd())->bRenderBg = TRUE;
if (m_bEnable == TRUE)
m_bHighLight = TRUE;
CString strTT2, strTmp;
CEditString str;
if (g_pPlayer && !g_pPlayer->IsMode(MODE_MAILBOX))
{
if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
{
strTT2.Format("Post Box \nNew messages: none\n[Pull outside the edges of the envelope to drag the icon]");
}
else
{
strTT2.Format("Post Box \nNew messages: none");
}
}
else
{
if (GetAsyncKeyState(VK_SHIFT) & 0x8000)
{
strTT2.Format("Post Box \nThere are new messages!\n[Pull outside the edges of the envelope to drag the icon]");
}
else
{
strTT2.Format("Post Box \nThere are new messages!");
}
}
str.AddParsingString(strTT2);
g_toolTip.PutToolTip(APP_WORLDPOST, str, m_rectCurrentClient, point, 3);
}
}
else
#endif
Search:
Code:
ObjectExecutor(SHORTCUT_APPLET, APP_WORLD);
Code:
#ifdef __WORLDPOST ObjectExecutor(SHORTCUT_APPLET, APP_WORLDPOST); #endif
Code:
#if __VER >= 15 // __GUILD_HOUSE if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN ) #endif //__GUILD_HOUSE
Code:
#if __VER >= 15 // __GUILD_HOUSE if( pWndBase->GetWndApplet()->dwWndId != APP_GH_MAIN #ifdef __WORLDPOST && pWndBase->GetWndApplet()->dwWndId != APP_WORLDPOST #endif ) #endif //__GUILD_HOUSE
(! dont forget to change APP ID to your own)
Code:
#define APP_WORLDPOST 9999
Code:
APP_WORLDPOST "WndTile00.tga" 1 80 96 0x2410000 26
{
// Title String
""
}
{
// ToolTip
""
}
{
WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 8 8 63 59 0x260000 0 0 0 0
{
// Title String
""
}
{
// ToolTip
""
}
WTYPE_BUTTON WIDC_BUTTON1 "" 0 14 12 56 52 0x220010 0 0 0 0
{
// Title String
""
}
{
// ToolTip
""
}
}
2) Copy WndWorldPost.cpp and WndWorldPost.h to Source/Neuz folder and include to Neuz project;
3) Copy worldpost.tga and worldpost01.tga to your Theme folder.
FINISH :pimp: