mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Merging new panel in the trunk.
This commit is contained in:
26
ede-panel/applets/demo/AppletDemo.cpp
Normal file
26
ede-panel/applets/demo/AppletDemo.cpp
Normal file
@ -0,0 +1,26 @@
|
||||
#include "Applet.h"
|
||||
#include <FL/Fl_Button.H>
|
||||
#include <FL/x.H>
|
||||
#include <FL/Fl.H>
|
||||
#include <stdio.h>
|
||||
|
||||
class MyButton : public Fl_Button {
|
||||
public:
|
||||
MyButton() : Fl_Button(0, 0, 90, 25, "xxx") {
|
||||
color(FL_RED);
|
||||
puts("MyButton::MyButton");
|
||||
}
|
||||
|
||||
~MyButton() {
|
||||
puts("MyButton::~MyButton");
|
||||
}
|
||||
};
|
||||
|
||||
EDE_PANEL_APPLET_EXPORT (
|
||||
MyButton,
|
||||
0,
|
||||
"Panel button",
|
||||
"0.1",
|
||||
"empty",
|
||||
"Sanel Zukan"
|
||||
)
|
Reference in New Issue
Block a user