Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4446 → Rev 4445

/contrib/media/fplay/skin/skin.asm
101,4 → 101,3
_res_prg_level: file 'prg_level.raw'
 
_res_def_font: file 'IstokWeb.ttf'
 
/contrib/media/fplay/winlib/timer.h
File deleted
/contrib/media/fplay/winlib/link.h
File deleted
/contrib/media/fplay/winlib/window.c
18,7 → 18,6
 
int win_font;
 
static window_t Window;
 
static pos_t old_pos;
 
36,33 → 35,18
 
void adjust_frame(window_t *win);
 
//#include "timer.h"
ctrl_t *win_get_child(window_t *win, int x, int y)
{
ctrl_t *child = NULL;
 
if( win )
{
if(pt_in_rect(&win->client, x, y))
{
ctrl_t *tmp = (ctrl_t*)win->child.next;
#include "control.inc"
//#include "io.inc"
#include "timer.inc"
 
while( &tmp->link != &win->child )
{
if(pt_in_rect(&tmp->rc, x, y))
{
child = get_child(tmp, x, y);
return child == NULL ? tmp : child;
};
tmp = (ctrl_t*)tmp->link.next;
};
}
else child = (ctrl_t*)(&win->frame);
};
return child;
};
//#include "button.inc"
//#include "scroller.inc"
 
static window_t Window;
 
 
 
void init_frame(window_t *win);
 
window_t *create_window(char *caption, int style, int x, int y,