blob: 851d4b29dc1f7907c457bbe3ed8b1d7d1e51f7ba [file] [log] [blame]
PulkoMandya3e9cfe2023-04-10 10:01:36 +02001BeDC
2
3Written By: Magnus Landahl
4Copyright © Magnus Landahl - Stockholm 2000
5This application is FreeWare!
6
7Version 1.0
8
9
10New features in Ver 1.0
11Cut/Copy/Delete has been added.
12Full implementation of drag and drop.
13You´re now able to dump BMessages and send format strings like printf.
14A 'windows always on top' property has been added.
15And a lot of other improvments...
16
17Installation:
18Drop the BeDC.h file in the link or copy the file to /boot/deveop/headers/
19
20How to use:
21All you have to do is to create an BeDC object and use that one to send messages. It´s that simple.
22An quick example:
23
24 BeDC dc;
25 dc.SendMessage("It just works!!!");
26
27First some defines:
28Colors:
29 White = DC_WHITE
30 Black = DC_BLACK
31 Blue = DC_BLUE
32 Red = DC_RED
33 Yellow = DC_YELLOW
34 Green = DC_GREEN
35
36Message types:
37 Normal message = DC_MESSAGE
38 Success message = DC_SUCCESS
39 Error message = DC_ERROR
40
41The constructor:
42
43BeDC(const char *name, int8 color);
44'name' is the display name, it could be what ever you want. Default is: "Application"
45'color' is the color of the head. If you don´t specify a color BeDC will use the defaut head color.
46
47Member functions:
48
49SendMessage(char *text, int8 type);
50Sends a normal message.
51
52SendSeparator();
53Adds a separator.
54
55SendInt(Int32 / Int64 integer, const char *description, int8 type);
56Sends an int32 or int64. If you don´t specify a description BeDC will print "Integer"
57
58SendPoint(BPoint point, const char *description, int8 type);
59Sends a BPoint. If you don´t specify a description BeDC will print "Point"
60
61SendRect(BRect rect, const char *description, int8 type);
62Sends a BRect. If you don´t specify a description BeDC will print "Rectangle"
63
64SendFormat(const char *text, ...);
65SendFormatT(const char *text, int8 type, ...);
66Sends a format string like printf. SendFormatT is used when you want to specify the message type.
67
68DumpBMessage(BMessage *Message, const char *desc = "", int8 type = DC_MESSAGE);
69Dumps a BMessage...
70
71
72Contact:
73E-Mail : magnus.landahl@swipnet.se
74
75
76BeDC History:
77
78Ver 0.9b
79 BeDC now saves the current state on exit, including window contents.
80 You´re now able to customize the colors BeDC use including background color.
81 Save to file has been added.
82 Some minor bugs has been fixed.
83
84Ver 0.8.1b
85 A couple of small bugs fixed.
86
87Ver 0.8b
88 First public release.
89
90