Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions man/api/other/attachhwnd.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它函数</a>-attachHWND</font>
<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它</a> / attachHWND</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能:</strong></font>

Expand All @@ -26,6 +26,7 @@
<font size="4" color="#0000FF"><strong>说明:</strong></font>
在 Windows 下,句柄是一个窗口的标识,得到句柄后,可以使用 Windows SDK 中的各种命令实现对窗口的控制。

示例:
<font size="4" color="#0000FF"><strong>示例:</strong></font>
(无)
</body>

2 changes: 1 addition & 1 deletion man/api/other/getfps.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它函数</a> / getfps</font>
<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它</a> / getfps</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能:</strong></font>

Expand Down
7 changes: 4 additions & 3 deletions man/api/other/gethdc.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它函数</a> / getHDC</font>
<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它</a> / getHDC</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能:</strong></font>

Expand All @@ -25,7 +25,8 @@
在 Windows 下,HDC 是设备上下文句柄,得到该句柄后,可以在对应的窗口中使用 GDI/GDI++ 中的各种 API 进行绘图操作。
macOS 以 CPU PixelSurface/Core Graphics 为绘图模型,应使用 EGE API 或 `getbuffer()`。

示例:

<font size="4" color="#0000FF"><strong>示例:</strong></font>
(无)

</body>

3 changes: 2 additions & 1 deletion man/api/other/gethinstance.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它函数</a> / GetHWnd</font>
<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它</a> / getHInstance</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能:</strong></font>

Expand All @@ -28,3 +28,4 @@
(无)

</body>

6 changes: 4 additions & 2 deletions man/api/other/gethwnd.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它函数</a> / getHWnd</font>
<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它</a> / getHWnd</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能:</strong></font>

Expand All @@ -25,7 +25,8 @@
macOS 上该类型只是源码兼容别名;当前值是内部 NSWindow 的不透明指针,
不能传给 Win32 API,也不应由调用者释放。

以下示例仅适用于 Windows;跨平台修改标题请使用 setcaption():
<font size="4" color="#0000FF"><strong>示例:</strong></font>
仅适用于 Windows;跨平台修改标题请使用 setcaption()
<pre><font color=#008000>// 获得窗口句柄
</font><font color=#800080>HWND </font>hWnd = <font color=#008080>getHWnd</font>();
<font color=#008000>// 使用 API 函数修改窗口名称
Expand All @@ -34,3 +35,4 @@
</pre>

</body>

2 changes: 1 addition & 1 deletion man/api/other/inputboxgetline.htm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</head>
<body>

<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它函数</a> / inputbox_getline</font>
<pre><font size="4"><a href="../../index.htm">主页</a> / <a href="../index.htm">库函数目录</a> / <a href="index.htm">其它</a> / inputbox_getline</font>
<font size="4">
<font size="4" color="#0000FF"><strong>功能:</strong></font>

Expand Down
6 changes: 1 addition & 5 deletions man/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@

<pre>
<br>
<h1 align="center">EGE (Easy Graphics Engine) 历史 API 帮助</h1>

<p><strong>注意:</strong>本 HTML 目录的安装与 Win32 章节主要保留历史内容。
当前 Windows/macOS 构建和平台差异请查看
<a href="../README.md">README.md</a> 与 <a href="../BUILD.md">BUILD.md</a>。</p>
<h1 align="center">EGE (Easy Graphics Engine) 25.11</h2>

<font size="4"><center></strong>作者:</strong>misakamm</center></font>
<font size="4">
Expand Down
6 changes: 6 additions & 0 deletions man/netfriendsdemo/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@

<font size="5" color="#0000FF"><strong>小游戏</strong></font><font size="4">
<a href="http://pan.baidu.com/share/link?shareid=121619&uk=3910166560" target=_blank>拼图游戏——忆_碎碎念</a>
<a href="https://github.com/Ltabsyy/MineSweeper" target=_blank>扫雷——Ltabsyy</a>
<a href="https://github.com/Ltabsyy/Nonogram" target=_blank>数织——Ltabsyy</a>
<a href="https://github.com/Ltabsyy/Maze" target=_blank>迷宫——Ltabsyy</a>
<a href="https://github.com/Ltabsyy/Minecraft-Redstone-Simulator" target=_blank>MC红石模拟器——Ltabsyy</a>
<a href="https://github.com/Ltabsyy/HuaRongRoad" target=_blank>数字华容道——Ltabsyy</a>
<a href="https://github.com/Ltabsyy/SchulteGrid" target=_blank>舒尔特方格——Ltabsyy</a>
</font>

</pre>
Expand Down
2 changes: 2 additions & 0 deletions man/setup/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@
<font color=#FF0000 size=5>需要依次加入graphics, gdi32, imm32, msimg32, ole32, oleaut32, winmm, uuid共8个</font>
注意次序不正确可能会引起编译错误

另外,从24.04版本开始,GCC的链接参数只需<font color=#FF0000 size=4>-lgraphics -lgdi32 -lgdiplus</font>即可。
Comment thread
Ltabsyy marked this conversation as resolved.
Resolved

例如在Code::Blocks下(需要建立project),在菜单 - Project - build options,设置Linker选项,如图:
<img src="cb.png">

Expand Down
Loading