-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix debian/control Build-depends and Depends.
Screenshot not based on gnome-screenshot. New modules and Forms for create screenshot.
- Loading branch information
Showing
23 changed files
with
221 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# /home/michal/Baazar/i-nex/src/i-nex/.src/ScreenShot.class | ||
# Generated by Gambas compiler | ||
|
||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2002-11-01 04:27+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#: ScreenShot.form:27 | ||
msgid "Save" | ||
msgstr "" | ||
|
||
#: ScreenShot.form:33 | ||
msgid "Cancel" | ||
msgstr "" | ||
|
||
#: ScreenShot.form:40 | ||
msgid "File name:" | ||
msgstr "" | ||
|
||
#: ScreenShot.form:46 | ||
msgid "Save directory:" | ||
msgstr "" | ||
|
||
#: ScreenShot.form:73 | ||
msgid "Picture quality:" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# /home/michal/Baazar/i-nex/src/i-nex/.src/ScreenShotM.module | ||
# Generated by Gambas compiler | ||
|
||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n""POT-Creation-Date: 2002-11-01 04:27+0100\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
' Gambas class file | ||
|
||
|
||
Public Sub Form_Resize() | ||
|
||
End | ||
|
||
Public Sub Form_Open() | ||
Me.Center | ||
PictureBox1.Picture = ScreenShotM.pic | ||
TextBox1.Text = Date & Time | ||
TextBox1.Text = Replace(TextBox1.Text, "/", "") | ||
TextBox1.Text = Replace(TextBox1.Text, ":", "") | ||
TextBox1.Text = Replace(TextBox1.Text, ".", "") | ||
ComboBox1.Add(".png") | ||
ComboBox1.Add(".jpg") | ||
ComboBox1.Text = ".png" | ||
SpinBox1.Value = 70 | ||
Slider1.Value = 70 | ||
ButtonBox1.Text = User.Home | ||
|
||
End | ||
|
||
Public Sub Button2_Click() | ||
|
||
Me.Close | ||
|
||
End | ||
|
||
Public Sub Button1_Click() | ||
|
||
ScreenShotM.save(ButtonBox1.Text, TextBox1.Text, ComboBox1.Text, Slider1.Value) | ||
Me.Close | ||
End | ||
|
||
Public Sub ButtonBox1_Click() | ||
|
||
Dialog.SelectDirectory | ||
Dialog.Title = "Select dir" | ||
ButtonBox1.Text = Dialog.Path | ||
|
||
End | ||
|
||
Public Sub Slider1_Change() | ||
|
||
SpinBox1.Value = Slider1.Value | ||
|
||
End | ||
|
||
Public Sub SpinBox1_Change() | ||
|
||
Slider1.Value = SpinBox1.Value | ||
|
||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Gambas Form File 3.0 | ||
|
||
{ Form Form | ||
MoveScaled(0,0,80,32) | ||
Resizable = False | ||
{ PictureBox1 PictureBox | ||
MoveScaled(0,0,21,26) | ||
Stretch = True | ||
} | ||
{ Button1 Button | ||
MoveScaled(66,27,13,4) | ||
Text = ("Save") | ||
Picture = Picture["icon:/16/save"] | ||
} | ||
{ Button2 Button | ||
MoveScaled(52,27,13,4) | ||
Text = ("Cancel") | ||
Picture = Picture["icon:/16/quit"] | ||
} | ||
{ Label1 Label | ||
MoveScaled(22,4,18,4) | ||
Font = Font["Bold,11"] | ||
Text = ("File name:") | ||
} | ||
{ Label2 Label | ||
MoveScaled(22,10,17,4) | ||
Font = Font["Bold,11"] | ||
Text = ("Save directory:") | ||
} | ||
{ Slider1 Slider | ||
MoveScaled(0,27,51,4) | ||
MinValue = 1 | ||
} | ||
{ ButtonBox1 ButtonBox | ||
MoveScaled(43,10,36,4) | ||
} | ||
{ TextBox1 TextBox | ||
MoveScaled(43,4,36,4) | ||
} | ||
{ ComboBox1 ComboBox | ||
MoveScaled(55,16,24,4) | ||
} | ||
{ SpinBox1 SpinBox | ||
MoveScaled(42,23,9,4) | ||
MinValue = 1 | ||
} | ||
{ Label3 Label | ||
MoveScaled(22,23,19,4) | ||
Text = ("Picture quality:") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
' Gambas module file | ||
|
||
Public pic As Picture | ||
|
||
Public Sub save(directory As String, filename As String, fileformat As String, filequality As Integer) | ||
|
||
pic.Save("" & directory & "/" & filename & "" & fileformat & "", filequality) | ||
|
||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,7 @@ i-nex | |
gb.image | ||
gb.gtk | ||
gb.form | ||
gb.dbus | ||
gb.desktop | ||
gb.form.dialog | ||
gb.settings | ||
gb.form.mdi | ||
|
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.