It is currently Sat Sep 21, 2019 12:12 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [Module] PureBasic V5.7x (DPI)
PostPosted: Sun Apr 28, 2019 12:34 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
Collection of modules that work with PureBasic 5.7x and are DPI compatible.

Please no comments or questions about the modules themselves.

Gadgets:


Other:


Download directly fromGitHub

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Thu Aug 01, 2019 1:25 pm, edited 14 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 9:51 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
ButtonEx - Module (all OS / 64Bit / DPI)

Image

Code:
; Button::AddDropDown() - adds a dropdown menue to the button
; Button::AddImage() - adds an image to the button
; Button::Gadget() - similar to 'ButtonGadget()'
; Button::GetState() - similar to 'GetGadgetState()'
; Button::SetState() - similar to 'SetGadgetState()'
; Button::SetFont() - similar to 'SetGadgetFont()'
; Button::SetColor() - similar to 'SetGadgetColor()'
; SetAutoResizeFlags() - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]

Download: ButtonExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:09 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 9:59 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
Bar Chart Gadget - Module (all OS / 64Bit / DPI)

Creating pie, bar charts (vertical/horizontal) and charts with data series:

Image __ Image __ Image

Code:
; Chart::AddItem()             - similar to AddGadgetItem()
; Chart::AttachPopupMenu()     - attachs a popup menu to the chart
; Chart::DisableReDraw()       - disable/enable redrawing
; Chart::EventColor()          - returns the color after the event
; Chart::EventIndex()          - returns the item index after the event
; Chart::EventLabel()          - returns the item label after the event
; Chart::EventValue()          - returns the item value after the event
; Chart::Gadget()              - create a new gadget
; Chart::GetErrorMessage()     - get error message [DE/FR/ES/UK]
; Chart::GetItemColor()        - returns the color of the item
; Chart::GetItemLabel()        - get the label of the item
; Chart::GetItemState()        - similar to GetGadgetItemState()
; Chart::GetItemText()         - similar to GetGadgetItemText()
; Chart::GetLabelState()       - similar to GetGadgetItemState(), but 'label' instead of 'position'
; Chart::GetLabelColor()       - returns the color of the item
; Chart::RemoveItem()          - similar to RemoveGadgetItem()
; Chart::RemoveLabel()         - similar to RemoveGadgetItem(), but 'label' instead of 'position'
; Chart::SetAttribute()        - similar to SetGadgetAttribute()
; Chart::SetAutoResizeFlags()  - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]
; Chart::SetColor()            - similar to SetGadgetColor()
; Chart::SetFlags()            - set flags for chart customization
; Chart::SetFont()             - similar to SetGadgetFont()
; Chart::SetItemState()        - similar to SetGadgetItemState()
; Chart::SetItemText()         - similar to SetGadgetItemText()
; Chart::SetLabelState()       - similar to SetGadgetItemState(), but 'label' instead of 'position'
; Chart::SetMargins()          - define top, left, right and bottom margin
; Chart::UpdatePopupText()     - updates the menu item text before the popup menu is displayed
; --- Data Series ---
; Chart::AddDataSeries()       - add a new data series
; Chart::AddSeriesItem()       - add a new item to the data series
; Chart::DisplayDataSeries()   - displays the data series
; Chart::EventDataSeries()     - returns the label of the data series after the event
; Chart::GetSeriesColor()      - returns the color of the data series
; Chart::GetSeriesItemState()  - returns the value of the item by index
; Chart::GetSeriesLabelState() - returns the value of the item by label
; Chart::RemoveSeriesItem()    - removes the item by index
; Chart::RemoveSeriesLabel()   - removes the item by label
; Chart::RemoveDataSeries()    - removes the data series
; Chart::SetSeriesItemState()  - sets the value of the item by index
; Chart::SetSeriesLabelState() - sets the value of the item by label

Download: ChartModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:08 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:03 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
Extended EditorGadget Module

  • Automatic line break & hyphenation
  • Undo / Redo
  • Simple syntax highlighting (e.g. for spell checking)
  • (Automatic) spell checking
