mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Ok let's see:
* DND now should work reasonable (still not finished DND on icons) * Added menus (icon specific, desktop) * Icon renaming works too * Some code to change icons fonts (unfinished) * Desktop main instance will be now first created and then call rest of init data. This will allow init data to re-use desktop instance and peek it's own data (area() for example). Previously, calling such functions would crash app since constructor didn't finished with creation of desktop instance.
This commit is contained in:
@@ -25,6 +25,8 @@ class GlobalIconSettings;
|
||||
class IconSettings;
|
||||
class MovableIcon;
|
||||
|
||||
class Fl_Menu_Button;
|
||||
|
||||
class DesktopIcon : public Fl_Widget {
|
||||
private:
|
||||
IconSettings* settings;
|
||||
@@ -36,7 +38,10 @@ class DesktopIcon : public Fl_Widget {
|
||||
|
||||
MovableIcon* micon;
|
||||
|
||||
Fl_Menu_Button* imenu;
|
||||
|
||||
void update_label_size(void);
|
||||
void fix_position(int X, int Y);
|
||||
|
||||
public:
|
||||
DesktopIcon(GlobalIconSettings* gisett, IconSettings* isett, int bg);
|
||||
@@ -71,7 +76,7 @@ class DesktopIcon : public Fl_Widget {
|
||||
|
||||
Fl_Image* icon_image(void) { return image(); }
|
||||
|
||||
const IconSettings* get_settings(void) const { return settings; }
|
||||
void rename(const char* str);
|
||||
};
|
||||
|
||||
class MovableIcon : public Fl_Window {
|
||||
|
||||
Reference in New Issue
Block a user