Hi all,
This is how I propose to add text to the drawing:
1) Click the text tool
2) Click on the drawing where you want the text to be placed
3) A text box appears on the drawing
4) User types the text then press Enter or clicks on the drawing
away from the text
5) This places the text on the drawing without the textbox
6) The text is draggable
7) To change the font or colour - click the text then the font
tool to make the font dialog box to appear
8) To change the text - double click the text will make the
textbox to reappear
Get back to me and tell me what you think.
Can you give me a rough idea of the layout of the panels?
Is there a main drawing panel with drawing layers or views?
Is there a hierarchical structure to how the elements sit on a drawing?
E.g.
MainDrawing has many SheetGroup/LayerGroup/ViewGroup (whatever your
terminology)
SheetGroup has many Sheet (or View/Layer)
Sheet has many LineGroup, CircleGroup..etc.
LineGroup has many Line, Circle, Text.etc.
This is similar to how the SolidEdge class structure is laid out.
SolidEdge is a 2D/3D package with the ability to program macros in VB
using its API - things like writing a macro to calculate the area of an
object when clicking inside its boundary. Many of my ideas will come
from that package.
Bug on the main GUI - When I call up a new drawing the menu bar
disappears.
Do you intend the application to have a multi document interface (MDI) -
there is a good example of this at SourceForge called JHotDraw -
http://sourceforge.net/projects/jhotdraw/
Bye for now
Carl
|