*SysInfo_demo_gui: Updated and fixed

git-svn-id: svn://ultimatepp.org/upp/trunk@14153 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2020-03-11 08:00:21 +00:00
parent 6ebcc9fd7b
commit c6af358d0e
2 changed files with 12 additions and 19 deletions

View file

@ -8,8 +8,7 @@ struct SpecialFolders : WithSpecialFolders<StaticRect> {
typedef SpecialFolders CLASSNAME;
SpecialFolders()
{
SpecialFolders() {
CtrlLayout(*this);
}
void Fill();
@ -19,8 +18,7 @@ struct SystemInfo : WithSystemInfo<StaticRect> {
typedef SystemInfo CLASSNAME;
SystemInfo()
{
SystemInfo() {
CtrlLayout(*this);
}
void Fill();
@ -30,8 +28,7 @@ struct WindowsList_ : WithWindowsList<StaticRect> {
typedef WindowsList_ CLASSNAME;
WindowsList_()
{
WindowsList_() {
CtrlLayout(*this);
}
void Fill();
@ -46,8 +43,7 @@ struct ProcessList : WithProcessList<StaticRect> {
typedef ProcessList CLASSNAME;
ProcessList()
{
ProcessList() {
CtrlLayout(*this);
}
void Fill();
@ -57,8 +53,7 @@ struct ScreenGrabTab : WithScreenGrabTab<StaticRect> {
typedef ScreenGrabTab CLASSNAME;
ScreenGrabTab()
{
ScreenGrabTab() {
CtrlLayout(*this);
}
void Fill();
@ -70,8 +65,7 @@ struct MouseKeyboard : WithMouseKeyboard<StaticRect> {
typedef MouseKeyboard CLASSNAME;
MouseKeyboard()
{
MouseKeyboard() {
CtrlLayout(*this);
}
void Fill();

View file

@ -1,20 +1,19 @@
#include <CtrlLib/CtrlLib.h>
#include "SysInfo/SysInfo.h"
#include "SysInfo_demo_gui.h"
#include <SysInfo/SysInfo.h>
#include <DropGrid/DropGrid.h>
using namespace Upp;
#include "SysInfo_demo_gui.h"
#define IMAGEFILE <SysInfo_demo_gui/SysInfo_demo_gui.iml>
#define IMAGECLASS Images
#include <Draw/iml.h>
#define LAYOUTFILE <SysInfo_demo_gui/SysInfo_demo_gui.lay>
using namespace Upp;
GUI_APP_MAIN {
String pepe = "frefre fproforwejifpoijrfoijrwopjwoerhghgihfdiuhiuwrgi rtgwiuhgiuh iwurhgiuhgiuwhreigu wuireh giwu ghowituhiuwthuiuohoi uhre";
SysInfoDemo program;
SetLanguage(LNGC_('E','N','U','S', CHARSET_UTF8));