#include "vapiTypes.h"
#include "vapiLists.h"
#include "vapiOperation.h"
#include "vapiGroups.h"
Diagrama de dependências de inclusão para vapiOperationList.h:
Este grafo mostra quais são os ficheiros que incluem directamente ou indirectamente este ficheiro:
Ir para o código fonte deste ficheiro.
Definições de tipos | |
typedef vList | vOperationList |
Defines an Opertion List, for ease of use. This stores the all the available operations, s that they can be called from Macros or standalone. | |
Funções | |
void | vapiOperationListAddOperation (vEffect *Operation[], int OperationNumber) |
Adds an operation to the list, and the respective group name on the list of groups. | |
int | vapiOperationListCountElements (vOperationList *OperationList) |
Counts The number of Operations in the list. | |
vOperationList * | vapiOperationListInit () |
vOperationList * | vapiOperationListNew () |
New Operation List. | |
vEffect * | vapiOperationListSelectItem (vOperationList *OperationList, int Item) |
Selects an Operation from the List. | |
vEffect * | vapiOperationListSelectOperation (vOperationList *OperationList, const char *name) |
Selects an Operation from the List. |
Definido no ficheiro vapiOperationList.h.
Defines an Opertion List, for ease of use. This stores the all the available operations, s that they can be called from Macros or standalone.
Definido na linha 18 do ficheiro vapiOperationList.h.
void vapiOperationListAddOperation | ( | vEffect * | Operation[], | |
int | OperationNumber | |||
) |
Adds an operation to the list, and the respective group name on the list of groups.
Operation[] | An Array of pointers for operations | |
OperationNumber | the number of operations that are in the array |
Definido na linha 85 do ficheiro vapiOperationList.c.
Referências GlobalOperationGroupList, GlobalOperationList e vapiOperationListAddOperationOne().
Referenciado por vapiAvailableEfects(), vapiImageOperations(), vapiIOOperations() e vapiTimerOperations().
00086 { 00087 int i; 00088 for (i = 0; i < OperationNumber; i++) 00089 { 00090 if (Operation[i] == NULL) 00091 { 00092 continue; 00093 } 00094 vapiOperationListAddOperationOne (GlobalOperationList, 00095 GlobalOperationGroupList, 00096 Operation[i]); 00097 } 00098 }
Grafo de chamadas desta função:
Here is the caller graph for this function:
int vapiOperationListCountElements | ( | vOperationList * | OperationList | ) |
Counts The number of Operations in the list.
Definido na linha 45 do ficheiro vapiOperationList.c.
Referências OperationList e v_list_count_elements().
Referenciado por vapiGtkSelectOperationPopulateGroup() e vapiOperationListSelectOperation().
00046 { 00047 return v_list_count_elements ((vList *) OperationList); 00048 }
Grafo de chamadas desta função:
Here is the caller graph for this function:
vOperationList* vapiOperationListInit | ( | ) |
vOperationList* vapiOperationListNew | ( | ) |
New Operation List.
Definido na linha 32 do ficheiro vapiOperationList.c.
Referências OperationList e v_list_new().
Referenciado por vapiOperationListInit().
00033 { 00034 vOperationList *OperationList = (vOperationList *) v_list_new (); 00035 return OperationList; 00036 }
Grafo de chamadas desta função:
Here is the caller graph for this function:
vEffect* vapiOperationListSelectItem | ( | vOperationList * | OperationList, | |
int | Item | |||
) |
Selects an Operation from the List.
Item | Operation's position in the list. |
Definido na linha 51 do ficheiro vapiOperationList.c.
Referências OperationList e v_list_get().
Referenciado por vapiGtkSelectOperationPopulateGroup() e vapiOperationListSelectOperation().
00052 { 00053 return ((vEffect *) v_list_get ((vList *) OperationList, Item)); 00054 }
Grafo de chamadas desta função:
Here is the caller graph for this function:
vEffect* vapiOperationListSelectOperation | ( | vOperationList * | OperationList, | |
const char * | name | |||
) |
Selects an Operation from the List.
name | Operation's name. |
Definido na linha 57 do ficheiro vapiOperationList.c.
Referências _vEffect::name, OperationList, v_list_get(), vapiOperationListCountElements() e vapiOperationListSelectItem().
Referenciado por vapiCalibrateCameraCreateMacro(), vapiCalibrateCameraGetColourAOptions(), vapiCalibrateCameraGetColourBOptions(), vapiGetOperationFromTxtOperation(), vapiGtkSelectOperationSelect(), vapiGtkSelectOperationSelectToUse(), vapiGtkSelectOperationSelectToUseFromButton() e vapiMacroFromXML().
00059 { 00060 vEffect *item; 00061 int ListSize, i; 00062 ListSize = vapiOperationListCountElements (OperationList); 00063 00064 for (i = 0; i < ListSize; i++) 00065 { 00066 item = vapiOperationListSelectItem (OperationList, i); 00067 if (!strcmp (name, item->name)) 00068 { 00069 return ((vEffect *) 00070 v_list_get ((vList *) OperationList, i)); 00071 } 00072 } 00073 return NULL; 00074 }
Grafo de chamadas desta função:
Here is the caller graph for this function: