mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-04-18 05:38:36 +01:00
Fix
This commit is contained in:
parent
febf6bfae4
commit
5e5dfee446
1 changed files with 4 additions and 4 deletions
|
@ -139,7 +139,7 @@ U0 DrawCtrlSlider(CDC *dc,CCtrl *c)
|
|||
|
||||
// buttons
|
||||
|
||||
//I64 l1 = StrLen("LOAD");
|
||||
//I64 l1 = StrLen("LOAD");
|
||||
|
||||
//GrPrint(dc, 100,30,"$$CM+CX,%d,4$$$$BT,\"%s\",LE=%d$$\n", -l1 / 2, "LOAD", 1);
|
||||
//DocPrint(dc, "$$CM+CX,%d,4$$$$BT,\"%s\",LE=%d$$\n", -l1 / 2, "LOAD", 1);
|
||||
|
@ -156,7 +156,7 @@ U0 PELoad(Bool prompt)
|
|||
|
||||
//FileExtRemove(file_path);
|
||||
//StrLastRemove(file_path, "/", file_name);
|
||||
//StrFirstRemove(file_name+1, StrLen(file_name), without_first_ch);
|
||||
//StrFirstRemove(file_name+1, StrLen(file_name), without_first_ch);
|
||||
//ToUpper(*upper_case);
|
||||
|
||||
U8 file = FileRead(file_path);
|
||||
|
@ -171,14 +171,14 @@ U0 PELoad(Bool prompt)
|
|||
gr_palette[i] = Str2I64(temp_file,16);
|
||||
}
|
||||
LFBFlush;
|
||||
// PaletteSetTemp;
|
||||
// PaletteSetTemp;
|
||||
|
||||
}
|
||||
|
||||
U0 PESave(Bool prompt, CCtrl *c)
|
||||
{
|
||||
//U8 old_draw_it = c->draw_it;
|
||||
CDoc *doc = DocNew;
|
||||
CDoc *doc = DocNew("~/PaletteEditor/Palettes/MyPalette.CC");
|
||||
I64 i;
|
||||
// U8 tmp_name= doc->filename.name;
|
||||
// I64 file_name;
|
||||
|
|
Loading…
Reference in a new issue