Research
Timechain
Search Donate
Sponsors
Cake Wallet, private Bitcoin and Monero walletSideShift.ai, no-signup crypto exchangeOrangeRock, non-custodial bitcoin spot and perps tradingBraiins Hashpower, buy and sell Bitcoin hashrateeCash.com
Bitcoin v0.3.19 · 2010-12-13

noui.h

62 lines · plain text · GitHub · MIT license (license.txt)
1// Copyright (c) 2010 Satoshi Nakamoto2// Distributed under the MIT/X11 software license, see the accompanying3// file license.txt or http://www.opensource.org/licenses/mit-license.php.456typedef void wxWindow;7#define wxYES                   0x000000028#define wxOK                    0x000000049#define wxNO                    0x0000000810#define wxYES_NO                (wxYES|wxNO)11#define wxCANCEL                0x0000001012#define wxAPPLY                 0x0000002013#define wxCLOSE                 0x0000004014#define wxOK_DEFAULT            0x0000000015#define wxYES_DEFAULT           0x0000000016#define wxNO_DEFAULT            0x0000008017#define wxCANCEL_DEFAULT        0x8000000018#define wxICON_EXCLAMATION      0x0000010019#define wxICON_HAND             0x0000020020#define wxICON_WARNING          wxICON_EXCLAMATION21#define wxICON_ERROR            wxICON_HAND22#define wxICON_QUESTION         0x0000040023#define wxICON_INFORMATION      0x0000080024#define wxICON_STOP             wxICON_HAND25#define wxICON_ASTERISK         wxICON_INFORMATION26#define wxICON_MASK             (0x00000100|0x00000200|0x00000400|0x00000800)27#define wxFORWARD               0x0000100028#define wxBACKWARD              0x0000200029#define wxRESET                 0x0000400030#define wxHELP                  0x0000800031#define wxMORE                  0x0001000032#define wxSETUP                 0x000200003334inline int MyMessageBox(const string& message, const string& caption="Message", int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1)35{36    printf("%s: %s\n", caption.c_str(), message.c_str());37    fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str());38    return 4;39}40#define wxMessageBox  MyMessageBox4142inline int ThreadSafeMessageBox(const string& message, const string& caption, int style=wxOK, wxWindow* parent=NULL, int x=-1, int y=-1)43{44    return MyMessageBox(message, caption, style, parent, x, y);45}4647inline bool ThreadSafeAskFee(int64 nFeeRequired, const string& strCaption, wxWindow* parent)48{49    return true;50}5152inline void CalledSetStatusBar(const string& strText, int nField)53{54}5556inline void UIThreadCall(boost::function0<void> fn)57{58}5960inline void MainFrameRepaint()61{62}

Click a line number to link to it; use #L10-L20 for a range. "=" next to a version means the file is identical there.

0:000:00