tvplanit: New component palette icons including versions at 150% and 200% magnification for HighDPI screens.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5921 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2017-06-07 22:37:51 +00:00
parent c77aed9270
commit 5d59eca6f0
97 changed files with 225 additions and 19 deletions

View File

@ -0,0 +1,20 @@
lazres ..\source\design\vpreg.res @reg_palette_list.txt
lazres ..\source\addons\zeos\vpregzeos.res @reg_palette_zeos_list.txt
goto :end
..\lazres ..\vpreg.res @..\reg_files.txt
..\lazres ..\vpregzeos.res @..\regzeos_files.txt
cd ..\res
..\lazres ..\vpbasepng.res @..\regbasepng_files.txt
cd ..
@echo Copy *.RES to SOURCE folder (CTRL-BREAK -- NO, ENTER -- YES)
@pause
copy vpreg.res ..\source
copy vpregzeos.res ..\source\addons\zeos
copy vpbasepng.res ..\source
:end

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 992 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,18 @@
This folder contains the palette icons of the TurboPower VisualPlanIt components.
The icons with appended _150 and _200 are magnifited with respect to the
icons without appended number by factors 150% and 200%, respectively; they are
used for screens at higher resolutions.
The icons are created from several gimp source files in the image_sources
directory; they are based on selected images taken from the
FatCow icon collection (http://www.fatcow.com/free-icons, license
Creative Commons Attribution 3.0). Some images are modified (upscaled, recolored,
etc).
In order to create the .res file for the package, run the batch file
"make_res.bat". Adapt it such that the lazres program can be found. The sources
of lazres are in the folder "tools" of the Lazarus installation; compile it
if not yet done.
The batch file, obviously, is for Windows, but a Linux shell script should work
accordingly).

View File

@ -0,0 +1,102 @@
palette/tvpbufdsdatastore.png
palette/tvpbufdsdatastore_150.png
palette/tvpbufdsdatastore_200.png
palette/tvpfirebirddatastore.png
palette/tvpfirebirddatastore_150.png
palette/tvpfirebirddatastore_200.png
palette/tvpflexdatastore.png
palette/tvpflexdatastore_150.png
palette/tvpflexdatastore_200.png
palette/tvpinidatastore.png
palette/tvpinidatastore_150.png
palette/tvpinidatastore_200.png
palette/tvpsqlite3datastore.png
palette/tvpsqlite3datastore_150.png
palette/tvpsqlite3datastore_200.png
palette/tvpxmldatastore.png
palette/tvpxmldatastore_150.png
palette/tvpxmldatastore_200.png
palette/tvpcontrollink.png
palette/tvpcontrollink_150.png
palette/tvpcontrollink_200.png
palette/tvpdayview.png
palette/tvpdayview_150.png
palette/tvpdayview_200.png
palette/tvpweekview.png
palette/tvpweekview_150.png
palette/tvpweekview_200.png
palette/tvpmonthview.png
palette/tvpmonthview_150.png
palette/tvpmonthview_200.png
palette/tvpcontactgrid.png
palette/tvpcontactgrid_150.png
palette/tvpcontactgrid_200.png
palette/tvptasklist.png
palette/tvptasklist_150.png
palette/tvptasklist_200.png
palette/tvpnotificationdialog.png
palette/tvpnotificationdialog_150.png
palette/tvpnotificationdialog_200.png
palette/tvpresourceeditdialog.png
palette/tvpresourceeditdialog_150.png
palette/tvpresourceeditdialog_200.png
palette/tvpeventeditdialog.png
palette/tvpeventeditdialog_150.png
palette/tvpeventeditdialog_200.png
palette/tvptaskeditdialog.png
palette/tvptaskeditdialog_150.png
palette/tvptaskeditdialog_200.png
palette/tvpcontacteditdialog.png
palette/tvpcontacteditdialog_150.png
palette/tvpcontacteditdialog_200.png
palette/tvpcontactbuttonbar.png
palette/tvpcontactbuttonbar_150.png
palette/tvpcontactbuttonbar_200.png
palette/tvpprintformateditdialog.png
palette/tvpprintformateditdialog_150.png
palette/tvpprintformateditdialog_200.png
palette/tvpprintpreviewdialog.png
palette/tvpprintpreviewdialog_150.png
palette/tvpprintpreviewdialog_200.png
palette/tvpprintpreview.png
palette/tvpprintpreview_150.png
palette/tvpprintpreview_200.png
palette/tvpprintformatcombobox.png
palette/tvpprintformatcombobox_150.png
palette/tvpprintformatcombobox_200.png
palette/tvpresourcecombo.png
palette/tvpresourcecombo_150.png
palette/tvpresourcecombo_200.png
palette/tvpcalendar.png
palette/tvpcalendar_150.png
palette/tvpcalendar_200.png
palette/tvpclock.png
palette/tvpclock_150.png
palette/tvpclock_200.png
palette/tvpledlabel.png
palette/tvpledlabel_150.png
palette/tvpledlabel_200.png
palette/tvpnavbar.png
palette/tvpnavbar_150.png
palette/tvpnavbar_200.png

