Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 9594 → Rev 9597

/programs/cmm/misc/easyshot.c
134,8 → 134,8
unsigned i;
 
sc.get();
DefineAndDrawWindow(screen.width-400, screen.height/3, 280,
skin_height + 50+PD+PD, 0x34, sc.work, "EasyShot",0);
DefineAndDrawWindow(screen.w-400, screen.h/3, 280,
skin_h + 50+PD+PD, 0x34, sc.work, "EasyShot",0);
GetProcessInfo(#Form, SelfInfo);
 
if (!recording) {
165,7 → 165,7
dword ScreenshotBuf()
{
static dword screenshot;
if (!screenshot) screenshot = malloc(screen.width * screen.height * 3);
if (!screenshot) screenshot = malloc(screen.w * screen.h * 3);
return screenshot;
}
 
193,8 → 193,8
void MakeScreenshot()
{
if (I_Path = GetSavingPath()) {
CopyScreen(ScreenshotBuf(), 0, 0, screen.width, screen.height);
I_Param = save_image(ScreenshotBuf(), screen.width, screen.height, I_Path);
CopyScreen(ScreenshotBuf(), 0, 0, screen.w, screen.h);
I_Param = save_image(ScreenshotBuf(), screen.w, screen.h, I_Path);
if (!I_Param) I_Param = I_Path;
DrawStatusBar(I_Param);
} else {
227,7 → 227,7
{
show_settings ^= 1;
@MoveSize(OLD, OLD, show_settings*65 + 280,
show_settings*110 + skin_height + PD+PD+50);
show_settings*110 + skin_h + PD+PD+50);
}
 
void EventChooseSavePathClick()
/programs/cmm/misc/install.c
67,8 → 67,8
void draw_window()
{
sc.get();
DefineAndDrawWindow(screen.width-WINW/2,screen.height-WINH/2,
WINW+9,WINH+skin_height,0x34,sc.work,"KolibriN10",0);
DefineAndDrawWindow(screen.w-WINW/2,screen.h-WINH/2,
WINW+9,WINH+skin_h,0x34,sc.work,"KolibriN10",0);
DrawLogo();
if (install_complete) DrawInstallComplete(); else DrawIntro();
}
/programs/cmm/misc/osupdate.c
101,8 → 101,8
void draw_window()
{
sc.get();
DefineAndDrawWindow(screen.width-WINW/2,screen.height-WINH/2,
WINW+9,WINH+skin_height,0x34,sc.work,T_WINDOW_TITLE,0);
DefineAndDrawWindow(screen.w-WINW/2,screen.h-WINH/2,
WINW+9,WINH+skin_h,0x34,sc.work,T_WINDOW_TITLE,0);
WriteText(30, 20, 0x91, 0xEC008C, T_TITLE_H1);
if (!install_complete) {
if (GetProcessSlot(unimg_id)) {
/programs/cmm/misc/software_widget.c
74,11 → 74,11
list.y = 32;
 
DrawList();
window_height = row+1*list.item_h + list_pos + skin_height + 15;
if (window_height>screen.height) {
window_width = screen.width;
window_height = row+1*list.item_h + list_pos + skin_h + 15;
if (window_height>screen.h) {
window_width = screen.w;
list.item_h -= 5;
window_height = row+1*list.item_h + list_pos + skin_height + 15;
window_height = row+1*list.item_h + list_pos + skin_h + 15;
small_screen = true;
}
 
100,7 → 100,7
 
case evReDraw:
SetAppColors();
DefineAndDrawWindow(screen.width-window_width/2,screen.height-window_height/2,window_width,window_height,0x74,sc.work,"",0);
DefineAndDrawWindow(screen.w-window_width/2,screen.h-window_height/2,window_width,window_height,0x74,sc.work,"",0);
GetProcessInfo(#Form, SelfInfo);
if (Form.status_window&ROLLED_UP) {
DrawTitle(#window_title);