[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FQ na programovani
Jarda Pokorny wrote:
> > 1. potrebuju vytvorit ASL_ScreenModeRequester, ve kterym se vobjevej
> > jen rozliseni kery sou 640x512 a vejs, pohraval sem si s tags, ale
> > toho sem proste nedocilil, nebo musim udelat vyclenovaci hook?
>
> Ted tady nemam autodocs, ale urcite tam na to jsou
> primo nejaky tagy. Hook je posledni moznost.
V Autodococh je na to popisany tag:
ASLSM_FilterFunc (struct Hook *) - A function to call for each mode
encountered. If the function returns TRUE, the mode is
included in the file list, otherwise it is rejected
and not displayed. The function receives the following
parameters:
A0 - (struct Hook *)
A1 - (ULONG) mode id
A2 - (struct ScreenModeRequester *)
(V38)
A este toto:
ASLSM_CustomSMList (struct List *) - Custom list of modes to let
the user choose from. This is a list of DisplayNode
nodes, see <libraries/asl.h> for the definition. (V38)
Bohuzial, ale hooky programovat neviem, takze ti viac neporadim. Pokial
by mal niekto nejake jednoduche zdrojaky (aby z nich bolo jasne pouzitie
hookov) prosim poslite mi ich.
pecki