View File

@ -0,0 +1 @@
palette/TvpZeosDatastore.png

View File

@ -0,0 +1,63 @@
office/VpAlarmClock24.png
office/VpAlarmClock32.png
office/VpAlarmClock48.png
office/VpDateTime24.png
office/VpDateTime32.png
office/VpDateTime48.png
office/VpFinished24.png
office/VpFinished32.png
office/VpFinished48.png
office/VpPersons32.png
office/VpPersons48.png
office/VpPersons64.png
office/VpRecurringEvent24.png
office/VpRecurringEvent32.png
office/VpRecurringEvent48.png
office/VpReminder24.png
office/VpReminder32.png
office/VpReminder48.png
office/VpDateEdit16.png
office/VpDateEdit24.png
office/VpDateEdit32.png
office/VpSpeaker16.png
office/VpSpeaker24.png
office/VpSpeaker32.png
office/VpTasks16.png
office/VpTasks24.png
office/VpTasks32.png
office/VpTimeEdit16.png
office/VpTimeEdit24.png
office/VpTimeEdit32.png
office/VpLArrows16.png
office/VpLArrows24.png
office/VpLArrows32.png
office/VpLArrow16.png
office/VpLArrow24.png
office/VpLArrow32.png
office/VpRArrow16.png
office/VpRArrow24.png
office/VpRArrow32.png
office/VpRArrows16.png
office/VpRArrows24.png
office/VpRArrows32.png
office/VpRevert16.png
office/VpRevert24.png
office/VpRevert32.png
office/VpToday16.png
office/VpToday24.png
office/VpToday32.png

View File

@ -19,6 +19,7 @@
<Item1>
<Filename Value="source\addons\zeos\vpregzeos.pas"/>
<HasRegisterProc Value="True"/>
<AddToUsesPkgSection Value="False"/>
<UnitName Value="VpRegZEOS"/>
</Item1>
</Files>

View File

@ -648,10 +648,28 @@ begin
{ register Visual PlanIt components with the IDE }
{----------------------------------------------------------------------------}
RegisterComponents('Visual PlanIt', [
TVpControlLink,
TVpDayView,
TVpWeekView,
TVpMonthView,
TVpTaskList,
TVpContactGrid,
TVpContactButtonBar,
TVpResourceCombo,
TVpPrintFormatComboBox,
TVpResourceEditDialog,
TVpEventEditDialog,
TVpContactEditDialog,
TVpTaskEditDialog,
TVpPrintFormatEditDialog,
TVpPrintPreviewDialog,
TVpPrintPreview,
TVpNotificationDialog,
TVpLEDLabel,
TVpClock,
TVpCalendar,
TVpNavBar,
TVpFlexDataStore,
{$IFDEF DELPHI}
TVpBDEDataStore, // BDE is not available in Lazarus
@ -662,27 +680,10 @@ begin
TVpXmlDatastore,
TVpBufDSDatastore,
TVpSqlite3Datastore,
TVpFirebirdDatastore,
TVpFirebirdDatastore
//TVpSdfDatastore, // to do (maybe)...
//TVpDbfDatastore, // to do...
{$ENDIF}
TVpControlLink,
TVpPrintPreview,
TVpPrintFormatComboBox,
TVpResourceCombo,
TVpDayView,
TVpWeekView,
TVpMonthView,
TVpContactGrid,
TVpContactButtonBar,
TVpTaskList,
TVpNotificationDialog,
TVpResourceEditDialog,
TVpEventEditDialog,
TVpContactEditDialog,
TVpTaskEditDialog,
TVpPrintFormatEditDialog,
TVpPrintPreviewDialog
]);
end;

View File

@ -68,7 +68,7 @@ type
procedure FormShow(Sender: TObject);
private
SnoozeDelay: TDateTime;
ShowTime : TDateTime;
ShowTime: TDateTime;
procedure CalcSnooze;
protected
procedure PositionControls;