So you wanted to add a forms editor to your application? A dialog editor? Something that allows drawing of HTML <div>s? Here is a feature rich skeleton (!) to get you started. CDiagramEditor is a package that gives you a basic visual editor intended for vector objects. Although perhaps not sufficient to create a CAD-application, you ll indeed be able to create a dialog editor. The editor itself is derived
標簽: editor application Something wanted
上傳時間: 2014-01-21
上傳用戶:BIBI
minigui實例源代碼,目標板處理器是s3c2410,包括相應的配置文件。代碼包括Dialog box、Simple editor、Bitbmp disp、GDI draw等
上傳時間: 2013-12-27
上傳用戶:silenthink
圖形顯示技巧,這是其中一段代碼 procedure TForm1.Button1Click(Sender: TObject) var newbmp:TBitmap i,bmpheight,bmpwidth:integer //推拉 begin newbmp:=TBitmap.Create newbmp.Width:=image1.Width newbmp.Height:=image1.Height bmpheight:=image1.Height bmpwidth:=image1.Width for i:=0 to bmpheight do begin newbmp.Canvas.CopyRect(Rect(0,bmpheight-i,bmpwidth,bmpheight),image1.Canvas,Rect(0,0,bmpwidth,i)) form1.Canvas.Draw(120,100,newbmp) end newbmp.free end
標簽: procedure TBitmap TObject Button
上傳時間: 2016-01-18
上傳用戶:comua
* first open client.cpp and search for that USER_MSG_INTERCEPT(TeamInfo) over it u add this Code: USER_MSG_INTERCEPT(Health) { BEGIN_READ(pbuf,iSize) me.iHealth = READ_BYTE() return USER_MSG_CALL(Health) } * then we search for int HookUserMsg (char *szMsgName, pfnUserMsgHook pfn) and add this Code: REDIRECT_MESSAGE( Health ) *k now we have the health registered and can read it out i stop this hear know cuz i must thanks panzer and w00t.nl that they helped me with it first time! *ok now we go to int HUD_Redraw (float x, int y) and packing this draw code in it Code:
標簽: USER_MSG_INTERCEPT TeamInfo client search
上傳時間: 2016-01-22
上傳用戶:ynzfm
Mir2 Actor.pas if (IsFace) and (FaceIndex > -1) then begin d := aFrmMain.WFaceimg.Images[FaceIndex * 10 + (FaceFram) mod 8] /// if HorseSurface<>nil then // dSurface.Draw (dx+shiftx, dy + hpy + ShiftY-60, d.ClientRect, d, TRUE) // else if d <> nil then begin if HorseSurface <> nil then dsurface.Draw(SayX - d.Width div 2, dy + hpy + ShiftY - 60, d.ClientRect, d, True) else dsurface.Draw(SayX - d.Width div 2, dy + hpy + ShiftY - 50, d.ClientRect, d, True) end end end
標簽: FaceIndex aFrmMain WFaceimg IsFace
上傳時間: 2016-02-21
上傳用戶:ruixue198909
PlotSphereIntensity(azimuth, elevation) PlotSphereIntensity(azimuth, elevation, intensity) h = PlotSphereIntensity(...) Plots the intensity (as color) of a number of points on a unit sphere. Input: azimuth (phi), in degrees elevation (theta), in degrees intensity (optional, if not provided, a green sphere is produced) All inputs must be vectors or matrices of the same size. Data does not have to be evenly spaced. When there aren t enough points to draw a smooth sphere, additional points (with color) are interpolated. Output: h - a handle to the patch object The axes are also plotted: positive x axis is red positive y axis is green positive z axis is blue
標簽: PlotSphereIntensity elevation azimuth intensity
上傳時間: 2014-01-15
上傳用戶:ruan2570406
I made a lot of changed on this object,such as * // 1.Encapsulates all code in one userobjet,since PB does not * // support "Address of Function" , so we can not set new * // WndProc, just makes the object more easy to use. * // 2.Uses structure array instead of Datastore * // 3.Calc width of menuitem at runtime(MEASUREITEM) * // 4.Draw disabled status
標簽: Encapsulates userobjet changed object
上傳時間: 2014-01-14
上傳用戶:lx9076
一個linux進程管理器,具有以下功能: 管理系統的進程, 包括系統中進程的ID,owner ID, effective user ID、 進程之間的關系、各個進程占用的內存大小、進程的狀態; 列出各個進程使用的文件描述符,以及它們打開的文件; 列出各個進程當前的信號使用情況, 包括各個阻塞的信號,各個信號的處理(如采用的哪一種處理方式,如采用了Catch function,給出Catch Function的地址或名稱); 能對某一進程進行掛起、暫停、終止等操作。統計各個進程的運行時間, 包括system time,user time 與clock(即從開始至終止時間)。 給出各個進程對應的可執行文件名,owner名稱,effective名稱。 采用圖形化界面。 實時統計系統cpu和內存狀況
上傳時間: 2016-07-16
上傳用戶:lindor
a sample WDM stream class video capture driver that supports two IEEE 1394 digital cameras. The same driver may be able to support other digital cameras that conform to 1394-based Digital Camera Specification from 1394 Trade Association. Digital camera supported by dcam.sys is a data source that produces digital image data without any other input connection. It manifests itself in a DirectShow graph as a WDM Streaming Capture Device and as a capture filter that has output capture stream supporting image sizes of 320x240 with a UYVY color space. Its de-compressor, Msyuv.dll, is part of the OS delivery, and it can convert image data format from UYVY to RGB16, RGB8, or to a Direct Draw surface if the video card supports UYVY format.
標簽: supports capture cameras digital
上傳時間: 2014-01-13
上傳用戶:yph853211
操作說明: 1. 雙擊RobotView.exe,打開應用程序; 2. 菜單中Draw->Block,出現一個對話框,從鍵盤輸入具體值,然后在左邊藍色區域任意位置點擊,出現紅色的矩形,即設置好障礙物位置,此時右上方區域中相應位置的值從0變為1; 3. 菜單中Draw->RobotPoint,然后在左邊藍色區域任意位置點擊,出現綠色的圓,即設置好機器人目前位置; 4. 菜單中Draw->GoalPoint,然后在左邊藍色區域任意位置點擊,出現黃色的圓,即設置好目的地位置; 5. 菜單中,Edit->Begin,會在右下方會出現一條從機器人目前位置到目標點的無碰路徑。
上傳時間: 2016-12-11
上傳用戶:TF2015