DX: Full Screen GUI Development 2[13]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 sonicdater 的 blog

            objsurface.drawline ix + iparentx + 1, iy + iparenty + 1, ix + iparentx + 1, iy + iparenty + iheight - 1

            objsurface.drawline ix + iparentx, iy + iparenty + iheight + 1, ix + iparentx + iwidth + 1, iy + iparenty + iheight + 1

            objsurface.drawline ix + iparentx + iwidth + 1, iy + iparenty, ix + iparentx + iwidth + 1, iy + iparenty + iheight + 1

       

            objsurface.setforecolor loldcolor

           

            if len(scaption) > 0 then

                icaptionx = ix + iparentx + 10

                icaptiony = iy + parenty - 8

                bdrawcaption = true

            else

                bdrawcaption = false

            end if

       

        case basewindow

            'nothing needed here since we use the base rectangle

           

            if len(scaption) > 0 then

                icaptionx = ix + 10

                icaptiony = iy + 5

                bdrawcaption = true

            else

                bdrawcaption = false

            end if

    end select

   

    lbltflags = ddblt_wait

本文关键:DX: Full Screen GUI Development
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top