Fix some warnings.
Prepare to package future PDF Writer print driver as OBOS package: openbeos-pdf_writer-cvs... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6154 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6c54c57f07
commit
cecbb5fb07
@ -1,3 +1,9 @@
|
||||
SubDir OBOS_TOP src add-ons print drivers pdf ;
|
||||
|
||||
SubInclude OBOS_TOP src add-ons print drivers pdf source ;
|
||||
SubInclude OBOS_TOP src add-ons print drivers pdf bookmarks ;
|
||||
SubInclude OBOS_TOP src add-ons print drivers pdf encoding ;
|
||||
SubInclude OBOS_TOP src add-ons print drivers pdf xrefs ;
|
||||
|
||||
Package openbeos-pdf_writer-cvs :
|
||||
README TODO CHANGES ;
|
||||
|
5
src/add-ons/print/drivers/pdf/bookmarks/Jamfile
Normal file
5
src/add-ons/print/drivers/pdf/bookmarks/Jamfile
Normal file
@ -0,0 +1,5 @@
|
||||
SubDir OBOS_TOP src add-ons print drivers pdf bookmarks ;
|
||||
|
||||
Package openbeos-pdf_writer-cvs :
|
||||
Sample :
|
||||
boot home config settings PDF_Writer bookmarks ;
|
6
src/add-ons/print/drivers/pdf/encoding/Jamfile
Normal file
6
src/add-ons/print/drivers/pdf/encoding/Jamfile
Normal file
@ -0,0 +1,6 @@
|
||||
SubDir OBOS_TOP src add-ons print drivers pdf encoding ;
|
||||
|
||||
Package openbeos-pdf_writer-cvs :
|
||||
t1enc0.enc t1enc1.enc t1enc2.enc t1enc3.enc t1enc4.enc
|
||||
ttenc0.cpg ttenc1.cpg ttenc2.cpg ttenc3.cpg ttenc4.cpg :
|
||||
boot home config settings PDF_Writer encoding ;
|
@ -54,7 +54,7 @@ AdvancedSettingsWindow::AdvancedSettingsWindow(BMessage *settings)
|
||||
BRect r;
|
||||
BBox *panel;
|
||||
BButton *button;
|
||||
BCheckBox *cb;
|
||||
// BCheckBox *cb;
|
||||
BMenuField *mf;
|
||||
float x, y, w, h;
|
||||
fSettings = settings;
|
||||
|
@ -87,7 +87,7 @@ DocInfoWindow::DocInfoWindow(BMessage *doc_info)
|
||||
{
|
||||
// ---- Ok, build a default page setup user interface
|
||||
BRect r;
|
||||
BBox *panel;
|
||||
// BBox *panel;
|
||||
BTabView *tabView;
|
||||
BString permissions;
|
||||
fDocInfo = doc_info;
|
||||
@ -161,8 +161,8 @@ DocInfoWindow::SetupButtons(BBox* panel) {
|
||||
|
||||
void
|
||||
DocInfoWindow::SetupDocInfoView(BBox* panel) {
|
||||
BButton *button;
|
||||
float x, y, w, h;
|
||||
// BButton *button;
|
||||
// float x, y, w, h;
|
||||
|
||||
BRect r(panel->Bounds());
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
SubDir OBOS_TOP src add-ons print drivers pdf source ;
|
||||
|
||||
AddResources PDF\ Writer :
|
||||
# PDFWriter.rsrc
|
||||
PDFWriter.rdef
|
||||
;
|
||||
|
||||
@ -55,3 +54,8 @@ LinkSharedOSLibs
|
||||
;
|
||||
|
||||
# /boot/home/config/lib/libpdf.so
|
||||
|
||||
Package openbeos-pdf_writer-cvs :
|
||||
PDF\ Writer :
|
||||
boot home config add-ons Print ;
|
||||
|
||||
|
@ -1599,11 +1599,10 @@ PDFWriter::GetImages(BRect src, int32 /*width*/, int32 /*height*/, int32 bytesPe
|
||||
|
||||
int32 width = src.IntegerWidth() + 1;
|
||||
int32 height = src.IntegerHeight() + 1;
|
||||
int length;
|
||||
int bpc;
|
||||
|
||||
|
||||
int length = 0;
|
||||
int bpc = 0;
|
||||
|
||||
|
||||
if (HasAlphaChannel(pixelFormat)) {
|
||||
if (NeedsBPC1Mask(pixelFormat) || !SupportsSoftMask()) {
|
||||
int32 w = (width+7)/8;
|
||||
|
5
src/add-ons/print/drivers/pdf/xrefs/Jamfile
Normal file
5
src/add-ons/print/drivers/pdf/xrefs/Jamfile
Normal file
@ -0,0 +1,5 @@
|
||||
SubDir OBOS_TOP src add-ons print drivers pdf xrefs ;
|
||||
|
||||
Package openbeos-pdf_writer-cvs :
|
||||
English Deutsch :
|
||||
boot home config settings PDF_Writer xrefs ;
|
Loading…
Reference in New Issue
Block a user