From d5d7a2437ac17f5f52be586263a6e7e94c6ef5d9 Mon Sep 17 00:00:00 2001
From: DarkWyrm
Date: Sat, 7 Dec 2002 21:39:48 +0000
Subject: [PATCH] Many, many API updates
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2176 a95241bf-73f2-0310-859d-f6bbb57e9c96
---
docs/develop/servers/app_server/AppServer.htm | 170 ++++++++++++++++--
.../servers/app_server/CursorManager.htm | 2 +-
docs/develop/servers/app_server/Decorator.htm | 50 ++++--
docs/develop/servers/app_server/Desktop.htm | 53 +++++-
.../servers/app_server/DesktopClasses.htm | 128 ++++++++++---
.../servers/app_server/DisplayDriver.htm | 21 ++-
.../develop/servers/app_server/FontFamily.htm | 84 ++++++---
.../develop/servers/app_server/FontServer.htm | 132 ++++++++++----
docs/develop/servers/app_server/Layer.htm | 71 ++++----
.../servers/app_server/ServerBitmap.htm | 25 +--
docs/develop/servers/app_server/toc.htm | 5 +
11 files changed, 580 insertions(+), 161 deletions(-)
diff --git a/docs/develop/servers/app_server/AppServer.htm b/docs/develop/servers/app_server/AppServer.htm
index 4430dcb101..9b1ad587d7 100644
--- a/docs/develop/servers/app_server/AppServer.htm
+++ b/docs/develop/servers/app_server/AppServer.htm
@@ -82,21 +82,21 @@ Decorator * instantiate_decorator(Layer *owner, uint32 wflags, uint32 wlook)
AppServer(void)
-Create the message and input ports
-Create any necessary semaphores for regulating the 3 main threads
-Initialize all member variables
-Allocate the application BList
-Read in and process all configuration data
-Initialize the desktop
-Spawn the Picasso and Poller threads
+1) Create the message and input ports
+2) Create any necessary semaphores for regulating the 3 main threads
+3) Initialize all member variables
+4) Allocate the application BList
+5) Read in and process all configuration data
+6) Initialize the desktop
+7) Spawn the Picasso and Poller threads
~AppServer(void)
-Shut down the desktop
-Empty and delete the application list
-Wait for Picasso and Poller to exit
-Free any allocated heap space
+1) Shut down the desktop
+2) Empty and delete the application list
+3) Wait for Picasso and Poller to exit
+4) Free any allocated heap space
void MainLoop(void)
@@ -123,7 +123,7 @@ Attached Data:
-
+
|
port_id reply_port
@@ -140,6 +140,14 @@ Attached Data:
message port for the requesting BApplication
|
+
+ |
+ int16 sig_length
+ |
+
+ length of the following application signature
+ |
+
|
const char *signature
@@ -525,8 +533,48 @@ Attached Data:
-
+
+
+ |
+ int64 when
+ |
+
+ event time in seconds since 1/1/70
+ |
+
+
+ |
+ int32 rawcode
+ |
+
+ code for the physical key pressed
+ |
+
+
+ |
+ int32 modifiers
+ |
+
+ flags signifying the states of the modifier keys
+ |
+
+
+ |
+ int8 state_count
+ |
+
+ number of bytes to follow containing the state of all keys
+ |
+
+
+ |
+ int8 *states
+ |
+
+ array of the state of all keys at the time of the event
+ |
+
+
@@ -542,7 +590,51 @@ B_UNMAPPED_KEY_UP:
Attached Data:
-?
+
+
+
+ |
+ int64 when
+ |
+
+ event time in seconds since 1/1/70
+ |
+
+
+ |
+ int32 rawcode
+ |
+
+ code for the physical key pressed
+ |
+
+
+ |
+ int32 modifiers
+ |
+
+ flags signifying the states of the modifier keys
+ |
+
+
+ |
+ int8 state_count
+ |
+
+ number of bytes to follow containing the state of all keys
+ |
+
+
+ |
+ int8 *states
+ |
+
+ array of the state of all keys at the time of the event
+ |
+
+
+
+
1) Acquire the active application lock
2) Create a PortLink instance, target the active ServerApp's sender port, set the opcode to B_UNMAPPED_KEY_UP, attach the buffer en masse, and send it to the BApplication.
@@ -557,11 +649,57 @@ Attached Data:
Attached Data:
-?
+
+
+
+ |
+ int64 when
+ |
+
+ event time in seconds since 1/1/70
+ |
+
+
+ |
+ int32 modifiers
+ |
+
+ flags signifying the states of the modifier keys
+ |
+
+
+ |
+ int32 old_modifiers
+ |
+
+ former states of the modifier keys
+ |
+
+
+ |
+ int8 state_count
+ |
+
+ number of bytes to follow containing the state of all keys
+ |
+
+
+ |
+ int8 *states
+ |
+
+ array of the state of all keys at the time of the event
+ |
+
+
+
+
1) Acquire the active application lock
2) Create a PortLink instance, target the active ServerApp's sender port, set the opcode to B_MODIFIERS_CHANGED, attach the buffer en masse, and send it to the BApplication.
3) Release the active application lock
+
+
|