Eolite: small code update
git-svn-id: svn://kolibrios.org@2496 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
73a2c08d9c
commit
0dcb75ec9e
@ -1,4 +1,4 @@
|
|||||||
//Leency & Veliant -=- KolibriOS Team -=- 2011
|
//Leency & Veliant -=- KolibriOS Team -=- 2012
|
||||||
//GNU GPL licence.
|
//GNU GPL licence.
|
||||||
|
|
||||||
//íåìíîãî êðèâàÿ ïðîêðóòêà
|
//íåìíîãî êðèâàÿ ïðîêðóòêà
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#define ONLY_OPEN 2
|
#define ONLY_OPEN 2
|
||||||
|
|
||||||
//ïåðåìåííûå
|
//ïåðåìåííûå
|
||||||
#define title "Eolite File Manager v0.99.8"
|
#define title "Eolite File Manager v0.99.9"
|
||||||
#define videlenie 0x94AECE //0xFEA4B7,0x8BCDFF,0xB8C9B8}; //öâåò âûäåëåííîãî ýëåìåíòà èç ñïèñêà ôàéëîâ
|
#define videlenie 0x94AECE //0xFEA4B7,0x8BCDFF,0xB8C9B8}; //öâåò âûäåëåííîãî ýëåìåíòà èç ñïèñêà ôàéëîâ
|
||||||
byte toolbar_buttons_x[6]={9,46,85,134,167,203};
|
byte toolbar_buttons_x[6]={9,46,85,134,167,203};
|
||||||
//
|
//
|
||||||
@ -368,7 +368,7 @@ inline fastcall void draw_window()
|
|||||||
{
|
{
|
||||||
DefineAndDrawWindow(98,90,582,482,0x73,0x10E4DFE1,0,0,title);
|
DefineAndDrawWindow(98,90,582,482,0x73,0x10E4DFE1,0,0,title);
|
||||||
Form.GetInfo(#Form, SelfInfo);
|
Form.GetInfo(#Form, SelfInfo);
|
||||||
IF (Form.height==GetSkinWidth()+3) return; //ничего не делать если окно схлопнуто в заголовок
|
IF (Form.status_window==4) return; //ничего не делать если окно схлопнуто в заголовок
|
||||||
IF (Form.height<280) MoveSize(OLD,OLD,OLD,280);
|
IF (Form.height<280) MoveSize(OLD,OLD,OLD,280);
|
||||||
IF (Form.width<480) MoveSize(OLD,OLD,480,OLD);
|
IF (Form.width<480) MoveSize(OLD,OLD,480,OLD);
|
||||||
//toolbar buttons
|
//toolbar buttons
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@..\C--\c-- Eolite.c
|
@..\C--\c-- Eolite.c--
|
||||||
del Eolite
|
del Eolite
|
||||||
rename Eolite.com Eolite
|
rename Eolite.com Eolite
|
||||||
@..\C--\kpack Eolite
|
@..\C--\kpack Eolite
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//Leency - 2011
|
//Leency - 2012
|
||||||
|
|
||||||
#include "imgs\logo.txt"
|
#include "imgs\logo.txt"
|
||||||
|
|
||||||
@ -37,11 +37,11 @@ void authors()
|
|||||||
DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite");
|
DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite");
|
||||||
DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
|
DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè
|
||||||
PutPaletteImage(#logo,85,85,43,7,#logo_pal);
|
PutPaletteImage(#logo,85,85,43,7,#logo_pal);
|
||||||
WriteText(33,100,0x80,0xBF40BF,"Eolite v0.99.8 RC3",0);
|
WriteText(33,100,0x80,0xBF40BF,"Eolite v0.99.9 RC3",0);
|
||||||
WriteText(55,120,0x80,0,"Developers:",0);
|
WriteText(55,120,0x80,0,"Developers:",0);
|
||||||
WriteText(39,130,0x80,0,"Leency & Veliant",0);
|
WriteText(39,130,0x80,0,"Leency & Veliant",0);
|
||||||
WriteText(30,140,0x80,0,"Diamond, Lrz, Nable",0);
|
WriteText(30,140,0x80,0,"Diamond, Lrz, Nable",0);
|
||||||
WriteText(55,150,0x80,0," 2008-2011 ",0);
|
WriteText(55,150,0x80,0," 2008-2012 ",0);
|
||||||
WriteText(12,170,0x80,0,"Visit",0);
|
WriteText(12,170,0x80,0,"Visit",0);
|
||||||
DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa
|
DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa
|
||||||
DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close");
|
DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close");
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "imgs\icons.txt"
|
#include "imgs\icons.txt"
|
||||||
dword Put_icon(dword extension, yy)
|
dword Put_icon(dword extension, yy)
|
||||||
{
|
{
|
||||||
dword ftype="", fnum=0; //εψθ νεθηβερνϋι τΰιλ
|
dword ftype="", fnum=0; //εψθ νεθηβερνϋι τΰιλ
|
||||||
|
|
||||||
IF (!strcmp(extension,"htm")) || (!strcmp(extension,"html")) ||
|
IF (!strcmp(extension,"htm")) || (!strcmp(extension,"html")) ||
|
||||||
(!strcmp(extension,"mht")) {fnum = 2; ftype="Web-page";}
|
(!strcmp(extension,"mht")) {fnum = 2; ftype="Web-page";}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//INI parser in C--, GPL licence.
|
//INI parser in C--, GPL licence.
|
||||||
//Leency - 2011
|
//Leency - 2012
|
||||||
|
|
||||||
#define COMMENT 0
|
#define COMMENT 0
|
||||||
#define SECTION 1
|
#define SECTION 1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//Leency - 2011
|
//Leency - 2012
|
||||||
|
|
||||||
#define add_new_path 1
|
#define add_new_path 1
|
||||||
#define go_back 2
|
#define go_back 2
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//聋耱疣<EFBFBD> 耦痱桊钼赅. Leency 2008. GPL license.
|
//Áûñòðàÿ ñîðòèðîâêà. Leency 2008.
|
||||||
|
|
||||||
void Sort_by_Size(int a, b) // для первого вызова: a = 0, b = <элементов в массиве> - 1
|
void Sort_by_Size(int a, b) // для первого вызова: a = 0, b = <элементов в массиве> - 1
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//CODED by Veliant, Leency. GNU GPL licence.
|
//CODED by Veliant, Leency 2008-2012. GNU GPL licence.
|
||||||
|
|
||||||
struct f70{
|
struct f70{
|
||||||
dword func;
|
dword func;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//CODED by Veliant, Leency. GNU GPL licence.
|
//CODED by Veliant, Leency 2008-2012. GNU GPL licence.
|
||||||
|
|
||||||
#startaddress 0
|
#startaddress 0
|
||||||
#code32 TRUE
|
#code32 TRUE
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#code32 TRUE
|
#code32 TRUE
|
||||||
|
|
||||||
inline fastcall dword malloc(dword ECX){
|
inline fastcall dword malloc(dword ECX){
|
||||||
dword size, heap;
|
dword size, heap;
|
||||||
#speed
|
#speed
|
||||||
size = ECX;
|
size = ECX;
|
||||||
EAX = 68;
|
EAX = 68;
|
||||||
|
Loading…
Reference in New Issue
Block a user