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
20
components/tvplanit/images/make_reg.bat
Normal 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
|
BIN
components/tvplanit/images/palette/tvpbufdsdatastore.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpbufdsdatastore_150.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
components/tvplanit/images/palette/tvpbufdsdatastore_200.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
components/tvplanit/images/palette/tvpcalendar.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpcalendar_150.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvpcalendar_200.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
components/tvplanit/images/palette/tvpclock.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvpclock_150.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
components/tvplanit/images/palette/tvpclock_200.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
components/tvplanit/images/palette/tvpcontactbuttonbar.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpcontactbuttonbar_150.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
components/tvplanit/images/palette/tvpcontactbuttonbar_200.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
components/tvplanit/images/palette/tvpcontacteditdialog.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpcontacteditdialog_150.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
components/tvplanit/images/palette/tvpcontacteditdialog_200.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
components/tvplanit/images/palette/tvpcontactgrid.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvpcontactgrid_150.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
components/tvplanit/images/palette/tvpcontactgrid_200.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
components/tvplanit/images/palette/tvpcontrollink.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvpcontrollink_150.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
components/tvplanit/images/palette/tvpcontrollink_200.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
components/tvplanit/images/palette/tvpdayview.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpdayview_150.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
components/tvplanit/images/palette/tvpdayview_200.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
components/tvplanit/images/palette/tvpeventeditdialog.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpeventeditdialog_150.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
components/tvplanit/images/palette/tvpeventeditdialog_200.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
components/tvplanit/images/palette/tvpfirebirddatastore.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpfirebirddatastore_150.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
components/tvplanit/images/palette/tvpfirebirddatastore_200.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
components/tvplanit/images/palette/tvpflexdatastore.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpflexdatastore_150.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
components/tvplanit/images/palette/tvpflexdatastore_200.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
components/tvplanit/images/palette/tvpinidatastore.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpinidatastore_150.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
components/tvplanit/images/palette/tvpinidatastore_200.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
components/tvplanit/images/palette/tvpjsondatastore.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
components/tvplanit/images/palette/tvpjsondatastore_150.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
components/tvplanit/images/palette/tvpjsondatastore_200.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
components/tvplanit/images/palette/tvpledlabel.png
Normal file
After Width: | Height: | Size: 299 B |
BIN
components/tvplanit/images/palette/tvpledlabel_150.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
components/tvplanit/images/palette/tvpledlabel_200.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
components/tvplanit/images/palette/tvpmonthview.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
components/tvplanit/images/palette/tvpmonthview_150.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
components/tvplanit/images/palette/tvpmonthview_200.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
components/tvplanit/images/palette/tvpnavbar.png
Normal file
After Width: | Height: | Size: 334 B |
BIN
components/tvplanit/images/palette/tvpnavbar_150.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
components/tvplanit/images/palette/tvpnavbar_200.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
components/tvplanit/images/palette/tvpnotificationdialog.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
components/tvplanit/images/palette/tvpnotificationdialog_150.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvpnotificationdialog_200.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
components/tvplanit/images/palette/tvpprintformatcombobox.png
Normal file
After Width: | Height: | Size: 787 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.8 KiB |
BIN
components/tvplanit/images/palette/tvpprintformateditdialog.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
BIN
components/tvplanit/images/palette/tvpprintpreview.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpprintpreview_150.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
components/tvplanit/images/palette/tvpprintpreview_200.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
components/tvplanit/images/palette/tvpprintpreviewdialog.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvpprintpreviewdialog_150.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvpprintpreviewdialog_200.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
components/tvplanit/images/palette/tvpresourcecombo.png
Normal file
After Width: | Height: | Size: 863 B |
BIN
components/tvplanit/images/palette/tvpresourcecombo_150.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
components/tvplanit/images/palette/tvpresourcecombo_200.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
components/tvplanit/images/palette/tvpresourceeditdialog.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpresourceeditdialog_150.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
components/tvplanit/images/palette/tvpresourceeditdialog_200.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
components/tvplanit/images/palette/tvpsqlite3datastore.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
components/tvplanit/images/palette/tvpsqlite3datastore_150.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
components/tvplanit/images/palette/tvpsqlite3datastore_200.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
components/tvplanit/images/palette/tvptaskeditdialog.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
components/tvplanit/images/palette/tvptaskeditdialog_150.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvptaskeditdialog_200.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
components/tvplanit/images/palette/tvptasklist.png
Normal file
After Width: | Height: | Size: 992 B |
BIN
components/tvplanit/images/palette/tvptasklist_150.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
components/tvplanit/images/palette/tvptasklist_200.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
components/tvplanit/images/palette/tvpweekview.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpweekview_150.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
components/tvplanit/images/palette/tvpweekview_200.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
components/tvplanit/images/palette/tvpxmldatastore.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
components/tvplanit/images/palette/tvpxmldatastore_150.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
components/tvplanit/images/palette/tvpxmldatastore_200.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
components/tvplanit/images/palette/tvpzeosdatastore.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
components/tvplanit/images/palette/tvpzeosdatastore_150.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
components/tvplanit/images/palette/tvpzeosdatastore_200.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
18
components/tvplanit/images/readme.txt
Normal 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).
|
102
components/tvplanit/images/reg_palette_list.txt
Normal 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
|
1
components/tvplanit/images/reg_palette_zeos_list.txt
Normal file
@ -0,0 +1 @@
|
||||
palette/TvpZeosDatastore.png
|
63
components/tvplanit/images/regbasepng_files.txt
Normal 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
|
@ -19,6 +19,7 @@
|
||||
<Item1>
|
||||
<Filename Value="source\addons\zeos\vpregzeos.pas"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<AddToUsesPkgSection Value="False"/>
|
||||
<UnitName Value="VpRegZEOS"/>
|
||||
</Item1>
|
||||
</Files>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -68,7 +68,7 @@ type
|
||||
procedure FormShow(Sender: TObject);
|
||||
private
|
||||
SnoozeDelay: TDateTime;
|
||||
ShowTime : TDateTime;
|
||||
ShowTime: TDateTime;
|
||||
procedure CalcSnooze;
|
||||
protected
|
||||
procedure PositionControls;
|
||||
|