Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9395 → Rev 9396

/programs/cmm/lib/obj/box_lib.h
160,33 → 160,11
 
struct scroll_bar
{
word size_x,
start_x,
size_y,
start_y;
dword btn_height,
type,
max_area,
cur_area,
position,
bckg_col,
frnt_col,
line_col,
redraw;
word delta,
delta2,
r_size_x,
r_start_x,
r_size_y,
r_start_y;
dword m_pos,
m_pos_2,
m_keys,
run_size,
position2,
work_size,
all_redraw,
ar_offset;
word size_x, start_x, size_y, start_y;
dword btn_height, type, max_area, cur_area, position,
bckg_col, frnt_col, line_col, redraw;
word delta, delta2, r_size_x, r_start_x, r_size_y, r_start_y;
dword m_pos, m_pos_2, m_keys, run_size, position2, work_size, all_redraw, ar_offset;
};
 
struct progress_bar
/programs/cmm/lib/obj/libimg.h
27,12 → 27,12
dword img_convert = #aimg_convert;
dword img_from_file = #aimg_from_file;
dword img_blend = #aimg_blend;
//dword img_resize = #aimg_resize;
//dword img_is_img = #aimg_is_img;
//dword img_to_rgb2 = #aimg_to_rgb2;
//dword img_scale = #aimg_scale;
//dword img_flip = #aimg_flip;
//dword img_rotate = #aimg_rotate;
dword img_flip = #aimg_flip;
dword img_rotate = #aimg_rotate;
dword img_to_rgb = #aimg_to_rgb;
 
$DD 2 dup 0
 
46,12 → 46,12
char aimg_convert[] = "img_convert";
char aimg_from_file[] = "img_from_file";
char aimg_blend[] = "img_blend";
//char aimg_resize[] = "img_resize";
//char aimg_is_img[] = "img_is_img";
//char aimg_to_rgb2[] = "img_to_rgb2";
//char aimg_scale[] = "img_scale";
//char aimg_flip[] = "img_flip";
//char aimg_rotate[] = "img_rotate";
char aimg_flip[] = "img_flip";
char aimg_rotate[] = "img_rotate";
char aimg_to_rgb[] = "img_to_rgb";
 
#define LIBIMG_FORMAT_BMP 1
#define LIBIMG_FORMAT_ICO 2
83,6 → 83,15
// kernel doesn't handle this image type,
// libimg can only create and destroy such images
 
#define FLIP_VERTICAL 0x01
#define FLIP_HORIZONTAL 0x02
 
#define ROTATE_90_CW 0x01
#define ROTATE_180 0x02
#define ROTATE_270_CW 0x03
#define ROTATE_90_CCW ROTATE_270_CW
#define ROTATE_270_CCW ROTATE_90_CW
 
struct libimg_image
{
dword checksum; // ((Width ROL 16) OR Height) XOR Data[0] ; ignored so far
114,6 → 123,7
h = ESDWORD[EDI+8];
//next = ESDWORD[EDI+12];
//previous = ESDWORD[EDI+16];
type = ESDWORD[EDI+20];
imgsrc = ESDWORD[EDI+24];
//palette = ESDWORD[EDI+28];
//extended = ESDWORD[EDI+32];
/programs/cmm/lib/patterns/simple_open_dialog.h
1,7 → 1,7
struct od_filter
{
dword size; //size = len(#ext) + sizeof(dword)
char ext[25];
char ext[90];
};
 
proc_info pr_inf;