Begin File: exdrag.tgz Description:photon application with dragable widgets Keywords: photon phab dragging example Version: Entered-date: June 5, 1997 Author: Ported-by: Original-site: QNX Copying-policy: free Supplemental: This archive will expand into an exdrag directory. The source code is an example using the Photon Application Builder. When the application is run, two draggable widgets are displayed inside a photon window. One of them is a child of the window, the other is a child of a pane. The draggable widgets can be moved around the application space by holding down the left mouse button and moving the pointer. A toggle button is present for switching between outline dragging and opaque dragging. One of the main features of this example is the code needed for calculating positions and areas when restricting the dragging to within a parent widget's border and margins (in this example, the pane's border and margins.) archive contents: -rw-rw-r-- 1 stevend techies 2233 Jun 04 11:51 exdrag/abapp.dfn -rw-rw-rw- 1 stevend techies 310 Jan 29 1996 exdrag/src/Makefile -rw-rw-r-- 1 stevend techies 424 Mar 06 17:42 exdrag/src/Usemsg -rw-rw-rw- 1 stevend techies 31 Jun 04 11:51 exdrag/src/abHfiles -rw-rw-rw- 1 stevend techies 30 Jun 04 11:51 exdrag/src/abOfiles -rw-rw-rw- 1 stevend techies 36 Jun 04 11:51 exdrag/src/abSfiles -rw-rw-rw- 1 stevend techies 19 Jun 04 11:51 exdrag/src/abWfiles -rw-rw-r-- 1 stevend techies 682 Jun 04 11:51 exdrag/src/abdefine.h -rw-rw-r-- 1 stevend techies 953 Jun 04 11:51 exdrag/src/abevents.h -rw-rw-r-- 1 stevend techies 590 Jun 04 11:51 exdrag/src/abimport.h -rw-rw-r-- 1 stevend techies 108 Jun 04 11:51 exdrag/src/ablinks.h -rw-rw-r-- 1 stevend techies 1641 Jun 04 11:51 exdrag/src/abmain.c -rw-rw-rw- 1 stevend techies 17 Jun 04 11:51 exdrag/src/abplatform -rw-rw-r-- 1 stevend techies 271 Jun 04 11:51 exdrag/src/abvars.h -rw-rw-r-- 1 stevend techies 78 Jun 04 11:51 exdrag/src/abwidgets.h -rw-rw-r-- 1 stevend techies 7260 Jun 04 11:47 exdrag/src/callbacks.c -rw-rw-rw- 1 stevend techies 8 Jan 30 1996 exdrag/src/indHfiles -rw-rw-rw- 1 stevend techies 8 Jan 30 1996 exdrag/src/indOfiles -rw-rw-rw- 1 stevend techies 8 Jan 30 1996 exdrag/src/indSfiles -rw-rw-rw- 1 stevend techies 981 Jun 04 11:50 exdrag/src/default/Makefile -rw-rw-r-- 1 stevend techies 18443 Jun 05 09:04 exdrag/src/default/abmain.o -rw-rw-r-- 1 stevend techies 16961 Jun 05 09:04 exdrag/src/default/callbacks.o -rwxrwxr-x 1 stevend techies 272949 Jun 05 09:04 exdrag/src/default/exdrag* -rw-rw-r-- 1 stevend techies 31910 Jun 05 09:04 exdrag/src/default/exdrag.map -rw-rw-rw- 1 stevend techies 350 Jun 04 11:51 exdrag/src/default/proto.h -rw-rw-r-- 1 stevend techies 926 Jun 04 11:51 exdrag/wgt/base.wgtw End