AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/src/BListView.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Fast boopsi ListView with many features (demo + C source)
Author:bernie at shock.cosmos.it (Bernardo Innocenti)
Uploader:bernie shock cosmos it (Bernardo Innocenti)
Type:dev/src
Version:1.5
Architecture:m68k-amigaos
Date:1997-11-11
Download:http://aminet.net/dev/src/BListView.lha - View contents
Readme:http://aminet.net/dev/src/BListView.readme
Downloads:6619

 boopsi ListView implementation. Looks like the GadTools LISTVIEW_KIND,
but it handles selection of multiple items and it can be resized on the
fly. GFLG_REL#? attributes are supported and you can even display a list
of images and other boopsi objects. Lists with multiple columns are
possible but not currently implemented. Horizontal scrolling would also
be easy to add.

 Three different versions are included:

	LVDemo_Generic
		Works even on plain 68000 and includes OS 2.0 support

	LVDemo_020_OS30
		Optimized for 68020, no OS 2.0 support

	LVDemo_Trace
		Outputs debug messages with kprintf(), view them with
		serial terminal or sushi


 Some features:

	+ Easy to use (almost a drop-in replacement for LISTVIEW_KIND)
	+ Can be resized and supports GREL_#? flags
	+ Multiple selection of items
	+ Notifies your `boopsi' sliders
	+ Multiple columns (TODO)
	+ Redraws quickly without clearing
	  (which is good for solid window sizing)
	+ Horizontal scrolling (TODO)
	+ Items with `boopsi' images
	+ Using arrays instead of exec lists
	+ You can use `boopsi' label images instead of plain text
	+ You can use your own custom rendering hook
	+ You can use your own item item-retriving callback hook
	+ List title (TODO)
	+ Full Keyboard control (all control, alt and shift key
	  combinations supported)
	+ Asynchronous scrolling with inertia (TODO)
	+ OS 3.0 optimized (V39-only version also available)
	+ RTG friendly and optimized (no planar stuff in chunky bitmaps)
	+ Small code! (<10K)
	+ Written in C to be highly portable across compilers and CPUs
	+ Full commented source code included
	+ Source code compiles with SAS/C, StormC and GCC
	+ Subclasses can be easlily derived from the base listview class


The source code shows how to:

	* Build a `boopsi' class on top of the gadgetclass
	* Write a `boopsi' dispatcher with complex input handling
	* Use `boopsi' sysiclass images
	* Connect `boopsi' objects together with the icclass
	* Overlay the buttongclass to make a scroll button
	* Create a sizeable window with sliders
	* Make a C program without startup
	* Correctly opening/closing libraries, windows and other
	  system resources


Contents of dev/src/BListView.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1211    2365  51.2% -lh5- c77c Nov  6  1997 BListView/BListView.readme
[generic]                 9303   17640  52.7% -lh5- f2d1 Nov  6  1997 BListView/LVDemo
[generic]                 9178   17280  53.1% -lh5- cf52 Nov  6  1997 BListView/LVDemo_020_OS30
[generic]                14269   31140  45.8% -lh5- db2e Nov  6  1997 BListView/LVDemo_Trace
[generic]                 1272    4923  25.8% -lh5- 354f Sep  1  1997 BListView/Source/BoopsiStubs.h
[generic]                 1797    6033  29.8% -lh5- 1828 Oct 26  1997 BListView/Source/CompilerSpecific.h
[generic]                 1254    2957  42.4% -lh5- 5136 Nov  2  1997 BListView/Source/Debug.h
[generic]                  719    2241  32.1% -lh5- 1faf Oct 27  1997 BListView/Source/GNUMakefile
[generic]                  398     984  40.4% -lh5- f3d3 Aug 31  1997 BListView/Source/GST.c
[generic]                 1724    4742  36.4% -lh5- 7f28 Sep 24  1997 BListView/Source/ListBoxClass.c
[generic]                  310     645  48.1% -lh5- 3e43 Sep  7  1997 BListView/Source/ListBoxClass.h
[generic]                  690    1904  36.2% -lh5- e5d3 Sep  9  1997 BListView/Source/ListMacros.h
[generic]                14034   55031  25.5% -lh5- d665 Nov  2  1997 BListView/Source/ListViewClass.c
[generic]                 5251   15019  35.0% -lh5- d497 Sep 23  1997 BListView/Source/ListViewClass.h
[generic]                 1663    6436  25.8% -lh5- c274 Nov  2  1997 BListView/Source/ListViewHooks.c
[generic]                10414   31498  33.1% -lh5- 33d8 Nov  6  1997 BListView/Source/LVDemo.c
[generic]                  683    2558  26.7% -lh5- 604d Sep 25  1997 BListView/Source/LVDemo.¶
[generic]                 1303    3497  37.3% -lh5- 769e Nov  6  1997 BListView/Source/SMakefile
[generic]                   18      18 100.0% -lh0- d168 Aug 17  1997 BListView/Source/startup_gcc.s
[generic]                   61      61 100.0% -lh0- 9f20 Aug 25  1997 BListView/Source/startup_sc.s
[generic]                   61      61 100.0% -lh0- 9c19 Sep 24  1997 BListView/Source/startup_storm.s
[generic]                  292     481  60.7% -lh5- beb7 Sep  7  1997 BListView/Source/VectorGlyphIClass.h
[generic]                 1647    2700  61.0% -lh5- ebef Oct  5  1997 BListView/vectorglyph.image
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        23 files   77552  210214  36.9%            Nov 11  1997

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>