Boxer - graphical class to draw, resize, drag and drop rectangles

Share Tips, Code Samples, etc. with the Visual Prolog community.
Steve Lympany
VIP Member
Posts: 695
Joined: 31 Mar 2001 23:01

Boxer - graphical class to draw, resize, drag and drop rectangles

Unread post by Steve Lympany » 17 Nov 2010 11:21

Here is a Vip7.3 "graphical" project (but not GDI+) with the following classes:

boxer - the main class, for creating and dragging rectangles. It uses the following classes:

drag_draw_line - draws a line as it is being dragged
drag_draw_rect - draws a rectangle as it is being dragged (translated or resized)
kursor - for managing cursors i.e. when the mouse moves and goes over a vertical line, the cursor will change to cursorsizeWE.

Steve Lympany
Attachments
dev_boxer.zip
VIP7.3 project. Create, drag and drop rectangles
(35.68 KiB) Downloaded 844 times

Post Reply