⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nano-x_8h-source.html

📁 Nano-x的设计架及相关文档----这是网上下载的中文翻译版本, E文的可以在其网站上下载.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
00103 <span class="preprocessor">#define GR_MODE_NOOP            MWMODE_NOOP             </span><span class="comment">/* dst*/</span>00104 00105 <span class="preprocessor">#define GR_MODE_DRAWMASK        0x00FF</span>00106 <span class="preprocessor"></span><span class="preprocessor">#define GR_MODE_EXCLUDECHILDREN 0x0100          </span><span class="comment">/* exclude children on clip*/</span>00107 00108 <span class="comment">/* Line modes */</span>00109 <span class="preprocessor">#define GR_LINE_SOLID           MWLINE_SOLID</span>00110 <span class="preprocessor"></span><span class="preprocessor">#define GR_LINE_ONOFF_DASH      MWLINE_ONOFF_DASH</span>00111 <span class="preprocessor"></span>00112 <span class="preprocessor">#define GR_FILL_SOLID           MWFILL_SOLID</span>00113 <span class="preprocessor"></span><span class="preprocessor">#define GR_FILL_STIPPLE         MWFILL_STIPPLE</span>00114 <span class="preprocessor"></span><span class="preprocessor">#define GR_FILL_OPAQUE_STIPPLE  MWFILL_OPAQUE_STIPPLE</span>00115 <span class="preprocessor"></span><span class="preprocessor">#define GR_FILL_TILE            MWFILL_TILE</span>00116 <span class="preprocessor"></span>00117 <span class="comment">/* Polygon regions*/</span>00118 <span class="preprocessor">#define GR_POLY_EVENODD         MWPOLY_EVENODD</span>00119 <span class="preprocessor"></span><span class="preprocessor">#define GR_POLY_WINDING         MWPOLY_WINDING</span>00120 <span class="preprocessor"></span>00121 <span class="comment">/* builtin font std names*/</span>00122 <span class="preprocessor">#define GR_FONT_SYSTEM_VAR      MWFONT_SYSTEM_VAR</span>00123 <span class="preprocessor"></span><span class="preprocessor">#define GR_FONT_SYSTEM_FIXED    MWFONT_SYSTEM_FIXED</span>00124 <span class="preprocessor"></span><span class="preprocessor">#define GR_FONT_GUI_VAR         MWFONT_GUI_VAR          </span><span class="comment">/* deprecated*/</span>00125 <span class="preprocessor">#define GR_FONT_OEM_FIXED       MWFONT_OEM_FIXED        </span><span class="comment">/* deprecated*/</span>00126 00127 <span class="comment">/* GrText/GrGetTextSize encoding flags*/</span>00128 <span class="preprocessor">#define GR_TFASCII              MWTF_ASCII</span>00129 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFUTF8               MWTF_UTF8</span>00130 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFUC16               MWTF_UC16</span>00131 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFUC32               MWTF_UC32</span>00132 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFXCHAR2B            MWTF_XCHAR2B</span>00133 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFPACKMASK           MWTF_PACKMASK</span>00134 <span class="preprocessor"></span>00135 <span class="comment">/* GrText alignment flags*/</span>00136 <span class="preprocessor">#define GR_TFTOP                MWTF_TOP</span>00137 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFBASELINE           MWTF_BASELINE</span>00138 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFBOTTOM             MWTF_BOTTOM</span>00139 <span class="preprocessor"></span>00140 <span class="comment">/* GrSetFontAttr flags*/</span>00141 <span class="preprocessor">#define GR_TFKERNING            MWTF_KERNING</span>00142 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFANTIALIAS          MWTF_ANTIALIAS</span>00143 <span class="preprocessor"></span><span class="preprocessor">#define GR_TFUNDERLINE          MWTF_UNDERLINE</span>00144 <span class="preprocessor"></span>00145 <span class="comment">/* GrArc, GrArcAngle types*/</span>00146 <span class="preprocessor">#define GR_ARC          MWARC           </span><span class="comment">/* arc only*/</span>00147 <span class="preprocessor">#define GR_ARCOUTLINE   MWARCOUTLINE    </span><span class="comment">/* arc + outline*/</span>00148 <span class="preprocessor">#define GR_PIE          MWPIE           </span><span class="comment">/* pie (filled)*/</span>00149 00150 <span class="comment">/* GrSetWindowRegion types*/</span>00151 <span class="preprocessor">#define GR_WINDOW_BOUNDING_MASK 0       </span><span class="comment">/* outer border*/</span>00152 <span class="preprocessor">#define GR_WINDOW_CLIP_MASK     1       </span><span class="comment">/* inner border*/</span>00153 00154 <span class="comment">/* Booleans */</span>00155 <span class="preprocessor">#define GR_FALSE                0</span>00156 <span class="preprocessor"></span><span class="preprocessor">#define GR_TRUE                 1</span>00157 <span class="preprocessor"></span>00158 <span class="comment">/* Loadable Image support definition */</span>00159 <span class="preprocessor">#define GR_IMAGE_MAX_SIZE       (-1)</span>00160 <span class="preprocessor"></span>00161 <span class="comment">/* Button flags */</span>00162 <span class="preprocessor">#define GR_BUTTON_R             MWBUTTON_R      </span><span class="comment">/* right button*/</span>00163 <span class="preprocessor">#define GR_BUTTON_M             MWBUTTON_M      </span><span class="comment">/* middle button*/</span>00164 <span class="preprocessor">#define GR_BUTTON_L             MWBUTTON_L      </span><span class="comment">/* left button */</span>00165 <span class="preprocessor">#define GR_BUTTON_ANY           (MWBUTTON_R|MWBUTTON_M|MWBUTTON_L) </span><span class="comment">/* any*/</span>00166 00167 <span class="comment">/* GrSetBackgroundPixmap flags */</span>00168 <span class="preprocessor">#define GR_BACKGROUND_TILE      0       </span><span class="comment">/* Tile across the window */</span>00169 <span class="preprocessor">#define GR_BACKGROUND_CENTER    1       </span><span class="comment">/* Draw in center of window */</span>00170 <span class="preprocessor">#define GR_BACKGROUND_TOPLEFT   2       </span><span class="comment">/* Draw at top left of window */</span>00171 <span class="preprocessor">#define GR_BACKGROUND_STRETCH   4       </span><span class="comment">/* Stretch image to fit window*/</span>00172 <span class="preprocessor">#define GR_BACKGROUND_TRANS     8       </span><span class="comment">/* Don't fill in gaps */</span>00173 00174 <span class="comment">/* GrNewPixmapFromData flags*/</span>00175 <span class="preprocessor">#define GR_BMDATA_BYTEREVERSE   01      </span><span class="comment">/* byte-reverse bitmap data*/</span>00176 <span class="preprocessor">#define GR_BMDATA_BYTESWAP      02      </span><span class="comment">/* byte-swap bitmap data*/</span>00177 00178 <span class="preprocessor">#if 0 </span><span class="comment">/* don't define unimp'd flags*/</span>00179 <span class="comment">/* Window property flags */</span>00180 <span class="preprocessor">#define GR_WM_PROP_NORESIZE     0x04    </span><span class="comment">/* don't let user resize window */</span>00181 <span class="preprocessor">#define GR_WM_PROP_NOICONISE    0x08    </span><span class="comment">/* don't let user iconise window */</span>00182 <span class="preprocessor">#define GR_WM_PROP_NOWINMENU    0x10    </span><span class="comment">/* don't display a window menu button */</span>00183 <span class="preprocessor">#define GR_WM_PROP_NOROLLUP     0x20    </span><span class="comment">/* don't let user roll window up */</span>00184 <span class="preprocessor">#define GR_WM_PROP_ONTOP        0x200   </span><span class="comment">/* try to keep window always on top */</span>00185 <span class="preprocessor">#define GR_WM_PROP_STICKY       0x400   </span><span class="comment">/* keep window after desktop change */</span>00186 <span class="preprocessor">#define GR_WM_PROP_DND          0x2000  </span><span class="comment">/* accept drag and drop icons */</span>00187 <span class="preprocessor">#endif</span>00188 <span class="preprocessor"></span>00189 <span class="comment">/* Window properties*/</span>00190 <span class="preprocessor">#define GR_WM_PROPS_NOBACKGROUND 0x00000001L</span><span class="comment">/* Don't draw window background*/</span>00191 <span class="preprocessor">#define GR_WM_PROPS_NOFOCUS      0x00000002L </span><span class="comment">/* Don't set focus to this window*/</span>00192 <span class="preprocessor">#define GR_WM_PROPS_NOMOVE       0x00000004L </span><span class="comment">/* Don't let user move window*/</span>00193 <span class="preprocessor">#define GR_WM_PROPS_NORAISE      0x00000008L </span><span class="comment">/* Don't let user raise window*/</span>00194 <span class="preprocessor">#define GR_WM_PROPS_NODECORATE   0x00000010L </span><span class="comment">/* Don't redecorate window*/</span>00195 <span class="preprocessor">#define GR_WM_PROPS_NOAUTOMOVE   0x00000020L </span><span class="comment">/* Don't move window on 1st map*/</span>00196 <span class="preprocessor">#define GR_WM_PROPS_NOAUTORESIZE 0x00000040L </span><span class="comment">/* Don't resize window on 1st map*/</span>00197 00198 <span class="comment">/* default decoration style*/</span>00199 <span class="preprocessor">#define GR_WM_PROPS_APPWINDOW   0x00000000L </span><span class="comment">/* Leave appearance to WM*/</span>00200 <span class="preprocessor">#define GR_WM_PROPS_APPMASK     0xF0000000L </span><span class="comment">/* Appearance mask*/</span>00201 <span class="preprocessor">#define GR_WM_PROPS_BORDER      0x80000000L </span><span class="comment">/* Single line border*/</span>00202 <span class="preprocessor">#define GR_WM_PROPS_APPFRAME    0x40000000L </span><span class="comment">/* 3D app frame (overrides border)*/</span>00203 <span class="preprocessor">#define GR_WM_PROPS_CAPTION     0x20000000L </span><span class="comment">/* Title bar*/</span>00204 <span class="preprocessor">#define GR_WM_PROPS_CLOSEBOX    0x10000000L </span><span class="comment">/* Close box*/</span>00205 <span class="preprocessor">#define GR_WM_PROPS_MAXIMIZE    0x08000000L </span><span class="comment">/* Application is maximized*/</span>00206 00207 <span class="comment">/* Flags for indicating valid bits in GrSetWMProperties call*/</span>00208 <span class="preprocessor">#define GR_WM_FLAGS_PROPS       0x0001  </span><span class="comment">/* Properties*/</span>00209 <span class="preprocessor">#define GR_WM_FLAGS_TITLE       0x0002  </span><span class="comment">/* Title*/</span>00210 <span class="preprocessor">#define GR_WM_FLAGS_BACKGROUND  0x0004  </span><span class="comment">/* Background color*/</span>00211 <span class="preprocessor">#define GR_WM_FLAGS_BORDERSIZE  0x0008  </span><span class="comment">/* Border size*/</span>00212 <span class="preprocessor">#define GR_WM_FLAGS_BORDERCOLOR 0x0010  </span><span class="comment">/* Border color*/</span>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -