gitweb rectification
[adesklets.git] / scripting / prototypes
blob9d45300f5d9107f445816c8e0caf81cc6b6b1b01
1 time_gate       Set a time gate double gate
2 help    Display short help about a command      [const char * command]
3 ping    Ping the interpreter    void
4 pause   Freeze the interpreter for debugging    [int delay]
5 version Get interpreter version void
6 get_id  Get current applet identificator        void
7 history List/save commands history      [const char * filename]
8 set     Set or unset a textual variable [const * char name, const * char value]
9 unset_all       Unset all defined textual variables     void
10 echo    Echo a string   const char * string
11 start_recording Start recording a macro void
12 stop_recording  Stop recording the macro        void
13 play_get_abort_on_events        Get replays interuptable status void
14 play_set_abort_on_events        Set replays to be interuptable  bool abort
15 play    Play a given macro      int beginning, int end
16 context_get_dither      Get context dither      void
17 context_get_anti_alias  Get context anti alias  void
18 context_get_blend       Get context blending    void
19 context_get_operation   Get context operation   void
20 context_get_cliprect    Get clipping rectange   void
21 context_get_image       Get context image       void
22 context_get_font        Get context font        void
23 context_get_color_range Get context color range void
24 context_get_color_modifier      Get context color modifier      void
25 context_get_filter      Get context filter      void
26 context_get_color       Get context color       void
27 context_get_angle       Get context angle       void
28 context_get_direction   Get context direction   void
29 context_set_dither      Set context dither      bool dither
30 context_set_anti_alias  Set context anti-alias  bool anti_alias
31 context_set_blend       Set context blending    bool blend
32 context_set_operation   Set context operation   enum OPERATIONS operation
33 context_set_cliprect    Set context clipping rectangle  int x, int y, int w, int h
34 context_set_image       Set context image       int image
35 context_set_font        Set context font        [int font]
36 context_set_color_range Set context color range [int color_range]
37 context_set_color_modifier      Set context color modifier      [int color_modifier]
38 context_set_filter      Set context filter      [int filter]
39 context_set_color       Set context RGBA color  int red, int green, int blue, int alpha
40 context_set_angle       Set context angle       double angle
41 context_set_direction   Set context direction   enum DIRECTIONS direction
42 add_color_to_color_range        Add a color to a color range    int distance_away
43 blend_image_onto_image  Blend images together   int source_image,char merge_alpha, int source_x,int source_y, int source_width,int source_height, int destination_x,int destination_y, int destination_width,int destination_height
44 blend_image_onto_image_at_angle Blend images together   int source_image,char merge_alpha, int source_x,int source_y, int source_width,int source_height,int destination_x,int destination_y, int angle_x,int angle_y
45 blend_image_onto_image_skewed   Blend images together   int source_image,char merge_alpha, int source_x,int source_y, int source_width,int source_height,int destination_x,int destination_y, int h_angle_x,int h_angle_y, int v_angle_x,int v_angle_y
46 apply_filter    Apply a dynamic filter  const char * script
47 get_text_size   Get size of text        const char * text
48 get_text_advance        Get advance of text     const char * text
49 text_draw       Draw a text string      int x, int y, const char *text
50 modify_color_modifier_gamma     Modify gamma correction double gamma_value
51 modify_color_modifier_brightness        Modify brightness       double brightness_value
52 modify_color_modifier_contrast  Modify contrast double contrast_value
53 get_color_modifier_tables       Get tables for a color modifier void
54 set_color_modifier_tables       Set tables for a color modifier unsigned char * table
55 get_color_modifier_value        Get a value for a color modifier        enum RGBA_TABLES table, int index
56 set_color_modifier_value        Set a value for a color modifier        enum RGBA_TABLES table, int index, int value
57 apply_color_modifier    Apply a color modifier  void
58 apply_color_modifier_to_rectangle       Apply a color modifier  int x, int y, int width,int height
59 load_image      Load an image from disk const char *file
60 save_image      Save an image to disk   const char *filename
61 create_image    Create an image int width, int height
62 create_image_using_data Create an image from data       int width, int height,unsigned int  * data
63 clone_image     Create a copy of an image       void
64 free_image      Free an image   int image
65 load_font       Load a font     const char *font_name
66 free_font       Free a font     int font
67 list_fonts      List all fonts  void
68 list_font_path  List all fonts path     void
69 add_path_to_font_path   Add a font path const char *path
70 remove_path_from_font_path      Remove a font path      const char *path
71 create_color_range      Create a color range    void
72 free_color_range        Free a color range      int color_range
73 create_filter   Create a filter void
74 free_filter     Free a filter   int filter
75 create_color_modifier   Create a color modifier void
76 free_color_modifier     Free a color modifier   int color_modifier
77 polygon_new     Create a polygon        void
78 polygon_free    Free a polygon  int poly
79 polygon_add_point       Add point to a polygon  int poly, int x, int y
80 images_reset_all        Free all images and refresh foreground  void
81 images_info     Get information on all images   void
82 fonts_reset_all Free all fonts  void
83 fonts_info      Get information on all fonts    void
84 color_ranges_reset_all  Free all color ranges   void
85 color_ranges_info       Get information on all color ranges     void
86 color_modifiers_reset_all       Free all color modifiers        void
87 color_modifiers_info    Get information on all color modifiers  void
88 filters_reset_all       Free all filters        void
89 filters_info    Get information on all filters  void
90 polygons_reset_all      Free all polygons       void
91 polygons_info   Get information on all polygons void
92 image_has_alpha Get alpha channel setting of an image   void
93 image_get_width Get width of an image   void
94 image_get_height        Get height of an image  void
95 image_get_filename      Get filename of an image        void
96 image_get_data  Get the data of an image        void
97 image_query_pixel       Query a pixel value     int x, int y
98 image_set_has_alpha     Set alpha channel of an image   bool has_alpha
99 image_set_format        Set image format        const char *format
100 image_filter_recurse            void
101 image_draw_line Draw a line     int x1, int y1, int x2, int y2,char make_updates
102 image_draw_rectangle    Draw a rectangle        int x, int y, int width, int height
103 image_fill_rectangle    Draw a filled rectangle int x, int y, int width, int height
104 image_fill_color_range_rectangle        Draw a gradian filled rectange  int x, int y, int width,int height, double angle
105 image_draw_ellipse      Draw an ellipse int xc, int yc, int a, int b
106 image_fill_ellipse      Fill an ellipse int xc, int yc, int a, int b
107 image_copy_alpha_to_image       Transfert alpha channel int image_source, int x,int y
108 image_copy_alpha_rectangle_to_image     Transfert alpha channel int image_source,int x, int y, int width,int height,int destination_x,int destination_y
109 image_draw_polygon      Draw a polygon onto image       int poly, unsigned char closed
110 image_fill_polygon      Fill a polygon onto image       int poly
111 image_flip_horizontal   Flip an image horizontally      void
112 image_flip_vertical     Flip an image vertically        void
113 image_flip_diagonal     Flip an image diagonally        void
114 image_orientate Orientate an image      int orientation
115 image_blur      Blur an image   int radius
116 image_sharpen   Sharpen an image        int radius
117 filter_set      Set filter      int xoff, int yoff, int a, int r, int g, int b
118 filter_set_red  Set filter red channel  int xoff, int yoff, int a, int r, int g, int b
119 filter_set_green        Set filter grean channel        int xoff, int yoff, int a, int r, int g,int b
120 filter_set_blue Set filter blue channel int xoff, int yoff, int a, int r, int g, int b
121 filter_set_alpha        Set filter alpha channel        int xoff, int yoff, int a, int r, int g,int b
122 filter_constants        Set filter constants    int a, int r, int g, int b
123 filter_divisors Set filter divisors     int a, int r, int g, int b
124 menu_fire       Fire a given menu       int menu
125 menu_reset_all  Reset all menus to initial state        void
126 menu_add_menu   Add a new menu  void
127 menu_add_submenu        Add a submenu to current menu   const char * submenu
128 menu_add_item   Add an item to current menu     const char * add_item
129 menu_add_separator      Add a separator to current menu void
130 menu_end_submenu        End a submenu construction      void
131 events_info     Get all caught events   void
132 events_get_echo Get events echo status  void
133 events_get_send_sigusr1 Get sending of SIGUSR1 to parent on event       void
134 window_reset    Reset the window        enum WINDOW_MANAGER manager
135 window_show     Map the window on the screen    void
136 window_hide     Unmap the window from the screen        void
137 window_resize   Resize the window       int width, int height
138 window_get_transparency Get automatic transparency      void
139 window_get_background_grab      Get automatic grab      void
140 window_get_background_image     Get background image    void
141 window_get_managed_status       Get managed status      void
142 window_set_transparency Set automatic transparency      bool transparency
143 window_set_background_grab      Set automatic grab      bool grab
144 window_set_background_image     Set background image    int image
145 screen_get_width        Get screen width        void
146 screen_get_height       Get screen height       void
147 screen_get_depth        Get screen depth        void
148 x_status        Status of connection to X Window server void
149 quit    Quit the program        void