•  Back 
  •  Fensterverwaltung 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - das Betriebssystem
Author      : 
Version     : tos.hyp (5. März 2013)
Subject     : Programmieren/Atari
Nodes       : 3001
Index Size  : 93602
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Titel
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File8.9.14  wind_xset                                                  TOS

 Name:         »Set Window« - verändert einzelne Parameter eines 
               Fensters.

 AES-Nummer:   105

 Deklaration:  int16_t wind_xset ( int16_t wi_shandle, int16_t 
               wi_sfield, int16_t wi_sw1, int16_t wi_sw2, int16_t 
               wi_sw3, int16_t wi_sw4, int16_t *wo_sw1, int16_t 
               *wo_sw2, int16_t *wo_sw3, int16_t *wo_sw4 );

 Beschreibung: Die Funktion verändert, abhängig von den übergebenen 
               Parametern, verschiedene Eigenschaften des Fensters mit 
               der Kennung wi_shandle. Es gilt für wi_sfield.

               Zusammenfassung aller Unterfunktionen

                WF_CURRXYWH (5)
                        setzt die Fenstergröße aus wi_sw1, wi_sw2, 
                        wi_sw3 und wi_sw4 fest.

                        XaAES is compatible with all other AES's, 
                        except from the following points:

                          1. If x, y, w and h all have a value of -1, 
                             XaAES ignores the call, but fills in any 
                             return values when needed.

                          2. x and y values of -1 are 'legal', i.e, 
                             one cannot use -1 to use any old x value. 
                             Ofcourse, x and y coordinates are checked 
                             to be inside the rootwindow (not X when 
                             noleft = false).

                          3. When h have a value of 0, the window is 
                             infact shaded. This is a thing N.AES does 
                             with MiNTSetter, altho I'm not sure this 
                             is correct. The application is sent a 
                             WM_SHADED. On the next wind_set(handle, 
                             WF_CURRXYWH,...) where the h coordinate 
                             is not equal to the window's shaded 
                             height, the window is unshaded. While the 
                             window is shaded via this method, shift- 
                             clicks on the window title to shade a 
                             window is ignored.

                        XaAES since 2004-09-22, there is an short 
                        version.

                WF_FULLXYWH (7)
                        If either wi_sw1, wi_sw2, wi_sw3 or wi_sw4 
                        have a value of -1, that coordinate is not 
                        changed. If ALL coordinates have a value of 
                        -1, the window is actually moved to the 
                        current FULLXYWH coordinates, making the 
                        current window position the new PREVXYWH 
                        position.

                          1. XaAES returns the resulting FULLXYWH, 
                             which the window will be moved to on the 
                             next use of the FULLED gadget or...
                          2. When all coordinates passed have a value 
                             of -1, XaAES return the CURRXYWH of the 
                             new position the window was moved to, 
                             removing the need for a wind_get(handle, 
                             WF_CURRXYWH,...) call.

                        XaAES since 2004-09-22, there is an short 
                        version.

                WF_PREVXYWH (6)
                        If eitherwi_sw1, wi_sw2, wi_sw3 or wi_sw4 have 
                        a value of -1, that coordinate is not changed. 
                        If ALL coordinates have a value of -1, the 
                        window is actually moved to the current 
                        PREVXYWH coordinates, making the current 
                        window position the new PREVXYWH position.

                          1. XaAES returns the resulting PREVXYWH, 
                             which the window will be moved to on the 
                             next use of the FULLED gadget or...
                          2. When all coordinates passed have a value 
                             of -1, XaAES return the CURRXYWH of the 
                             new position the window was moved to, 
                             removing the need for a wind_get(handle, 
                             WF_CURRXYWH,...) call.

                        XaAES since 2004-09-22, there is an short 
                        version.

               Hinweis: Die Parameter wi_sw1, wi_sw2, wi_sw3 und 
               wi_sw4 sind dabei von der über den Parameter wi_sfield 
               übergebenen Funktionsnummer abhängig.

 Ergebnis:     Ein Fehler ist nur dann aufgetreten, wenn als Ergebnis 
               0 zurückgegeben wird.

 Verfügbar:    All AES versions.

 Gruppe:       Fensterverwaltung

 Querverweis:  Binding   wind_get   wind_create   OBJECT 
               Unterfunktionsübersicht