Code:
  ; EditEx::AddItem()                - Add text row at 'Position' (or #FirstRow / #LastRow)
  ; EditEx::AddToUserDictionary()    - Add a new word to user dictionary
  ; EditEx::AddWord()                - Add word to syntax highlighting
  ; EditEx::AttachPopup()            - Attach 'PopUpMenu' to gadget
  ; EditEx::ClearWords()             - Delete the list with the words for syntax highlighting
  ; EditEx::ClearUndo()              - Delete the list with Undo/Redo steps
  ; EditEx::Copy()                   - Copy selected text to clipboard
  ; EditEx::Cut()                    - Cut the selected text and copy it to the clipboard
  ; EditEx::DeleteSelection()        - Delete selected text (Remove selection: #True/#False)
  ; EditEx::DeleteWord()             - Delete word from syntax highlighting
  ; EditEx::EnableAutoSpellCheck()   - Activate automatic spelling correction
  ; EditEx::EnableSyntaxHighlight()  - Enable syntax highlighting (#False/#CaseSensitiv/#NoCase)
  ; EditEx::EnableUndoRedo()         - Enable 'Undo/Redo' function (#True/#False)
  ; EditEx::FreeDictionary()         - Removes the loaded dictionary from memory
  ; EditEx::GetAttribute()           - Returns value of attribute (#ReadOnly/#WordWrap/#Hyphenation/#AutoHide/#Border/#CtrlChars)
  ; EditEx::GetColor()               - Returns color of attribute (#FrontColor/#BackColor/#SyntaxColor/#SelectionColor)
  ; EditEx::GetItemText()            - Returns text row at 'Position'
  ; EditEx::GetSelection()           - Returns selected text (Remove selection: #True/#False)
  ; EditEx::GetText()                - Returns all text rows seperated by 'Seperator'
  ; EditEx::InsertText()             - Insert text at cursor position (or replace selection)
  ; EditEx::IsRedo()                 - Checks if an redo is possible
  ; EditEx::IsSelected()             - Returns whether a selection exists
  ; EditEx::IsUndo()                 - Checks if an undo is possible
  ; EditEx::LoadDictionary()         - Load the dictionary for spell checking
  ; EditEx::LoadHyphenationPattern() - Load hyphenation pattern for selected language (#Deutsch/#English/#French)
  ; EditEx::Redo()                   - Perform Redo
  ; EditEx::ReDraw()                 - Redraw the gadget
  ; EditEx::RemoveGadget()           - Releases the used memory and deletes the cursor thread
  ; EditEx::Paste()                  - Inserting text from the clipboard
  ; EditEx::SaveUserDictionary()     - Save user dictionary
  ; EditEx::SetAttribute()           - Enable/Disable attribute (#ReadOnly/#WordWrap/#Hyphenation/#AutoHide/#Border/#CtrlChars)
  ; EditEx::SetColor()               - Set or change color of attribute (#FrontColor/#BackColor/#SyntaxColor/#SelectionColor)
  ; EditEx::SetFont()                - Set or change font FontID(#Font)
  ; EditEx::SetItemText()            - Replace text row at 'Position'
  ; EditEx::SetText()                - Set or replace all text rows
  ; EditEx::SpellCheck()             - Checks the spelling of the word (returns: #True/#False)
  ; EditEx::SpellChecking()          - Check the spelling in the editor gadget (#Highlight/#WrongWords)
  ; EditEx::Undo()                   - Perform Undo
  ; -----------------------
  ; EditEx::Gadget()                 - Creates an editor gadget

Download: EditorExModule.pbi (with Dictionary and Hyphen-Pattern)
Download: Language packages

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Tue Aug 27, 2019 12:19 pm, edited 3 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:07 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
ListEx Gadget - Module (all OS / DPI / 64Bit)

  • Editable columns (Strings/CheckBoxes/ComboBoxes/DateGadgets)
  • Columns with events (Buttons / Links / Header-Click)
  • Sortable columns (String / Integer / Float / Date / Birthday / Time / Money)
Image

Code:
; ListEx::AddItem()                 - similar to 'AddGadgetItem()'
; ListEx::AddColumn()               - similar to 'AddGadgetColumn()'
; ListEx::AddComboBoxItems()        - add items to the comboboxes of the column (items seperated by #LF$)
; ListEx::CountItems()              - similar to 'CountGadgetItems()'
; ListEx::ChangeCountrySettings()   - change default settings
; ListEx::ClearComboBoxItems()      - clear items of the comboboxes of the column
; ListEx::ClearItems()              - similar to 'ClearGadgetItems()'
; ListEx::DisableEditing()          - disable editing for the complete list
; ListEx::DisableReDraw()           - disable redraw
; ListEx::EventColumn()             - column of event (Event: ListEx::#Event_Module)
; ListEx::EventRow()                - row of event    (Event: ListEx::#Event_Module)
; ListEx::EventState()              - returns state   (e.g. CheckBox / DateGadget)
; ListEx::EventValue()              - returns value   (string)
; ListEx::EventID()                 - returns row ID or header label
; ListEx::Gadget()                  - [#GridLines|#NumberedColumn|#NoRowHeader]
; ListEx::GetAttribute()            - similar to 'GetGadgetAttribute()'
; ListEx::GetCellText()             - similar to 'GetGadgetItemText()' with labels
; ListEx::GetCellState()            - similar to 'GetGadgetItemState()' with labels
; ListEx::GetChangedState()         - check whether entries have been edited
; ListEx::GetColumnAttribute()      - similar to 'GetGadgetItemAttribute()'
; ListEx::GetColumnState()          - similar to 'GetGadgetItemState()' for a specific column
; ListEx::GetItemData()             - similar to 'GetGadgetItemData()'
; ListEx::GetItemID()               - similar to 'GetGadgetItemData()' but with string data
; ListEx::GetItemState()            - similar to 'GetGadgetItemState()'
; ListEx::GetItemText()             - similar to 'GetGadgetItemText()'
; ListEx::.GetState(GNum.i)         - similar to 'GetGadgetState()'
; ListEx::Refresh()                 - redraw gadget
; ListEx::RemoveColumn()            - similar to 'RemoveGadgetColumn()'
; ListEx::RemoveItem()              - similar to 'RemoveGadgetItem()'
; ListEx::ResetChangedState()       - reset to not edited
; ListEx::SetAutoResizeColumn()     - column that is reduced when the vertical scrollbar is displayed.
; ListEx::SetAutoResizeFlags()      - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]
; ListEx::SetCellState()            - similar to 'SetGadgetItemState()' with labels
; ListEx::SetCellText()             - similar to 'SetGadgetItemText()' with labels
; ListEx::SetColor()                - similar to 'SetGadgetColor()'
; ListEx::SetColorTheme()           - change the color theme
; ListEx::SetColumnAttribute()      - [#Align/#Width/#Font]
; ListEx::SetColumnState()          - similar to 'SetGadgetItemState()' for a specific column
; ListEx::SetDateMask()             - similar to 'SetGadgetText()' and 'DateGadget()'
; ListEx::SetDateAttribute()        - similar to 'SetGadgetAttribute()' and 'DateGadget()'
; ListEx::SetFont()                 - similar to 'SetGadgetFont()'
; ListEx::SetHeaderAttribute()      - [#Align]
; ListEx::SetHeaderSort()           - enable sort by header column [#Sort_Ascending|#Sort_Descending|#Sort_NoCase|#Sort_SwitchDirection]
; ListEx::SetItemAttribute()        - similar to 'SetGadgetItemAttribute()'
; ListEx::SetItemColor()            - similar to 'SetGadgetItemColor()'
; ListEx::SetItemData()             - similar to 'SetGadgetItemData()'
; ListEx::SetItemFont()             - change font of row or header [#Header]
; ListEx::SetItemID()               - similar to 'SetGadgetItemData()' but with string data
; ListEx::SetItemImage( )           - add a image at row/column
; ListEx::SetItemState()            - similar to 'SetGadgetItemState()'
; ListEx::SetItemText()             - similar to 'SetGadgetItemText()'
; ListEx::SetProgressBarAttribute() - set minimum or maximum value for progress bars
; ListEx::SetProgressBarFlags()     - set flags for progressbar (#ShowPercent)
; ListEx::SetRowsHeight()           - change height of rows
; ListEx::SetTimeMask()             - change mask for time (sorting)
; ListEx::Sort()                    - sort rows by column [#SortString|#SortNumber|#SortFloat|#SortDate|#SortBirthday|#SortTime|#SortCash / #Deutsch]

Download: ListExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Tue Aug 27, 2019 12:13 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:14 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
ProgressBarEx - Module (all OS / 64Bit / DPI)

  • change all colors (#FrontColor/#BackColor/#ProgressBarColor/#GradientColor/#BorderColor)
  • additionally display percentage at end of progress bar (#ShowPercent)
  • additionally show text in progress bar (e.g. file name)
Code:
; ProgressEx::Gadget()             - similar to ProgressBarGadget()
; ProgressEx::GetAttribute()       - similar to GetGadgetAttribute()
; ProgressEx::GetState()           - similar to GetGadgetState()
; ProgressEx::SetAutoResizeFlags() - defines the behavior of AutoResize
; ProgressEx::SetAttribute()       - similar to SetGadgetAttribute()
; ProgressEx::SetColor()           - similar to SetGadgetColor()
; ProgressEx::SetFont()            - similar to SetGadgetFont()
; ProgressEx::SetState()           - similar to SetGadgetState()
; ProgressEx::SetText()            - similar to SetGadgetText()

Download: ProgressBarExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:16 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
StatusBarEx - Module (all OS / 64Bit / DPI)

  • Color & font changeable (also for individual fields)
  • Integration of ProgressBar / ComboBox / TextButton / ImageButton / HyperLink
  • Linking individual fields with pop-up menus
Image

Code:
; StatusBar::AddField()           - similar to 'AddStatusBarField()'
; StatusBar::AddItem()            - similar to 'AddGadgetItem()'
; StatusBar::AttachPopupMenu()    - attachs a popup menu to the field
; StatusBar::ComboBox()           - similar to 'ComboBoxGadget()'
; StatusBar::DisableRedraw()      - stops redrawing gadget
; StatusBar::EventNumber()        - returns the event number (integer)
; StatusBar::EventID()            - returns the event ID (string)
; StatusBar::EventState()         - returns the state of a statusbar gadget
; StatusBar::Free()               - similar to 'FreeStatusBar()'
; StatusBar::Gadget()             - similar to 'CreateStatusBar()'
; StatusBar::GetState()           - similar to 'GetGadgetState()'
; StatusBar::GetText()            - similar to 'GetGadgetText()'
; StatusBar::Image()              - similar to 'StatusBarImage()'
; StatusBar::ImageButton()        - similar to 'ButtonImageGadget()'
; StatusBar::HyperLink()          - similar to 'HyperLinkGadget()'
; StatusBar::Progress()           - similar to 'StatusBarProgress()'
; StatusBar::SetAttribute()       - similar to 'SetGadgetAttribute()'
; StatusBar::SetColor()           - similar to 'SetGadgetColor()'
; StatusBar::SetFont()            - similar to 'SetGadgetFont()'
; StatusBar::SetHeight()          - change statusbar height
; StatusBar::SetState()           - similar to 'SetGadgetState'
; StatusBar::SetText()            - similar to 'SetGadgetText'
; StatusBar::Text()               - similar to 'StatusBarText()'
; StatusBar::TextButton()         - similar to 'ButtonGadget()'
; StatusBar::ToolTip()            - similar to 'GadgetToolTip()'

Download: StatusBarExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:46 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:19 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
StringEx - Module (all OS / 64Bit / DPI)

  • AutoComplete function (Return key)
  • Password input with "Show-Button" (shows password only as long as button is pressed)
  • Optional button for triggering an event (e.g. delete text)
Image

Code:
; StringEx::AddButton()          - adds a button to the gadget
; StringEx::AddWords()           - add words to the autocomplete list
; StringEx::AttachPopupMenu()    - attach a popup menu to the gadget
; StringEx::Clear()              - clear gadget
; StringEx::Copy()               - copy selection to clipboard
; StringEx::Cut()                - cut selection to clipboard
; StringEx::Delete()             - delete selection
; StringEx::Free()               - similar To 'FreeGadget()'
; StringEx::GetAttribute()       - similar to 'GetGadgetAttribute()'
; StringEx::GetColor()           - similar to 'GetGadgetColor()'
; StringEx::GetText()            - similar to 'GetGadgetText()'
; StringEx::Gadget()             - similar to 'StringGadget()'
; StringEx::Paste()              - paste clipboard
; StringEx::RemoveFlag()         - removes a flag
; StringEx::SetAttribute()       - similar to 'SetGadgetAttribute()'
; StringEx::SetAutoResizeFlags() - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]
; StringEx::SetColor()           - similar to 'SetGadgetColor()'
; StringEx::SetFlags()           - sets one or more flags
; StringEx::SetText()            - similar to 'SetGadgetText()'
; StringEx::Undo()               - undo last input

Download: StringExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:47 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:22 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
TextEx Gadget - Module (All OS / DPI)

  • Background with color gradient
  • Multiline text
Image

Code:
; TextEx::Gadget()             - similar to 'TextGadget()'
; TextEx::GetColor()           - similar to 'GetGadgetColor()'
; TextEx::GetText()            - similar to 'GetGadgetText()'
; TextEx::SetColor()           - similar to 'SetGadgetColor()'
; TextEx::SetFont()            - similar to 'SetGadgetFont()'
; TextEx::SetText()            - similar to 'SetGadgetText()'
; TextEx::SetAutoResizeFlags() - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]

Download: TextExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:47 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:24 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
TimeEx - Gadget Module (all OS / 64Bit / DPI)

Image

Code:
; TimeEx::GetColor() - similar to 'GetGadgetColor()'
; TimeEx::GetState() - similar to 'GetGadgetState()'
; TimeEx::GetText()  - similar to 'GetGadgetText()'
; TimeEx::Gadget()   - creates a time gadget
; TimeEx::SetColor() - similar to 'SetGadgetColor()'
; TimeEx::SetFont()  - similar to 'SetGadgetFont()'
; TimeEx::SetText()  - similar to 'SetGadgetText()'
; TimeEx::SetState() - similar to 'SetGadgetState()'

Download: TimeExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:26 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
ToolBarGadget - Module (All OS / DPI)

  • Image sizes: 16x16 / 24x24 / 32x32
  • Sends either gadget or menu events (#PB_Event_Gadget / #PB_Event_Menu)
  • Buttons can alternatively be assigned to pop-up menus.
  • Tooltips for individual buttons
  • ComoBox / SpinGadget / ButtonGadget can be added additionally
Image

Code:
; ToolBar::AddItem()              - similar to 'AddGadgetItem()'
; ToolBar::AttachPopupMenu()      - attachs a popup menu to the button
; ToolBar::ButtonText()           - similar to 'ToolBarButtonText()'
; ToolBar::ComboBox()             - adds a ComboBox to the toolbar
; ToolBar::DisableButton()        - similar to 'DisableToolBarButton()'
; ToolBar::DisableReDraw()        - disable/enable redrawing
; ToolBar::Separator()            - similar to 'ToolBarSeparator()'
; ToolBar::EventNumber()          - returns the event number (integer) of the toolbar button
; ToolBar::EventID()              - returns the event ID (string) of the toolbar button
; ToolBar::EventState()           - returns the state of a toolbar gadget (e.g. ComboBox)
; ToolBar::Free()                 - similar to 'FreeToolBar()'
; ToolBar::Gadget()               - similar to 'CreateToolBar()'
; ToolBar::GetAttribute()         - similar to 'GetGadgetAttribute()'
; ToolBar::GetIndex()             - returns item index of the corresponding event number
; ToolBar::GetIndexFromID()       - returns item index of the corresponding event ID
; ToolBar::GetGadgetNumber()      - returns the gadget number of the gadget at index position
; ToolBar::GetState()             - similar to 'GetGadgetState()'
; ToolBar::GetText()              - similar to 'GetGadgetText()'
; ToolBar::ImageButton()          - similar to 'ToolBarImageButton()'
; ToolBar::HideButton()           - hide button
; ToolBar::Height()               - similar to 'ToolBarHeight()'
; ToolBar::SetAutoResizeFlags()   - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]
; ToolBar::SetAttribute()         - similar to 'SetGadgetColor()'
; ToolBar::SetColor()             - similar to 'SetGadgetAttribute()'
; ToolBar::SetFont()              - similar to 'SetGadgetFont()'
; ToolBar::SetGadgetFlags()       - [#Top/#Bottom]
; ToolBar::SetPostEvent()         - changes PostEvent [#PB_Event_Gadget/#PB_Event_Menu]
; ToolBar::SetSpinAttribute()     - similar to 'SetGadgetAttribute()' for the SpinGadget [#PB_Spin_Minimum/#PB_Spin_Maximum]
; ToolBar::SetState()             - similar to 'SetGadgetState()'
; ToolBar::SetText()              - similar to 'SetGadgetText()'
; ToolBar::Spacer()               - inserts available space between buttons
; ToolBar::SpinBox()              - adds a SpinGadget to the toolbar
; ToolBar::ToolTip()              - similar to 'ToolBarToolTip()'
; ToolBar::TextButton()           - similar to 'ButtonGadget()'

Download: ToolBarExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:47 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:28 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
ViewerEx - Module (all OS / DPI / 64Bit)

A gadget to display content, e.g. about info, licenses, hints, help, etc.

  • texts with WordWrap or automatic hyphenation
  • lists, URLs & internal links
  • headings with automatic numbering
  • images
Image

Code:
;  ViewerEx::ClearContent()       - clear gadget content
;  ViewerEx::EventValue()         - return string value for the event (e.g. URL)
;  ViewerEx::Gadget()             - new gadget
;  ViewerEx::Load()               - load contents for the gadget from a file
;  ViewerEx::SetAutoResizeFlags() - automatically adjust gadget to window size.
;  ViewerEx::SetContent()         - select or change content using its label
;  ViewerEx::SetHeadingOffset()   - offset for numbering headings
;  ----- #Enable_AddViewerContent & #Enable_CreateViewerContent -----
;  ViewerEx::UseFont()    - specify the character set to be used.
;  ViewerEx::UseImage()   - specify images to be used
;  ViewerEx::UsePattern() - set hyphenation patterns to be used
;  ----- #Enable_AddViewerContent (add content directly) -----
;  ViewerEx::AddHeading()      - insert numbered headline into gadget
;  ViewerEx::AddImage()        - insert image into gadget
;  ViewerEx::AddLink()         - insert internal link into gadget
;  ViewerEx::AddListing()      - insert a listing with bullets
;  ViewerEx::AddSpacing()      - insert space between the items
;  ViewerEx::AddText()         - insert text into gadget
;  ViewerEx::AddURL()          - insert URL into gadget
;  ViewerEx::DefineHeading()   - define the appearance of headings
;  ViewerEx::DefineStyle()     - define the appearance of texts
;  ViewerEx::DisableReDraw()   - temporarily disable content redrawing
;  ViewerEx::Save()            - save the current content of the gadget with all required resources
;  ViewerEx::SetHyphenation()  - activate hyphenation for the corresponding language (pattern).
;  ViewerEx::SetMargin()       - define page margins
;  ----- #Enable_CreateViewerContent -----
;  ViewerEx::Create()            - create a new page with content under this label.
;  ViewerEx::Close()             - close the page with the corresponding label.
;  ViewerEx::CopyContent()       - copy generated content into a ViewerEx - Gadget.
;  ViewerEx::Export()            - export generated pages with content and save them with all resources in one file.
;  ViewerEx::Heading()           - add a numbered heading.
;  ViewerEx::HeadingDefinition() - defining the appearance of headings.
;  ViewerEx::Hyphenation()       - activate hyphenation for the corresponding language (pattern).
;  ViewerEx::Image()             - add a image.
;  ViewerEx::Link()              - add a internal link.
;  ViewerEx::Listing()           - add a listing with bullets
;  ViewerEx::Margin()            - define page margins.
;  ViewerEx::Spacing()           - add space between items.
;  ViewerEx::StyleDefinition()   - define the appearance of texts.
;  ViewerEx::Text()              - add text.
;  ViewerEx::URL()               - add a URL.

Download: ViewerEx.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:47 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:31 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
Application Registry - Module (all OS / 64Bit)

The application is comparable with the Windows Registry, just for your own program.
You can store a lot of program internal data there and reuse it at the next program start (e.g. status of a ComboBox or the last used path for the OpenFileRequester()).

Code:
; AppReg::Remove()     - remove this application registry
; AppReg::Delete()     - deletes a 'Name' or a 'HKey'
; AppReg::GetFloat()   - returns the value as float
; AppReg::GetInfo()    - returns infos about the application (AppName/Publisher/Date of modification)
; AppReg::GetInteger() - returns the value as integer
; AppReg::GetValue()   - returns the value as string
; AppReg::SetFloat()   - store a float number
; AppReg::SetInteger() - store an integer number
; AppReg::SetValue()   - store a string
; AppReg::Open()       - open new or existing Application Registry
; AppReg::Close()      - close Application Registry and save it to file

Download: ApplicationRegistryModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:32 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
DrawVectorEx - Module (all OS / 64Bit / DPI)

Simplified use of the VectorDrawing library

Image
Code:
; Draw::AlphaColor_()   - similar to RGBA()
; Draw::Box_()          - similar to Box()
; Draw::Circle_()       - similar to Circle()
; Draw::CircleArc_()    - draws a arc of a circle
; Draw::CircleSector_() - draws a circle sector
; Draw::Ellipse_()      - similar to Ellipse()
; Draw::EllipseArc_()   - draws a arc of a ellipse
; Draw::Font_()         - similar to DrawingFont()
; Draw::Line_()         - similar to Line()
; Draw::HLine_()        - draws a horizontal line
; Draw::VLine_()        - draws a vertical line
; Draw::LineXY_()       - similar to LineXY()
; Draw::MixColor_()     - mixes 2 colours in a mixing ratio of 1% - 99%
; Draw::SetStroke_()    - changes the stroke width
; Draw::StartVector_()  - similar to StartVectorDrawing()
; Draw::StopVector_()   - similar to StopVectorDrawing()
; Draw::Text_()         - similar to DrawText()
; Draw::TextHeight_()   - similar to TextHeight()
; Draw::TextWidth_()    - similar to TextWidth()

Download: DrawVectorExModule.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Last edited by Thorsten1867 on Sat Jun 29, 2019 10:48 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: [Module] PureBasic V5.7x (DPI)
PostPosted: Sat Jun 29, 2019 10:37 am 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 896
Location: Germany
FileContainer - Module (all OS / 64Bit)

Merges all data files of a program into one container

  • Files are encrypted when a password is set
  • Files are unpacked only when needed and automatically moved back into the container when it is closed.
  • Resources such as images, sounds, etc. can be loaded directly from the container.
  • XML and JSON files can be read directly from and written to the container.
Code:
; Container::AddFile()       - add a new file to the container
; Container::CheckPassword() - checks if the password is correct and sets the password for opening the container
; Container::Close()         - moves all open files back to the container
; Container::Create()        - creates a new container
; Container::GetInfo()       - get container info (#Program / #Description / #Author)
; Container::GetFileInfo()   - get file info (#FileSize / #Modified)
; Container::Load()          - load directly from the container (#XML / #JSON / #Image / #Sound / #Sprite)
; Container::Open()          - opens the container (password is not required if CheckPassword() is used)
; Container::RemoveFile()    - removes a file form the container
; Container::Save()          - save directly to the container (#XML / #JSON)
; Container::UpdateFile()    - update file in container
; Container::UseFile()       - unpack a file to use it

Download: FileContainer.pbi

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

Download of PureBasic - Modules (GitHub)

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Sveinung and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye